@ksp-gonogo/sitrep-sdk 1.0.0-rc.45 → 1.0.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/README.md +48 -93
- package/dist/__generated__/command-map.d.ts +247 -2
- package/dist/__generated__/command-map.d.ts.map +1 -1
- package/dist/__generated__/command-map.js +91 -19
- package/dist/__generated__/command-map.js.map +1 -1
- package/dist/__generated__/contract.d.ts +3062 -352
- package/dist/__generated__/contract.d.ts.map +1 -1
- package/dist/__generated__/contract.js +187 -3
- package/dist/__generated__/contract.js.map +1 -1
- package/dist/__generated__/delay-roles.d.ts +2 -2
- package/dist/__generated__/delay-roles.d.ts.map +1 -1
- package/dist/__generated__/delay-roles.js +12 -0
- package/dist/__generated__/delay-roles.js.map +1 -1
- package/dist/__generated__/error-codes.d.ts +11 -11
- package/dist/__generated__/error-codes.d.ts.map +1 -1
- package/dist/__generated__/error-codes.js +12 -12
- package/dist/__generated__/error-codes.js.map +1 -1
- package/dist/__generated__/frames.d.ts +40 -4
- package/dist/__generated__/frames.d.ts.map +1 -1
- package/dist/__generated__/frames.js +20 -4
- package/dist/__generated__/frames.js.map +1 -1
- package/dist/__generated__/reckonability.d.ts +3 -1
- package/dist/__generated__/reckonability.d.ts.map +1 -1
- package/dist/__generated__/reckonability.js +1 -1
- package/dist/__generated__/reckonability.js.map +1 -1
- package/dist/__generated__/sample-kinds.d.ts +18 -2
- package/dist/__generated__/sample-kinds.d.ts.map +1 -1
- package/dist/__generated__/sample-kinds.js +18 -2
- package/dist/__generated__/sample-kinds.js.map +1 -1
- package/dist/__generated__/topic-map.d.ts +41 -17
- package/dist/__generated__/topic-map.d.ts.map +1 -1
- package/dist/__generated__/topic-map.js +16 -3
- package/dist/__generated__/topic-map.js.map +1 -1
- package/dist/__generated__/units.d.ts +247 -6
- package/dist/__generated__/units.d.ts.map +1 -1
- package/dist/__generated__/units.js +949 -76
- package/dist/__generated__/units.js.map +1 -1
- package/dist/api/command-rejection.d.ts +2 -2
- package/dist/api/command-rejection.js +1 -1
- package/dist/api/contribution-slots.d.ts +122 -21
- package/dist/api/contribution-slots.d.ts.map +1 -1
- package/dist/api/contribution-slots.js +4 -4
- package/dist/api/contribution-slots.js.map +1 -1
- package/dist/api/error-codes.d.ts +3 -2
- package/dist/api/error-codes.d.ts.map +1 -1
- package/dist/api/error-codes.js +3 -2
- package/dist/api/error-codes.js.map +1 -1
- package/dist/api/framework-reads.d.ts +2 -2
- package/dist/api/framework-reads.d.ts.map +1 -1
- package/dist/api/framework-reads.js +6 -1
- package/dist/api/framework-reads.js.map +1 -1
- package/dist/api/host.d.ts +14 -6
- package/dist/api/host.d.ts.map +1 -1
- package/dist/api/host.js.map +1 -1
- package/dist/api/index.d.ts +70 -60
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +66 -54
- package/dist/api/index.js.map +1 -1
- package/dist/api/logger-contract.d.ts +2 -1
- package/dist/api/logger-contract.d.ts.map +1 -1
- package/dist/api/logger.d.ts +6 -3
- package/dist/api/logger.d.ts.map +1 -1
- package/dist/api/logger.js +6 -3
- package/dist/api/logger.js.map +1 -1
- package/dist/api/part-panels.d.ts +143 -0
- package/dist/api/part-panels.d.ts.map +1 -0
- package/dist/api/part-panels.js +104 -0
- package/dist/api/part-panels.js.map +1 -0
- package/dist/api/plot-layers.d.ts +1 -1
- package/dist/api/plot-layers.js +1 -1
- package/dist/api/registry.d.ts +4 -2
- package/dist/api/registry.d.ts.map +1 -1
- package/dist/api/registry.js +4 -2
- package/dist/api/registry.js.map +1 -1
- package/dist/api/settings/store.d.ts +1 -1
- package/dist/api/settings/store.d.ts.map +1 -1
- package/dist/api/settings/store.js +7 -2
- package/dist/api/settings/store.js.map +1 -1
- package/dist/api/slots.d.ts +150 -70
- package/dist/api/slots.d.ts.map +1 -1
- package/dist/api/station-brokers.d.ts +24 -15
- package/dist/api/station-brokers.d.ts.map +1 -1
- package/dist/api/station-brokers.js +24 -15
- package/dist/api/station-brokers.js.map +1 -1
- package/dist/api/tiny-size.d.ts +2 -1
- package/dist/api/tiny-size.d.ts.map +1 -1
- package/dist/api/tiny-size.js +2 -1
- package/dist/api/tiny-size.js.map +1 -1
- package/dist/api/tone.d.ts +1 -1
- package/dist/api/transport.d.ts +9 -0
- package/dist/api/transport.d.ts.map +1 -1
- package/dist/api/types.d.ts +356 -68
- package/dist/api/types.d.ts.map +1 -1
- package/dist/api/uplink-banner.d.ts +113 -0
- package/dist/api/uplink-banner.d.ts.map +1 -0
- package/dist/api/uplink-banner.js +69 -0
- package/dist/api/uplink-banner.js.map +1 -0
- package/dist/api/uplink-handles.d.ts +2 -12
- package/dist/api/uplink-handles.d.ts.map +1 -1
- package/dist/api/uplink-handles.js +2 -1
- package/dist/api/uplink-handles.js.map +1 -1
- package/dist/binary-frame.d.ts +4 -4
- package/dist/binary-frame.js +2 -2
- package/dist/combine-readings.d.ts +4 -3
- package/dist/combine-readings.d.ts.map +1 -1
- package/dist/combine-readings.js +4 -3
- package/dist/combine-readings.js.map +1 -1
- package/dist/command-delay.d.ts +81 -2
- package/dist/command-delay.d.ts.map +1 -1
- package/dist/command-delay.js +51 -8
- package/dist/command-delay.js.map +1 -1
- package/dist/command-value.d.ts +98 -0
- package/dist/command-value.d.ts.map +1 -0
- package/dist/command-value.js +87 -0
- package/dist/command-value.js.map +1 -0
- package/dist/commands.d.ts +1 -1
- package/dist/commands.d.ts.map +1 -1
- package/dist/compat-versions.d.ts +1 -1
- package/dist/compat-versions.d.ts.map +1 -1
- package/dist/compat-versions.js +3 -3
- package/dist/compat-versions.js.map +1 -1
- package/dist/contract-enum-names.d.ts +2 -2
- package/dist/contract-enum-names.js +2 -2
- package/dist/contract-tags.d.ts +33 -2
- package/dist/contract-tags.d.ts.map +1 -1
- package/dist/contract-tags.js +54 -5
- package/dist/contract-tags.js.map +1 -1
- package/dist/data-rate.d.ts +84 -0
- package/dist/data-rate.d.ts.map +1 -0
- package/dist/data-rate.js +133 -0
- package/dist/data-rate.js.map +1 -0
- package/dist/delay-roles.d.ts +14 -1
- package/dist/delay-roles.d.ts.map +1 -1
- package/dist/delay-roles.js +5 -1
- package/dist/delay-roles.js.map +1 -1
- package/dist/dock-markers.d.ts +126 -0
- package/dist/dock-markers.d.ts.map +1 -0
- package/dist/dock-markers.js +100 -0
- package/dist/dock-markers.js.map +1 -0
- package/dist/envelope.d.ts +2 -2
- package/dist/envelope.d.ts.map +1 -1
- package/dist/flight/types.d.ts +31 -2
- package/dist/flight/types.d.ts.map +1 -1
- package/dist/flight/types.js.map +1 -1
- package/dist/frames/index.d.ts +1 -4
- package/dist/frames/index.d.ts.map +1 -1
- package/dist/frames/index.js +0 -3
- package/dist/frames/index.js.map +1 -1
- package/dist/go-no-go-countdown.d.ts +65 -0
- package/dist/go-no-go-countdown.d.ts.map +1 -0
- package/dist/go-no-go-countdown.js +71 -0
- package/dist/go-no-go-countdown.js.map +1 -0
- package/dist/index.d.ts +13 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -4
- package/dist/index.js.map +1 -1
- package/dist/ksp-enum-names.d.ts +35 -4
- package/dist/ksp-enum-names.d.ts.map +1 -1
- package/dist/ksp-enum-names.js +31 -4
- package/dist/ksp-enum-names.js.map +1 -1
- package/dist/locked.d.ts +1 -1
- package/dist/locked.js +1 -1
- package/dist/media/delayed-playout-buffer.d.ts +29 -4
- package/dist/media/delayed-playout-buffer.d.ts.map +1 -1
- package/dist/media/delayed-playout-buffer.js +12 -5
- package/dist/media/delayed-playout-buffer.js.map +1 -1
- package/dist/media/encoded-frame-delay.d.ts +21 -16
- package/dist/media/encoded-frame-delay.d.ts.map +1 -1
- package/dist/media/encoded-frame-delay.js +21 -14
- package/dist/media/encoded-frame-delay.js.map +1 -1
- package/dist/media/frame-delay.d.ts +119 -5
- package/dist/media/frame-delay.d.ts.map +1 -1
- package/dist/media/frame-delay.js +201 -15
- package/dist/media/frame-delay.js.map +1 -1
- package/dist/media/frame-stamp-timeline.d.ts +119 -0
- package/dist/media/frame-stamp-timeline.d.ts.map +1 -0
- package/dist/media/frame-stamp-timeline.js +194 -0
- package/dist/media/frame-stamp-timeline.js.map +1 -0
- package/dist/media/index.d.ts +4 -3
- package/dist/media/index.d.ts.map +1 -1
- package/dist/media/index.js +1 -1
- package/dist/media/index.js.map +1 -1
- package/dist/media/radio-support.d.ts +8 -7
- package/dist/media/radio-support.d.ts.map +1 -1
- package/dist/media/radio-support.js +5 -6
- package/dist/media/radio-support.js.map +1 -1
- package/dist/media/worker/delay-worker-client.d.ts +27 -1
- package/dist/media/worker/delay-worker-client.d.ts.map +1 -1
- package/dist/media/worker/delay-worker-client.js +53 -5
- package/dist/media/worker/delay-worker-client.js.map +1 -1
- package/dist/media/worker/delay-worker.d.ts +45 -8
- package/dist/media/worker/delay-worker.d.ts.map +1 -1
- package/dist/media/worker/delay-worker.js +644 -56
- package/dist/media/worker/delay-worker.js.map +4 -4
- package/dist/media/worker/frame-delay-report.d.ts +25 -0
- package/dist/media/worker/frame-delay-report.d.ts.map +1 -0
- package/dist/media/worker/frame-delay-report.js +112 -0
- package/dist/media/worker/frame-delay-report.js.map +1 -0
- package/dist/media/worker/lead-limit-report.d.ts +13 -0
- package/dist/media/worker/lead-limit-report.d.ts.map +1 -0
- package/dist/media/worker/lead-limit-report.js +19 -0
- package/dist/media/worker/lead-limit-report.js.map +1 -0
- package/dist/media/worker/presentation-pacer.d.ts +70 -1
- package/dist/media/worker/presentation-pacer.d.ts.map +1 -1
- package/dist/media/worker/presentation-pacer.js +167 -9
- package/dist/media/worker/presentation-pacer.js.map +1 -1
- package/dist/media/worker/worker-delay-clock.d.ts +4 -5
- package/dist/media/worker/worker-delay-clock.d.ts.map +1 -1
- package/dist/media/worker/worker-delay-clock.js +6 -2
- package/dist/media/worker/worker-delay-clock.js.map +1 -1
- package/dist/perf/PerfBudget.d.ts +2 -2
- package/dist/perf/PerfBudget.js +2 -2
- package/dist/rail-tags.d.ts +7 -0
- package/dist/rail-tags.d.ts.map +1 -1
- package/dist/rail-tags.js.map +1 -1
- package/dist/raw-field-split.d.ts +1 -1
- package/dist/raw-field-split.js +1 -1
- package/dist/reading.d.ts +6 -6
- package/dist/reading.js +5 -5
- package/dist/reads-index.json +446 -37
- package/dist/resource-transfer.d.ts +177 -0
- package/dist/resource-transfer.d.ts.map +1 -0
- package/dist/resource-transfer.js +190 -0
- package/dist/resource-transfer.js.map +1 -0
- package/dist/runtime-topic-registry.d.ts +2 -2
- package/dist/runtime-topic-registry.d.ts.map +1 -1
- package/dist/runtime-topic-registry.js +23 -2
- package/dist/runtime-topic-registry.js.map +1 -1
- package/dist/sample-step-tracker.d.ts +17 -0
- package/dist/sample-step-tracker.d.ts.map +1 -0
- package/dist/sample-step-tracker.js +38 -0
- package/dist/sample-step-tracker.js.map +1 -0
- package/dist/sha256-fallback.d.ts +6 -0
- package/dist/sha256-fallback.d.ts.map +1 -0
- package/dist/sha256-fallback.js +68 -0
- package/dist/sha256-fallback.js.map +1 -0
- package/dist/spine/arrival-deadline.d.ts +7 -0
- package/dist/spine/arrival-deadline.d.ts.map +1 -1
- package/dist/spine/arrival-deadline.js +12 -0
- package/dist/spine/arrival-deadline.js.map +1 -1
- package/dist/spine/bound-command.d.ts +58 -0
- package/dist/spine/bound-command.d.ts.map +1 -0
- package/dist/spine/bound-command.js +162 -0
- package/dist/spine/bound-command.js.map +1 -0
- package/dist/spine/capability-lock.d.ts +6 -1
- package/dist/spine/capability-lock.d.ts.map +1 -1
- package/dist/spine/capability-lock.js +56 -5
- package/dist/spine/capability-lock.js.map +1 -1
- package/dist/spine/catalog-fallback.d.ts +28 -0
- package/dist/spine/catalog-fallback.d.ts.map +1 -0
- package/dist/spine/catalog-fallback.js +120 -0
- package/dist/spine/catalog-fallback.js.map +1 -0
- package/dist/spine/celestial-facts.d.ts.map +1 -1
- package/dist/spine/celestial-facts.js +5 -2
- package/dist/spine/celestial-facts.js.map +1 -1
- package/dist/spine/centre-commands.d.ts +84 -0
- package/dist/spine/centre-commands.d.ts.map +1 -0
- package/dist/spine/centre-commands.js +236 -0
- package/dist/spine/centre-commands.js.map +1 -0
- package/dist/spine/client-reading.js +1 -1
- package/dist/spine/client-timeline.d.ts +48 -1
- package/dist/spine/client-timeline.d.ts.map +1 -1
- package/dist/spine/client-timeline.js +151 -3
- package/dist/spine/client-timeline.js.map +1 -1
- package/dist/spine/client.d.ts +154 -4
- package/dist/spine/client.d.ts.map +1 -1
- package/dist/spine/client.js +530 -34
- package/dist/spine/client.js.map +1 -1
- package/dist/spine/command-gate.d.ts +8 -0
- package/dist/spine/command-gate.d.ts.map +1 -1
- package/dist/spine/command-gate.js +36 -3
- package/dist/spine/command-gate.js.map +1 -1
- package/dist/spine/command-outcomes.d.ts +60 -0
- package/dist/spine/command-outcomes.d.ts.map +1 -0
- package/dist/spine/command-outcomes.js +256 -0
- package/dist/spine/command-outcomes.js.map +1 -0
- package/dist/spine/connectivity-history.d.ts +5 -3
- package/dist/spine/connectivity-history.d.ts.map +1 -1
- package/dist/spine/connectivity-history.js.map +1 -1
- package/dist/spine/context.d.ts +62 -11
- package/dist/spine/context.d.ts.map +1 -1
- package/dist/spine/context.js +125 -39
- package/dist/spine/context.js.map +1 -1
- package/dist/spine/core-reckoners.d.ts.map +1 -1
- package/dist/spine/core-reckoners.js +16 -39
- package/dist/spine/core-reckoners.js.map +1 -1
- package/dist/spine/delay-authority-context.d.ts +5 -0
- package/dist/spine/delay-authority-context.d.ts.map +1 -0
- package/dist/spine/delay-authority-context.js +7 -0
- package/dist/spine/delay-authority-context.js.map +1 -0
- package/dist/spine/delay-authority.d.ts +76 -1
- package/dist/spine/delay-authority.d.ts.map +1 -1
- package/dist/spine/delay-authority.js +217 -3
- package/dist/spine/delay-authority.js.map +1 -1
- package/dist/spine/delay-estimate.d.ts +41 -0
- package/dist/spine/delay-estimate.d.ts.map +1 -0
- package/dist/spine/delay-estimate.js +70 -0
- package/dist/spine/delay-estimate.js.map +1 -0
- package/dist/spine/delta-v-budget.js +2 -2
- package/dist/spine/delta-v-budget.js.map +1 -1
- package/dist/spine/dv-stage-resources.d.ts +32 -17
- package/dist/spine/dv-stage-resources.d.ts.map +1 -1
- package/dist/spine/dv-stage-resources.js +44 -37
- package/dist/spine/dv-stage-resources.js.map +1 -1
- package/dist/spine/index.d.ts +7 -1
- package/dist/spine/index.d.ts.map +1 -1
- package/dist/spine/index.js +11 -5
- package/dist/spine/index.js.map +1 -1
- package/dist/spine/kepler-reckoning.d.ts +56 -0
- package/dist/spine/kepler-reckoning.d.ts.map +1 -1
- package/dist/spine/kepler-reckoning.js +179 -3
- package/dist/spine/kepler-reckoning.js.map +1 -1
- package/dist/spine/kepler.d.ts +1 -1
- package/dist/spine/kepler.js +1 -1
- package/dist/spine/known-holds.d.ts +8 -0
- package/dist/spine/known-holds.d.ts.map +1 -0
- package/dist/spine/known-holds.js +78 -0
- package/dist/spine/known-holds.js.map +1 -0
- package/dist/spine/lagrange.d.ts +9 -34
- package/dist/spine/lagrange.d.ts.map +1 -1
- package/dist/spine/lagrange.js +4 -24
- package/dist/spine/lagrange.js.map +1 -1
- package/dist/spine/lifecycle.d.ts +21 -0
- package/dist/spine/lifecycle.d.ts.map +1 -1
- package/dist/spine/lifecycle.js.map +1 -1
- package/dist/spine/lock-scope.d.ts +2 -2
- package/dist/spine/map-topic.d.ts +3 -3
- package/dist/spine/map-topic.js +3 -3
- package/dist/spine/never-reckonable.js +1 -1
- package/dist/spine/never-reckonable.js.map +1 -1
- package/dist/spine/orbit-patches.d.ts +6 -4
- package/dist/spine/orbit-patches.d.ts.map +1 -1
- package/dist/spine/orbit-patches.js +45 -10
- package/dist/spine/orbit-patches.js.map +1 -1
- package/dist/spine/orbital-solve.d.ts +1 -1
- package/dist/spine/orbital-solve.d.ts.map +1 -1
- package/dist/spine/orbital-solve.js +35 -0
- package/dist/spine/orbital-solve.js.map +1 -1
- package/dist/spine/powered-reckoning.d.ts +5 -0
- package/dist/spine/powered-reckoning.d.ts.map +1 -1
- package/dist/spine/powered-reckoning.js.map +1 -1
- package/dist/spine/processorEvaluator.d.ts +29 -0
- package/dist/spine/processorEvaluator.d.ts.map +1 -1
- package/dist/spine/processorEvaluator.js +94 -71
- package/dist/spine/processorEvaluator.js.map +1 -1
- package/dist/spine/processors.d.ts +56 -4
- package/dist/spine/processors.d.ts.map +1 -1
- package/dist/spine/processors.js +110 -0
- package/dist/spine/processors.js.map +1 -1
- package/dist/spine/rail-registry.d.ts +1 -1
- package/dist/spine/rail-registry.d.ts.map +1 -1
- package/dist/spine/reckoner-generation.d.ts +5 -0
- package/dist/spine/reckoner-generation.d.ts.map +1 -0
- package/dist/spine/reckoner-generation.js +10 -0
- package/dist/spine/reckoner-generation.js.map +1 -0
- package/dist/spine/reckoners.d.ts.map +1 -1
- package/dist/spine/reckoners.js +3 -0
- package/dist/spine/reckoners.js.map +1 -1
- package/dist/spine/replay-session-controller.d.ts +1 -1
- package/dist/spine/replay-session-controller.d.ts.map +1 -1
- package/dist/spine/replay-session-controller.js +4 -6
- package/dist/spine/replay-session-controller.js.map +1 -1
- package/dist/spine/resolve-tracked.d.ts +20 -2
- package/dist/spine/resolve-tracked.d.ts.map +1 -1
- package/dist/spine/resolve-tracked.js +32 -2
- package/dist/spine/resolve-tracked.js.map +1 -1
- package/dist/spine/send-status.d.ts +2 -0
- package/dist/spine/send-status.d.ts.map +1 -1
- package/dist/spine/send-status.js.map +1 -1
- package/dist/spine/settings-registry.d.ts +7 -0
- package/dist/spine/settings-registry.d.ts.map +1 -1
- package/dist/spine/settings-registry.js.map +1 -1
- package/dist/spine/slot-ids.d.ts +1 -1
- package/dist/spine/slot-ids.d.ts.map +1 -1
- package/dist/spine/slot-ids.js +6 -3
- package/dist/spine/slot-ids.js.map +1 -1
- package/dist/spine/space-center-state.d.ts +17 -9
- package/dist/spine/space-center-state.d.ts.map +1 -1
- package/dist/spine/space-center-state.js +14 -15
- package/dist/spine/space-center-state.js.map +1 -1
- package/dist/spine/stage-countdown-store.d.ts +38 -0
- package/dist/spine/stage-countdown-store.d.ts.map +1 -0
- package/dist/spine/stage-countdown-store.js +53 -0
- package/dist/spine/stage-countdown-store.js.map +1 -0
- package/dist/spine/stream-status.d.ts +3 -3
- package/dist/spine/stream-status.js +3 -3
- package/dist/spine/subscribe-read.d.ts +1 -1
- package/dist/spine/subscribe-read.js +2 -2
- package/dist/spine/system-state.d.ts +13 -13
- package/dist/spine/system-state.d.ts.map +1 -1
- package/dist/spine/system-state.js +18 -18
- package/dist/spine/system-state.js.map +1 -1
- package/dist/spine/timeline-store.d.ts +304 -113
- package/dist/spine/timeline-store.d.ts.map +1 -1
- package/dist/spine/timeline-store.js +921 -223
- package/dist/spine/timeline-store.js.map +1 -1
- package/dist/spine/uplink-clients.d.ts +32 -16
- package/dist/spine/uplink-clients.d.ts.map +1 -1
- package/dist/spine/uplink-clients.js +8 -4
- package/dist/spine/uplink-clients.js.map +1 -1
- package/dist/spine/uplink-delays.d.ts +31 -0
- package/dist/spine/uplink-delays.d.ts.map +1 -0
- package/dist/spine/uplink-delays.js +46 -0
- package/dist/spine/uplink-delays.js.map +1 -0
- package/dist/spine/uplink-health.d.ts +109 -14
- package/dist/spine/uplink-health.d.ts.map +1 -1
- package/dist/spine/uplink-health.js +21 -17
- package/dist/spine/uplink-health.js.map +1 -1
- package/dist/spine/use-action-input.d.ts.map +1 -1
- package/dist/spine/use-action-input.js +14 -9
- package/dist/spine/use-action-input.js.map +1 -1
- package/dist/spine/use-body-states.d.ts.map +1 -1
- package/dist/spine/use-body-states.js +3 -3
- package/dist/spine/use-body-states.js.map +1 -1
- package/dist/spine/use-command.d.ts +94 -31
- package/dist/spine/use-command.d.ts.map +1 -1
- package/dist/spine/use-command.js +409 -197
- package/dist/spine/use-command.js.map +1 -1
- package/dist/spine/use-last-known-path.d.ts +36 -0
- package/dist/spine/use-last-known-path.d.ts.map +1 -0
- package/dist/spine/use-last-known-path.js +46 -0
- package/dist/spine/use-last-known-path.js.map +1 -0
- package/dist/spine/use-observed-vantage.d.ts +13 -0
- package/dist/spine/use-observed-vantage.d.ts.map +1 -0
- package/dist/spine/use-observed-vantage.js +20 -0
- package/dist/spine/use-observed-vantage.js.map +1 -0
- package/dist/spine/use-orbit-trajectory.d.ts +1 -1
- package/dist/spine/use-orbit-trajectory.d.ts.map +1 -1
- package/dist/spine/use-orbit-trajectory.js +17 -3
- package/dist/spine/use-orbit-trajectory.js.map +1 -1
- package/dist/spine/use-stream-connected.d.ts +8 -0
- package/dist/spine/use-stream-connected.d.ts.map +1 -0
- package/dist/spine/use-stream-connected.js +16 -0
- package/dist/spine/use-stream-connected.js.map +1 -0
- package/dist/spine/use-stream-event.d.ts +6 -1
- package/dist/spine/use-stream-event.d.ts.map +1 -1
- package/dist/spine/use-stream-event.js +5 -1
- package/dist/spine/use-stream-event.js.map +1 -1
- package/dist/spine/use-stream.d.ts +5 -2
- package/dist/spine/use-stream.d.ts.map +1 -1
- package/dist/spine/use-stream.js +7 -4
- package/dist/spine/use-stream.js.map +1 -1
- package/dist/spine/use-telemetry.d.ts +5 -1
- package/dist/spine/use-telemetry.d.ts.map +1 -1
- package/dist/spine/use-telemetry.js.map +1 -1
- package/dist/spine/use-topic-clock.d.ts +54 -0
- package/dist/spine/use-topic-clock.d.ts.map +1 -0
- package/dist/spine/use-topic-clock.js +137 -0
- package/dist/spine/use-topic-clock.js.map +1 -0
- package/dist/spine/use-transmissions.d.ts.map +1 -1
- package/dist/spine/use-transmissions.js +9 -4
- package/dist/spine/use-transmissions.js.map +1 -1
- package/dist/spine/vantage.d.ts +6 -0
- package/dist/spine/vantage.d.ts.map +1 -1
- package/dist/spine/vantage.js +6 -0
- package/dist/spine/vantage.js.map +1 -1
- package/dist/spine/view-clock.d.ts +23 -3
- package/dist/spine/view-clock.d.ts.map +1 -1
- package/dist/spine/view-clock.js +80 -2
- package/dist/spine/view-clock.js.map +1 -1
- package/dist/testing/fake-command.d.ts +48 -0
- package/dist/testing/fake-command.d.ts.map +1 -0
- package/dist/testing/fake-command.js +63 -0
- package/dist/testing/fake-command.js.map +1 -0
- package/dist/testing/index.d.ts +5 -1
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +6 -0
- package/dist/testing/index.js.map +1 -1
- package/dist/testing/install-act-gate-stretch.d.ts +1 -2
- package/dist/testing/install-act-gate-stretch.d.ts.map +1 -1
- package/dist/testing/install-act-gate-stretch.js +1 -2
- package/dist/testing/install-act-gate-stretch.js.map +1 -1
- package/dist/testing/install-dom-stubs.d.ts +2 -5
- package/dist/testing/install-dom-stubs.d.ts.map +1 -1
- package/dist/testing/install-dom-stubs.js +2 -34
- package/dist/testing/install-dom-stubs.js.map +1 -1
- package/dist/testing/install-real-test-host.d.ts.map +1 -1
- package/dist/testing/install-real-test-host.js +7 -6
- package/dist/testing/install-real-test-host.js.map +1 -1
- package/dist/testing/recorded-uplink-banners.d.ts +49 -0
- package/dist/testing/recorded-uplink-banners.d.ts.map +1 -0
- package/dist/testing/recorded-uplink-banners.js +45 -0
- package/dist/testing/recorded-uplink-banners.js.map +1 -0
- package/dist/testing/render.d.ts +16 -3
- package/dist/testing/render.d.ts.map +1 -1
- package/dist/testing/render.js +16 -3
- package/dist/testing/render.js.map +1 -1
- package/dist/testing/stream-fixture.js +3 -3
- package/dist/testing/stream-fixture.js.map +1 -1
- package/dist/testing/stub-transport.d.ts +6 -0
- package/dist/testing/stub-transport.d.ts.map +1 -1
- package/dist/testing/stub-transport.js +3 -0
- package/dist/testing/stub-transport.js.map +1 -1
- package/dist/timeline.d.ts +2 -98
- package/dist/timeline.d.ts.map +1 -1
- package/dist/topics.d.ts +68 -28
- package/dist/topics.d.ts.map +1 -1
- package/dist/topics.js +21 -18
- package/dist/topics.js.map +1 -1
- package/dist/unit-system/index.d.ts +1 -1
- package/dist/unit-system/index.d.ts.map +1 -1
- package/dist/unit-system/index.js +1 -1
- package/dist/unit-system/index.js.map +1 -1
- package/dist/unit-system/value.d.ts +26 -5
- package/dist/unit-system/value.d.ts.map +1 -1
- package/dist/unit-system/value.js +41 -21
- package/dist/unit-system/value.js.map +1 -1
- package/dist/units.d.ts.map +1 -1
- package/dist/units.js +2 -1
- package/dist/units.js.map +1 -1
- package/dist/uplink-externals.d.ts +17 -7
- package/dist/uplink-externals.d.ts.map +1 -1
- package/dist/uplink-externals.js +17 -7
- package/dist/uplink-externals.js.map +1 -1
- package/dist/uplink-load.d.ts +3 -2
- package/dist/uplink-load.d.ts.map +1 -1
- package/dist/uplink-load.js +9 -6
- package/dist/uplink-load.js.map +1 -1
- package/dist/uplink-manifest.d.ts +8 -3
- package/dist/uplink-manifest.d.ts.map +1 -1
- package/dist/uplink-manifest.js +5 -1
- package/dist/uplink-manifest.js.map +1 -1
- package/dist/wrap-units.d.ts.map +1 -1
- package/dist/wrap-units.js +3 -2
- package/dist/wrap-units.js.map +1 -1
- package/package.json +1 -1
- package/src/__generated__/command-map.ts +215 -19
- package/src/__generated__/contract.ts +3102 -330
- package/src/__generated__/delay-roles.ts +12 -0
- package/src/__generated__/error-codes.ts +13 -13
- package/src/__generated__/frames.ts +20 -4
- package/src/__generated__/reckonability.ts +3 -1
- package/src/__generated__/sample-kinds.ts +18 -2
- package/src/__generated__/topic-map.ts +68 -19
- package/src/__generated__/units.json +958 -94
- package/src/__generated__/units.ts +949 -76
- package/src/api/command-rejection.ts +2 -2
- package/src/api/contribution-slots.ts +128 -25
- package/src/api/error-codes.ts +3 -2
- package/src/api/framework-reads.ts +6 -1
- package/src/api/host.ts +14 -6
- package/src/api/index.ts +127 -67
- package/src/api/logger-contract.ts +2 -1
- package/src/api/logger.ts +6 -3
- package/src/api/part-panels.ts +221 -0
- package/src/api/plot-layers.ts +1 -1
- package/src/api/registry.ts +4 -2
- package/src/api/settings/store.ts +7 -2
- package/src/api/slots.ts +153 -70
- package/src/api/station-brokers.ts +24 -15
- package/src/api/tiny-size.ts +2 -1
- package/src/api/tone.ts +1 -1
- package/src/api/transport.ts +13 -0
- package/src/api/types.ts +388 -68
- package/src/api/uplink-banner.ts +128 -0
- package/src/api/uplink-handles.ts +4 -1
- package/src/binary-frame.ts +4 -4
- package/src/combine-readings.ts +4 -3
- package/src/command-delay.ts +144 -11
- package/src/command-value.ts +181 -0
- package/src/compat-versions.ts +3 -3
- package/src/contract-enum-names.ts +2 -2
- package/src/contract-tags.ts +67 -5
- package/src/data-rate.ts +178 -0
- package/src/delay-roles.ts +19 -2
- package/src/dock-markers.ts +182 -0
- package/src/envelope.ts +4 -0
- package/src/flight/types.ts +31 -2
- package/src/frames/index.ts +0 -4
- package/src/go-no-go-countdown.ts +116 -0
- package/src/index.ts +64 -4
- package/src/ksp-enum-names.ts +48 -3
- package/src/locked.ts +1 -1
- package/src/media/__fixtures__/hull-after-revert.json +1506 -0
- package/src/media/delayed-playout-buffer.ts +41 -9
- package/src/media/encoded-frame-delay.ts +29 -17
- package/src/media/frame-delay.ts +328 -22
- package/src/media/frame-stamp-timeline.ts +270 -0
- package/src/media/index.ts +5 -0
- package/src/media/radio-support.ts +8 -7
- package/src/media/worker/delay-worker-client.ts +104 -6
- package/src/media/worker/delay-worker.ts +228 -27
- package/src/media/worker/frame-delay-report.ts +141 -0
- package/src/media/worker/lead-limit-report.ts +27 -0
- package/src/media/worker/presentation-pacer.ts +216 -9
- package/src/media/worker/worker-delay-clock.ts +9 -6
- package/src/perf/PerfBudget.ts +2 -2
- package/src/rail-tags.ts +8 -0
- package/src/raw-field-split.ts +1 -1
- package/src/reading.ts +6 -6
- package/src/resource-transfer.ts +352 -0
- package/src/runtime-topic-registry.ts +23 -2
- package/src/sample-step-tracker.ts +38 -0
- package/src/sha256-fallback.ts +69 -0
- package/src/spine/__fixtures__/crash/crash-eva.json +224 -0
- package/src/spine/__fixtures__/crash/crash-separated-pod-pod-root.json +144 -0
- package/src/spine/__fixtures__/crash/crash-separated-pod.json +111 -0
- package/src/spine/__fixtures__/switch/back-to-craft.jsonl +101 -0
- package/src/spine/__fixtures__/switch/late-sent-frame.jsonl +16 -0
- package/src/spine/__fixtures__/switch/linked-craft.jsonl +63 -0
- package/src/spine/__fixtures__/switch/station-trim.jsonl +229 -0
- package/src/spine/__fixtures__/switch/switch-with-scene.jsonl +110 -0
- package/src/spine/__fixtures__/switch/unlinked-craft.jsonl +46 -0
- package/src/spine/arrival-deadline.ts +15 -0
- package/src/spine/bound-command.ts +243 -0
- package/src/spine/capability-lock.ts +65 -6
- package/src/spine/catalog-fallback.ts +152 -0
- package/src/spine/celestial-facts.ts +4 -2
- package/src/spine/centre-commands.ts +314 -0
- package/src/spine/client-reading.ts +1 -1
- package/src/spine/client-timeline.ts +165 -4
- package/src/spine/client.ts +615 -32
- package/src/spine/command-gate.ts +44 -3
- package/src/spine/command-outcomes.ts +303 -0
- package/src/spine/connectivity-history.ts +5 -3
- package/src/spine/context.tsx +154 -50
- package/src/spine/core-reckoners.ts +31 -50
- package/src/spine/delay-authority-context.ts +9 -0
- package/src/spine/delay-authority.ts +227 -3
- package/src/spine/delay-estimate.ts +88 -0
- package/src/spine/delta-v-budget.ts +2 -2
- package/src/spine/dv-stage-resources.ts +55 -43
- package/src/spine/index.ts +11 -5
- package/src/spine/kepler-reckoning.ts +245 -3
- package/src/spine/kepler.ts +1 -1
- package/src/spine/known-holds.ts +96 -0
- package/src/spine/lagrange.ts +10 -46
- package/src/spine/lifecycle.ts +22 -0
- package/src/spine/lock-scope.ts +2 -2
- package/src/spine/map-topic.ts +3 -3
- package/src/spine/never-reckonable.ts +1 -1
- package/src/spine/orbit-patches.ts +54 -10
- package/src/spine/orbital-solve.ts +53 -1
- package/src/spine/powered-reckoning.ts +5 -1
- package/src/spine/processorEvaluator.ts +106 -72
- package/src/spine/processors.ts +144 -4
- package/src/spine/rail-registry.ts +1 -1
- package/src/spine/reckoner-generation.ts +11 -0
- package/src/spine/reckoners.ts +3 -0
- package/src/spine/replay-session-controller.ts +4 -6
- package/src/spine/resolve-tracked.ts +50 -1
- package/src/spine/send-status.ts +2 -0
- package/src/spine/settings-registry.ts +7 -0
- package/src/spine/slot-ids.ts +6 -3
- package/src/spine/space-center-state.ts +17 -20
- package/src/spine/stage-countdown-store.ts +76 -0
- package/src/spine/stream-status.ts +4 -4
- package/src/spine/subscribe-read.ts +2 -2
- package/src/spine/system-state.ts +19 -21
- package/src/spine/timeline-store.ts +1119 -247
- package/src/spine/uplink-clients.ts +44 -22
- package/src/spine/uplink-delays.ts +57 -0
- package/src/spine/uplink-health.ts +59 -27
- package/src/spine/use-action-input.ts +13 -9
- package/src/spine/use-body-states.ts +5 -4
- package/src/spine/use-command.ts +620 -239
- package/src/spine/use-last-known-path.ts +75 -0
- package/src/spine/use-observed-vantage.ts +24 -0
- package/src/spine/use-orbit-trajectory.ts +22 -3
- package/src/spine/use-stream-connected.ts +23 -0
- package/src/spine/use-stream-event.ts +6 -2
- package/src/spine/use-stream.ts +7 -4
- package/src/spine/use-telemetry.ts +5 -1
- package/src/spine/use-topic-clock.ts +196 -0
- package/src/spine/use-transmissions.ts +37 -18
- package/src/spine/vantage.ts +7 -0
- package/src/spine/view-clock.ts +89 -3
- package/src/testing/fake-command.ts +109 -0
- package/src/testing/index.ts +12 -1
- package/src/testing/install-act-gate-stretch.ts +1 -2
- package/src/testing/install-dom-stubs.ts +2 -38
- package/src/testing/install-real-test-host.ts +10 -6
- package/src/testing/recorded-uplink-banners.ts +71 -0
- package/src/testing/render.tsx +16 -3
- package/src/testing/stream-fixture.tsx +3 -3
- package/src/testing/stub-transport.ts +9 -0
- package/src/timeline.ts +2 -103
- package/src/topics.ts +87 -26
- package/src/unit-system/index.ts +2 -0
- package/src/unit-system/value.ts +61 -21
- package/src/units.ts +2 -1
- package/src/uplink-externals.ts +17 -7
- package/src/uplink-load.ts +9 -8
- package/src/uplink-manifest.ts +8 -3
- package/src/wrap-units.ts +3 -9
- package/dist/spine/contributed-channels.d.ts +0 -56
- package/dist/spine/contributed-channels.d.ts.map +0 -1
- package/dist/spine/contributed-channels.js +0 -108
- package/dist/spine/contributed-channels.js.map +0 -1
- package/src/spine/contributed-channels.ts +0 -134
|
@@ -27,6 +27,14 @@ export const CENTRE_DELAY_TOPIC = "commandCentre.activeVesselDelay";
|
|
|
27
27
|
|
|
28
28
|
export const ROSTER_TOPIC = "commandCentre.roster";
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* The `vessel.identity` channel topic: which craft is active. Read by
|
|
32
|
+
* `DelayAuthority` to see a change of craft that `comms.delay` has not shown,
|
|
33
|
+
* because the new craft's delay is still on its way or the craft is out of
|
|
34
|
+
* contact.
|
|
35
|
+
*/
|
|
36
|
+
export const IDENTITY_TOPIC = "vessel.identity";
|
|
37
|
+
|
|
30
38
|
/**
|
|
31
39
|
* What `DelayAuthority` needs of a client: Topic subscription, and the vantage
|
|
32
40
|
* the session stands at, which picks which command centre's delay applies.
|
|
@@ -126,6 +134,47 @@ export function readOneWaySeconds(payload: unknown): number | null {
|
|
|
126
134
|
return readSeconds(delay.oneWaySeconds);
|
|
127
135
|
}
|
|
128
136
|
|
|
137
|
+
/** The `vesselId` a `vessel.identity` payload names, or `null` for one that names none, such as a withdrawn reading. */
|
|
138
|
+
function readIdentityCraft(payload: unknown): string | null {
|
|
139
|
+
if (typeof payload !== "object" || payload === null) return null;
|
|
140
|
+
const id = "vesselId" in payload ? payload.vesselId : undefined;
|
|
141
|
+
return typeof id === "string" && id !== "" ? id : null;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/** The craft a payload describes, from its `meta.source`, or `null` where it names none (the session, or no stamp). */
|
|
145
|
+
function readPayloadCraft(payload: unknown): string | null {
|
|
146
|
+
if (!payload || typeof payload !== "object") return null;
|
|
147
|
+
const source = (payload as { meta?: { source?: unknown } }).meta?.source;
|
|
148
|
+
return typeof source === "string" && source.startsWith("vessel:")
|
|
149
|
+
? source
|
|
150
|
+
: null;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* What {@link DelayAuthority.delaySeconds} reads while the delay to the active
|
|
155
|
+
* craft is not known, after a change of craft and before the new craft's delay
|
|
156
|
+
* arrives. The view clock puts its confirmed edge at negative infinity for it,
|
|
157
|
+
* so telemetry and video stay where they were instead of running live or on the
|
|
158
|
+
* previous craft's figure.
|
|
159
|
+
*/
|
|
160
|
+
const UNKNOWN_DELAY = Number.POSITIVE_INFINITY;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Whether a `comms.delay` payload names a craft and reports, as a null, that
|
|
164
|
+
* there is no path home to it. The mod delivers such a craft's readings at the
|
|
165
|
+
* instant they are made, with no signal in flight, so there is nothing for the
|
|
166
|
+
* view to wait for; a malformed payload or one naming no craft is not this.
|
|
167
|
+
*/
|
|
168
|
+
function reportsNoPathHome(payload: unknown): boolean {
|
|
169
|
+
return (
|
|
170
|
+
readPayloadCraft(payload) !== null &&
|
|
171
|
+
typeof payload === "object" &&
|
|
172
|
+
payload !== null &&
|
|
173
|
+
"oneWaySeconds" in payload &&
|
|
174
|
+
payload.oneWaySeconds === null
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
|
|
129
178
|
/**
|
|
130
179
|
* Holds the one-way delay between this session's command centre and the vessel,
|
|
131
180
|
* which times the frames the operator sees, and exposes it as `delaySeconds()`
|
|
@@ -166,6 +215,25 @@ export class DelayAuthority {
|
|
|
166
215
|
* the same standard every other readout on this wire is held to.
|
|
167
216
|
*/
|
|
168
217
|
private oneWaySeconds = 0;
|
|
218
|
+
/** Whether {@link oneWaySeconds} is a stand-in for a delay nobody has measured yet, rather than a measurement. */
|
|
219
|
+
private standIn = true;
|
|
220
|
+
private figureGeneration = 0;
|
|
221
|
+
/**
|
|
222
|
+
* The figure the latest `comms.delay` reported for the active craft, with no
|
|
223
|
+
* hold: `null` before any figure, after a report with none, and after a
|
|
224
|
+
* change of craft until the new craft's figure arrives.
|
|
225
|
+
*/
|
|
226
|
+
private reportedSeconds: number | null = null;
|
|
227
|
+
/** The instant the held one-way figure was measured at, so an older figure replayed after a newer one cannot replace it. */
|
|
228
|
+
private heldFigureValidAt = Number.NEGATIVE_INFINITY;
|
|
229
|
+
/** The craft the held delays were measured for, once a payload has named one. */
|
|
230
|
+
private measuredCraft: string | undefined;
|
|
231
|
+
/** The craft `vessel.identity` last named. */
|
|
232
|
+
private identityCraft: string | undefined;
|
|
233
|
+
/** Whether `vessel.identity` has been withdrawn since it last named a craft. */
|
|
234
|
+
private identityWithdrawn = false;
|
|
235
|
+
/** Whether `comms.delay` has already moved to another craft since `vessel.identity` last changed. */
|
|
236
|
+
private delayMovedCraft = false;
|
|
169
237
|
private ownCraftVantage = false;
|
|
170
238
|
private centreDelays: ReadonlyMap<string, number> = new Map();
|
|
171
239
|
/** Each centre's own delay as last listed, kept after its row goes. */
|
|
@@ -210,9 +278,107 @@ export class DelayAuthority {
|
|
|
210
278
|
* still sets 0 like any other reading.
|
|
211
279
|
*/
|
|
212
280
|
observe(payload: unknown): void {
|
|
281
|
+
this.forgetOtherCraft(payload);
|
|
213
282
|
const reported = readOneWaySeconds(payload);
|
|
214
|
-
|
|
215
|
-
|
|
283
|
+
this.reportedSeconds = reported;
|
|
284
|
+
if (reported === null) {
|
|
285
|
+
if (this.oneWaySeconds === UNKNOWN_DELAY && reportsNoPathHome(payload)) {
|
|
286
|
+
this.oneWaySeconds = 0;
|
|
287
|
+
this.standIn = true;
|
|
288
|
+
}
|
|
289
|
+
return;
|
|
290
|
+
}
|
|
291
|
+
this.takeFigure(reported);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/*
|
|
295
|
+
* A real zero is a measurement. Any other figure only counts once it
|
|
296
|
+
* reaches the delay the view is held back by, which {@link delayEpoch}
|
|
297
|
+
* watches.
|
|
298
|
+
*/
|
|
299
|
+
private takeFigure(seconds: number): void {
|
|
300
|
+
if (seconds === 0) this.standIn = false;
|
|
301
|
+
this.oneWaySeconds = seconds;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Feed one `comms.delay` frame of the active craft's history, in whatever
|
|
306
|
+
* order it arrives, so the last measured one-way delay is held even when the
|
|
307
|
+
* newest frame reports none. Useful for a screen that joins during a
|
|
308
|
+
* blackout and is handed the delay's recent frames after the fact, where the
|
|
309
|
+
* newest only says there is no path home. Used by `TelemetryProvider`, for
|
|
310
|
+
* every `comms.delay` frame its client receives.
|
|
311
|
+
*
|
|
312
|
+
* A frame measured earlier than the figure already held is ignored, and a
|
|
313
|
+
* frame that reports no delay changes nothing.
|
|
314
|
+
*/
|
|
315
|
+
observeFigure(payload: unknown, validAt: number): void {
|
|
316
|
+
const reported = readOneWaySeconds(payload);
|
|
317
|
+
if (reported === null || !(validAt >= this.heldFigureValidAt)) return;
|
|
318
|
+
const craft = readPayloadCraft(payload);
|
|
319
|
+
if (
|
|
320
|
+
craft !== null &&
|
|
321
|
+
this.measuredCraft !== undefined &&
|
|
322
|
+
craft !== this.measuredCraft
|
|
323
|
+
) {
|
|
324
|
+
return;
|
|
325
|
+
}
|
|
326
|
+
this.heldFigureValidAt = validAt;
|
|
327
|
+
this.takeFigure(reported);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/*
|
|
331
|
+
* A delay held through a blackout belongs to the craft that was measured. A
|
|
332
|
+
* payload about a different craft starts from nothing, so a craft with no
|
|
333
|
+
* path is not timed by the delay of the one before it.
|
|
334
|
+
*/
|
|
335
|
+
private forgetOtherCraft(payload: unknown): void {
|
|
336
|
+
const craft = readPayloadCraft(payload);
|
|
337
|
+
if (craft === null) return;
|
|
338
|
+
const previous = this.measuredCraft;
|
|
339
|
+
this.measuredCraft = craft;
|
|
340
|
+
if (previous === undefined || previous === craft) return;
|
|
341
|
+
this.delayMovedCraft = true;
|
|
342
|
+
this.forgetCraft();
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
private forgetCraft(): void {
|
|
346
|
+
this.oneWaySeconds = UNKNOWN_DELAY;
|
|
347
|
+
this.standIn = false;
|
|
348
|
+
this.heldFigureValidAt = Number.NEGATIVE_INFINITY;
|
|
349
|
+
this.reportedSeconds = null;
|
|
350
|
+
this.centreDelays = new Map();
|
|
351
|
+
this.lastCentreDelays.clear();
|
|
352
|
+
this.routeDelays = new Map();
|
|
353
|
+
this.lastLiveRouteDelays.clear();
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* Feed one `vessel.identity` payload. A change to another craft forgets every
|
|
358
|
+
* delay held for the craft before it, as a `comms.delay` naming another craft
|
|
359
|
+
* does, unless `comms.delay` has already moved on: the two can arrive in
|
|
360
|
+
* either order, and the new craft's own figure is not forgotten.
|
|
361
|
+
*
|
|
362
|
+
* A withdrawn identity, which the mod sends on a change of craft before the
|
|
363
|
+
* new craft has been heard and also when no craft is active, makes the
|
|
364
|
+
* command delay unknown until a craft is named again. It leaves the view
|
|
365
|
+
* clock's delay alone, since it does not say which craft, if any, is active.
|
|
366
|
+
*/
|
|
367
|
+
observeIdentity(payload: unknown): void {
|
|
368
|
+
const craft = readIdentityCraft(payload);
|
|
369
|
+
if (craft === null) {
|
|
370
|
+
if (this.identityCraft !== undefined) this.identityWithdrawn = true;
|
|
371
|
+
return;
|
|
372
|
+
}
|
|
373
|
+
this.identityWithdrawn = false;
|
|
374
|
+
const previous = this.identityCraft;
|
|
375
|
+
this.identityCraft = craft;
|
|
376
|
+
if (previous === undefined || previous === craft) return;
|
|
377
|
+
if (!this.delayMovedCraft) {
|
|
378
|
+
this.forgetCraft();
|
|
379
|
+
this.measuredCraft = undefined;
|
|
380
|
+
}
|
|
381
|
+
this.delayMovedCraft = false;
|
|
216
382
|
}
|
|
217
383
|
|
|
218
384
|
/**
|
|
@@ -311,6 +477,60 @@ export class DelayAuthority {
|
|
|
311
477
|
);
|
|
312
478
|
};
|
|
313
479
|
|
|
480
|
+
/**
|
|
481
|
+
* A count that rises each time the first measured delay replaces a stand-in
|
|
482
|
+
* zero, as when a page opens while the craft is out of contact, whichever
|
|
483
|
+
* Topic carries that delay. Pass
|
|
484
|
+
* `authority.delayEpoch` as `ViewClockOptions.delayEpoch` so the view clock
|
|
485
|
+
* starts afresh at that figure and does not hold for one delay.
|
|
486
|
+
*/
|
|
487
|
+
delayEpoch = (): number => {
|
|
488
|
+
/*
|
|
489
|
+
* A stand-in zero is a placeholder and not a delay the view was ever behind
|
|
490
|
+
* by, so the first measured delay that reaches it starts the view afresh,
|
|
491
|
+
* whichever Topic carried that delay. Held to the monotonic cursor, the
|
|
492
|
+
* view would stand still for one whole delay while the game caught up.
|
|
493
|
+
*/
|
|
494
|
+
if (this.standIn) {
|
|
495
|
+
const seconds = this.delaySeconds();
|
|
496
|
+
if (Number.isFinite(seconds) && seconds > 0) {
|
|
497
|
+
this.standIn = false;
|
|
498
|
+
this.figureGeneration++;
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
return this.figureGeneration;
|
|
502
|
+
};
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* The one-way delay a command to the active craft takes from `vantage`, or
|
|
506
|
+
* from the session's own centre when `vantage` is not given, in seconds.
|
|
507
|
+
* Useful for showing the operator how long a command to the craft being
|
|
508
|
+
* flown takes to arrive. Used by `useCommand` for every command whose target
|
|
509
|
+
* is the active craft.
|
|
510
|
+
*
|
|
511
|
+
* The same figure {@link delaySeconds} reads, without its holds: `null`
|
|
512
|
+
* where the client knows no delay. That is before any `comms.delay` figure,
|
|
513
|
+
* when the latest one reports no path, after a change of craft until the new
|
|
514
|
+
* craft's own figure arrives, and while `vessel.identity` is withdrawn. It is
|
|
515
|
+
* never the figure of a craft before the current one.
|
|
516
|
+
*/
|
|
517
|
+
commandDelaySeconds(vantage?: string): number | null {
|
|
518
|
+
if (this.identityWithdrawn) return null;
|
|
519
|
+
if (vantage === undefined && this.ownCraftVantage) return 0;
|
|
520
|
+
const centre =
|
|
521
|
+
vantage ??
|
|
522
|
+
this.vantageSource?.selectedVantage ??
|
|
523
|
+
this.vantageSource?.observedVantage;
|
|
524
|
+
if (centre !== undefined) {
|
|
525
|
+
const own =
|
|
526
|
+
this.centreDelays.get(centre) ??
|
|
527
|
+
this.lastCentreDelays.get(centre) ??
|
|
528
|
+
this.routedDelay(centre);
|
|
529
|
+
if (own !== undefined) return own;
|
|
530
|
+
}
|
|
531
|
+
return this.reportedSeconds;
|
|
532
|
+
}
|
|
533
|
+
|
|
314
534
|
private routedDelay(vantage: string): number | undefined {
|
|
315
535
|
if (this.homeCentre === undefined || vantage === this.homeCentre) {
|
|
316
536
|
return undefined;
|
|
@@ -322,7 +542,7 @@ export class DelayAuthority {
|
|
|
322
542
|
|
|
323
543
|
/**
|
|
324
544
|
* Subscribe to `comms.delay`, `commandCentre.activeVesselDelay`,
|
|
325
|
-
* `comms.route` and `
|
|
545
|
+
* `comms.route`, `commandCentre.roster` and `vessel.identity` on `client`, keeping `delaySeconds()` current, and read the session's vantage
|
|
326
546
|
* off it from then on. `TelemetryClient.subscribe` replays its sticky last
|
|
327
547
|
* value immediately, so a late-attaching authority still learns the current
|
|
328
548
|
* delay on the next delivery: no full-cycle wait. Returns the unsubscribe
|
|
@@ -342,7 +562,11 @@ export class DelayAuthority {
|
|
|
342
562
|
const detachRoster = client.subscribe(ROSTER_TOPIC, (payload) =>
|
|
343
563
|
this.observeRoster(payload),
|
|
344
564
|
);
|
|
565
|
+
const detachIdentity = client.subscribe(IDENTITY_TOPIC, (payload) =>
|
|
566
|
+
this.observeIdentity(payload),
|
|
567
|
+
);
|
|
345
568
|
return () => {
|
|
569
|
+
detachIdentity();
|
|
346
570
|
detachRoster();
|
|
347
571
|
detachRoutes();
|
|
348
572
|
detachCentres();
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
CommandCentreEntry,
|
|
3
|
+
CommsHop,
|
|
4
|
+
SystemBodies,
|
|
5
|
+
TrackingStationCatalog,
|
|
6
|
+
} from "../__generated__/contract";
|
|
7
|
+
import { CommsDelaySource } from "../__generated__/contract";
|
|
8
|
+
import type { Quantityish } from "../magnitude";
|
|
9
|
+
import { catalogRelayOrbit } from "./catalog-fallback";
|
|
10
|
+
import { deriveCelestialFacts } from "./celestial-facts";
|
|
11
|
+
import { commsDelaySecondsAt } from "./comms-delay-reckoning";
|
|
12
|
+
import { locateCommsPeer } from "./comms-path-geometry";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* How many seconds a signal takes per metre of route, as the mod measured it:
|
|
16
|
+
* the one-way delay over the length of the route `comms.path` published, or
|
|
17
|
+
* `null` when the pair gives no rate. Useful for carrying a measured light-speed
|
|
18
|
+
* scale to a craft whose own delay has not arrived. Used by the alarm host to
|
|
19
|
+
* estimate the delay to a craft just switched to.
|
|
20
|
+
*
|
|
21
|
+
* Recovering the rate from a measurement rather than dividing by the speed of
|
|
22
|
+
* light is deliberate: the mod divides by the speed of light times a career
|
|
23
|
+
* setting that is not on the wire, so only a measured delay over its measured
|
|
24
|
+
* route says what was used. A delay that is a configured zero rather than a
|
|
25
|
+
* light-time gives no rate.
|
|
26
|
+
*/
|
|
27
|
+
export function lightSecondsPerMetre(input: {
|
|
28
|
+
readonly hops: readonly CommsHop[] | undefined;
|
|
29
|
+
readonly oneWaySeconds: Quantityish | null | undefined;
|
|
30
|
+
readonly source: CommsDelaySource;
|
|
31
|
+
}): number | null {
|
|
32
|
+
if (input.source !== CommsDelaySource.SignalDelay) return null;
|
|
33
|
+
const hops = input.hops;
|
|
34
|
+
if (hops === undefined || hops.length === 0) return null;
|
|
35
|
+
let route = 0;
|
|
36
|
+
for (const hop of hops) {
|
|
37
|
+
const metres = Number(hop?.distanceMeters);
|
|
38
|
+
if (!Number.isFinite(metres)) return null;
|
|
39
|
+
route += metres;
|
|
40
|
+
}
|
|
41
|
+
const seconds = Number(input.oneWaySeconds ?? Number.NaN);
|
|
42
|
+
if (!(route > 0) || !(seconds > 0)) return null;
|
|
43
|
+
return seconds / route;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* The one-way delay to a craft the command centre has not heard from, as the
|
|
48
|
+
* straight-line separation of the home centre and the craft's catalog orbit at
|
|
49
|
+
* `atUt`, at a measured light-speed scale, in seconds, or `null` when anything
|
|
50
|
+
* it needs cannot be placed. Useful for telling the operator roughly how long a
|
|
51
|
+
* craft's first signal takes before the mod has said. Used by the alarm host.
|
|
52
|
+
*
|
|
53
|
+
* It is an estimate and nothing more: the route is taken as direct, so a craft
|
|
54
|
+
* reached by relays is under-estimated, and the home centre stands in for the
|
|
55
|
+
* centre the session is at. A real delay replaces it as soon as one arrives.
|
|
56
|
+
*/
|
|
57
|
+
export function estimateOneWayDelaySeconds(input: {
|
|
58
|
+
readonly secondsPerMetre: number;
|
|
59
|
+
readonly roster: readonly CommandCentreEntry[] | undefined;
|
|
60
|
+
readonly bodies: SystemBodies | undefined;
|
|
61
|
+
readonly catalog: TrackingStationCatalog | undefined;
|
|
62
|
+
readonly vesselId: string;
|
|
63
|
+
readonly atUt: number;
|
|
64
|
+
}): number | null {
|
|
65
|
+
const { secondsPerMetre, roster, bodies, catalog, vesselId, atUt } = input;
|
|
66
|
+
if (!(secondsPerMetre > 0)) return null;
|
|
67
|
+
const craft = catalogRelayOrbit(catalog, bodies, vesselId);
|
|
68
|
+
if (craft === undefined) return null;
|
|
69
|
+
const home = roster?.find((entry) => entry.isHome);
|
|
70
|
+
if (home?.displayName == null) return null;
|
|
71
|
+
const peer = locateCommsPeer(
|
|
72
|
+
{ id: home.displayName, isHome: true },
|
|
73
|
+
roster,
|
|
74
|
+
() => undefined,
|
|
75
|
+
);
|
|
76
|
+
if (peer === null) return null;
|
|
77
|
+
const seconds = commsDelaySecondsAt(
|
|
78
|
+
{
|
|
79
|
+
secondsPerMetre,
|
|
80
|
+
beyondFirstHopMetres: 0,
|
|
81
|
+
craft,
|
|
82
|
+
peer,
|
|
83
|
+
facts: deriveCelestialFacts(bodies?.bodies),
|
|
84
|
+
},
|
|
85
|
+
atUt,
|
|
86
|
+
);
|
|
87
|
+
return Number.isFinite(seconds) && seconds > 0 ? seconds : null;
|
|
88
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { observedAt } from "../reading";
|
|
2
|
-
import {
|
|
2
|
+
import { dynamicValue, isValue } from "../unit-system/value";
|
|
3
3
|
import type { Value } from "../value";
|
|
4
4
|
import type { ReadingState, TopicCurrency } from "./client-reading";
|
|
5
5
|
import { CORE_UPLINK_CLIENT } from "./uplink-clients";
|
|
@@ -216,7 +216,7 @@ function totalOf<Unit extends "m/s" | "s" | "count">(
|
|
|
216
216
|
unit: Unit,
|
|
217
217
|
): Value<Unit> | null {
|
|
218
218
|
const magnitude = magnitudeOrNaN(raw);
|
|
219
|
-
return Number.isFinite(magnitude) ?
|
|
219
|
+
return Number.isFinite(magnitude) ? dynamicValue(unit, magnitude) : null;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
/** The wire subset of `dv.summary` this derivation reads. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isValue } from "../unit-system/value";
|
|
2
2
|
import type { Value } from "../value";
|
|
3
|
-
import
|
|
3
|
+
import { CORE_UPLINK_CLIENT } from "./uplink-clients";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* One resource's current/max amounts on the `dv.stages` wire array (mirrors
|
|
@@ -35,41 +35,51 @@ export type ResourceAmountMap = Record<string, Value<"units">>;
|
|
|
35
35
|
/**
|
|
36
36
|
* Shared lookup behind both `dv.currentStageResource`/`dv.currentStageResourceMax`:
|
|
37
37
|
* finds the `dv.stages` entry whose `stage` field equals
|
|
38
|
-
* `vessel.structure.currentStage` and returns its raw `resources` map
|
|
39
|
-
*
|
|
38
|
+
* `vessel.structure.currentStage` and returns its raw `resources` map. With no
|
|
39
|
+
* such entry the nearest lower stage's map stands in; `{}` when there is none,
|
|
40
|
+
* or the chosen stage carries none. `dv.stages`
|
|
40
41
|
* already carries a per-STAGE resource breakdown
|
|
41
42
|
* (`Gonogo.KSP.KspHost.BuildStageResources`); this derivation exists purely to
|
|
42
43
|
* pick out the one entry the old `r.resourceCurrent[X]`/
|
|
43
44
|
* `r.resourceCurrentMax[X]` pair meant ("the currently active stage"), since a
|
|
44
45
|
* raw-field-subtopic string can't express a dynamic array lookup keyed by
|
|
45
46
|
* another topic's live value: the lookup has to happen here, in a real
|
|
46
|
-
*
|
|
47
|
+
* processor, not as a static field path in `map-topic.ts`.
|
|
47
48
|
*
|
|
48
49
|
* `undefined` while `dv.stages` or `vessel.structure` hasn't arrived
|
|
49
50
|
* (propagated from whichever input isn't whole yet); `null` when either is a
|
|
50
51
|
* confirmed tombstone. Never throws.
|
|
51
52
|
*/
|
|
52
53
|
function currentStageResources(
|
|
53
|
-
|
|
54
|
+
stagesPayload: readonly StageDeltaVWireEntry[] | null | undefined,
|
|
55
|
+
structure: VesselStructureWirePayload | null | undefined,
|
|
54
56
|
):
|
|
55
57
|
| Record<string, StageResourceWireEntry | null | undefined>
|
|
56
58
|
| null
|
|
57
59
|
| undefined {
|
|
58
|
-
|
|
59
|
-
if (
|
|
60
|
-
if (stagesPoint.payload === null) return null;
|
|
60
|
+
if (stagesPayload === undefined) return undefined;
|
|
61
|
+
if (stagesPayload === null) return null;
|
|
61
62
|
|
|
62
|
-
|
|
63
|
-
if (
|
|
64
|
-
if (structurePoint.payload === null) return null;
|
|
63
|
+
if (structure === undefined) return undefined;
|
|
64
|
+
if (structure === null) return null;
|
|
65
65
|
|
|
66
|
-
const currentStage =
|
|
66
|
+
const currentStage = structure.currentStage;
|
|
67
67
|
if (typeof currentStage !== "number") return {};
|
|
68
68
|
|
|
69
|
-
const stages = Array.isArray(
|
|
70
|
-
const
|
|
71
|
-
(s)
|
|
69
|
+
const stages = Array.isArray(stagesPayload) ? stagesPayload : [];
|
|
70
|
+
const entries = stages.filter(
|
|
71
|
+
(s): s is StageDeltaVWireEntry & { stage: number } =>
|
|
72
|
+
!!s && typeof s === "object" && typeof s.stage === "number",
|
|
72
73
|
);
|
|
74
|
+
/*
|
|
75
|
+
* A current stage with no delta-v entry (a vessel not yet staged past its
|
|
76
|
+
* last stage) holds the resources of the nearest stage below it.
|
|
77
|
+
*/
|
|
78
|
+
const match =
|
|
79
|
+
entries.find((s) => s.stage === currentStage) ??
|
|
80
|
+
entries
|
|
81
|
+
.filter((s) => s.stage < currentStage)
|
|
82
|
+
.sort((a, b) => b.stage - a.stage)[0];
|
|
73
83
|
|
|
74
84
|
return match?.resources && typeof match.resources === "object"
|
|
75
85
|
? match.resources
|
|
@@ -78,17 +88,18 @@ function currentStageResources(
|
|
|
78
88
|
|
|
79
89
|
/**
|
|
80
90
|
* The current amount of each resource in the active stage, keyed by resource
|
|
81
|
-
* name,
|
|
91
|
+
* name, worked out for the `dv.currentStageResource` Topic. Useful for showing
|
|
82
92
|
* the operator what the stage has left to burn. Used by
|
|
83
|
-
*
|
|
93
|
+
* {@link DV_CURRENT_STAGE_RESOURCE}.
|
|
84
94
|
*
|
|
85
95
|
* An entry whose `current` is not a finite number is left out, never replaced
|
|
86
96
|
* by a `0`.
|
|
87
97
|
*/
|
|
88
98
|
export function deriveCurrentStageResourceCurrent(
|
|
89
|
-
|
|
99
|
+
stages: readonly StageDeltaVWireEntry[] | null | undefined,
|
|
100
|
+
structure: VesselStructureWirePayload | null | undefined,
|
|
90
101
|
): ResourceAmountMap | null | undefined {
|
|
91
|
-
const resources = currentStageResources(
|
|
102
|
+
const resources = currentStageResources(stages, structure);
|
|
92
103
|
if (resources === undefined || resources === null) return resources;
|
|
93
104
|
|
|
94
105
|
const out: ResourceAmountMap = {};
|
|
@@ -102,17 +113,18 @@ export function deriveCurrentStageResourceCurrent(
|
|
|
102
113
|
|
|
103
114
|
/**
|
|
104
115
|
* The maximum amount of each resource in the active stage, keyed by resource
|
|
105
|
-
* name,
|
|
116
|
+
* name, worked out for the `dv.currentStageResourceMax` Topic. Useful for showing
|
|
106
117
|
* the operator how full the stage's tanks were. Used by
|
|
107
|
-
*
|
|
118
|
+
* {@link DV_CURRENT_STAGE_RESOURCE_MAX}.
|
|
108
119
|
*
|
|
109
120
|
* An entry whose `max` is not a finite number is left out, as in
|
|
110
121
|
* {@link deriveCurrentStageResourceCurrent}.
|
|
111
122
|
*/
|
|
112
123
|
export function deriveCurrentStageResourceMax(
|
|
113
|
-
|
|
124
|
+
stages: readonly StageDeltaVWireEntry[] | null | undefined,
|
|
125
|
+
structure: VesselStructureWirePayload | null | undefined,
|
|
114
126
|
): ResourceAmountMap | null | undefined {
|
|
115
|
-
const resources = currentStageResources(
|
|
127
|
+
const resources = currentStageResources(stages, structure);
|
|
116
128
|
if (resources === undefined || resources === null) return resources;
|
|
117
129
|
|
|
118
130
|
const out: ResourceAmountMap = {};
|
|
@@ -125,27 +137,27 @@ export function deriveCurrentStageResourceMax(
|
|
|
125
137
|
}
|
|
126
138
|
|
|
127
139
|
/**
|
|
128
|
-
* The
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
* Its `fields: true` exposes `dv.currentStageResource.<name>` for each
|
|
134
|
-
* resource. The channel's status is the worst across `dv.stages` and
|
|
135
|
-
* `vessel.structure`, both of which are read on every call.
|
|
140
|
+
* The processor published as `dv.currentStageResource`. Useful for showing the
|
|
141
|
+
* operator the resources of the active stage. `fields` exposes
|
|
142
|
+
* `dv.currentStageResource.<name>` for each resource. Its status is the worst
|
|
143
|
+
* across `dv.stages` and `vessel.structure`.
|
|
136
144
|
*/
|
|
137
|
-
export const
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
145
|
+
export const DV_CURRENT_STAGE_RESOURCE = CORE_UPLINK_CLIENT.registerProcessor({
|
|
146
|
+
id: "dv-current-stage-resource",
|
|
147
|
+
topic: "dv.currentStageResource",
|
|
148
|
+
fields: true,
|
|
149
|
+
deps: ["dv.stages", "vessel.structure"],
|
|
150
|
+
compute: ([stages, structure]) =>
|
|
151
|
+
deriveCurrentStageResourceCurrent(stages, structure),
|
|
152
|
+
});
|
|
144
153
|
|
|
145
|
-
|
|
146
|
-
|
|
154
|
+
/** The processor published as `dv.currentStageResourceMax`, the maximum amounts beside {@link DV_CURRENT_STAGE_RESOURCE}. */
|
|
155
|
+
export const DV_CURRENT_STAGE_RESOURCE_MAX =
|
|
156
|
+
CORE_UPLINK_CLIENT.registerProcessor({
|
|
157
|
+
id: "dv-current-stage-resource-max",
|
|
147
158
|
topic: "dv.currentStageResourceMax",
|
|
148
|
-
inputs: ["dv.stages", "vessel.structure"],
|
|
149
|
-
derive: deriveCurrentStageResourceMax,
|
|
150
159
|
fields: true,
|
|
151
|
-
|
|
160
|
+
deps: ["dv.stages", "vessel.structure"],
|
|
161
|
+
compute: ([stages, structure]) =>
|
|
162
|
+
deriveCurrentStageResourceMax(stages, structure),
|
|
163
|
+
});
|
package/src/spine/index.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// an Uplink calls, this is what the app and an Uplink's test WIRE INTO the host.
|
|
9
9
|
//
|
|
10
10
|
// The largest part of it is the read semantics of a topic. What
|
|
11
|
-
// `useTelemetry("system.state.bodyCount")` MEANS: the
|
|
11
|
+
// `useTelemetry("system.state.bodyCount")` MEANS: the published-processor path, the
|
|
12
12
|
// raw-field-subtopic fallback the legacy-key table rides on, epoch handling on a
|
|
13
13
|
// quickload rewind, and the frame-coherent memoisation that makes a re-read within
|
|
14
14
|
// one frame hand back the identical object. A widget depends on all of it while it
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
// evidence about the store, so the reimplementation is not on the table any
|
|
30
30
|
// more: this is a move, and an Uplink's tests run the code the app runs.
|
|
31
31
|
//
|
|
32
|
-
// Deliberately NOT re-exported from the root barrel.
|
|
33
|
-
//
|
|
34
|
-
//
|
|
32
|
+
// Deliberately NOT re-exported from the root barrel. Writing an Uplink needs
|
|
33
|
+
// `TimelinePoint`, which the root barrel already publishes, and nothing about
|
|
34
|
+
// it needs `TimelineStore`
|
|
35
35
|
// itself. Publishing the class would freeze 1594 lines of evolving internals as
|
|
36
36
|
// third-party API, the same trap `TelemetryClient`-as-a-value was pulled back
|
|
37
37
|
// from. A test reaches it through this subpath; the app reaches it through
|
|
@@ -51,6 +51,7 @@ export * from "../rail-tags";
|
|
|
51
51
|
export * from "./atmospheric-reckoning";
|
|
52
52
|
export * from "./body-derivations";
|
|
53
53
|
export * from "./body-pose";
|
|
54
|
+
export * from "./bound-command";
|
|
54
55
|
export * from "./capability-lock";
|
|
55
56
|
export * from "./celestial-facts";
|
|
56
57
|
export * from "./channel-error-warning";
|
|
@@ -67,13 +68,13 @@ export * from "./comms-route";
|
|
|
67
68
|
export * from "./connection-error-warning";
|
|
68
69
|
export * from "./connectivity-history";
|
|
69
70
|
export * from "./context";
|
|
70
|
-
export * from "./contributed-channels";
|
|
71
71
|
export * from "./contribution-scope";
|
|
72
72
|
export * from "./contributions";
|
|
73
73
|
export * from "./control-frame-to-read-frame";
|
|
74
74
|
export * from "./core-reckoners";
|
|
75
75
|
export * from "./dashboard-item";
|
|
76
76
|
export * from "./delay-authority";
|
|
77
|
+
export * from "./delay-estimate";
|
|
77
78
|
export * from "./delta-v-budget";
|
|
78
79
|
export * from "./dv-stage-resources";
|
|
79
80
|
export * from "./heartbeat-tracker";
|
|
@@ -111,6 +112,7 @@ export * from "./settings-registry";
|
|
|
111
112
|
export * from "./settings-tabs";
|
|
112
113
|
export { assertSizeDelta } from "./size-delta";
|
|
113
114
|
export * from "./space-center-state";
|
|
115
|
+
export * from "./stage-countdown-store";
|
|
114
116
|
export * from "./stream-status";
|
|
115
117
|
export * from "./subscribe-read";
|
|
116
118
|
export * from "./subscriber-identity";
|
|
@@ -124,7 +126,9 @@ export * from "./use-action-input";
|
|
|
124
126
|
export * from "./use-body-states";
|
|
125
127
|
export * from "./use-command";
|
|
126
128
|
export * from "./use-data-sources";
|
|
129
|
+
export * from "./use-last-known-path";
|
|
127
130
|
export * from "./use-late-telemetry-subscribe";
|
|
131
|
+
export * from "./use-observed-vantage";
|
|
128
132
|
export * from "./use-orbit-curve";
|
|
129
133
|
export * from "./use-orbit-trajectory";
|
|
130
134
|
export * from "./use-patch-chain";
|
|
@@ -133,9 +137,11 @@ export * from "./use-processor";
|
|
|
133
137
|
export * from "./use-route-commands";
|
|
134
138
|
export * from "./use-selected-vantage";
|
|
135
139
|
export * from "./use-stream";
|
|
140
|
+
export * from "./use-stream-connected";
|
|
136
141
|
export * from "./use-stream-event";
|
|
137
142
|
export * from "./use-system-instant";
|
|
138
143
|
export * from "./use-telemetry";
|
|
144
|
+
export * from "./use-topic-clock";
|
|
139
145
|
export * from "./use-transmissions";
|
|
140
146
|
export * from "./view-clock";
|
|
141
147
|
export * from "./wire-payloads";
|