@orangecharts/wrun-chart-host 0.11.1 → 0.15.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 +1 -0
- package/dist/constants/feature-flags.constants.d.ts +4 -4
- package/dist/constants/feature-flags.constants.js +38 -52
- package/dist/constants/feature-limits.constants.d.ts +1 -1
- package/dist/constants/feature-limits.constants.js +5 -4
- package/dist/constants/interval.constants.d.ts +7 -0
- package/dist/constants/interval.constants.js +7 -0
- package/dist/constants/scriptEditor/cme-official-scripts.constants.d.ts +20 -149
- package/dist/constants/scriptEditor/cme-official-scripts.constants.js +20 -309
- package/dist/constants/stocks-compliance.constants.d.ts +15 -0
- package/dist/constants/stocks-compliance.constants.js +15 -0
- package/dist/host-env.d.ts +69 -3
- package/dist/host-env.js +21 -0
- package/dist/host-ports.types.d.ts +36 -3
- package/dist/index.d.ts +18 -0
- package/dist/index.js +19 -0
- package/dist/indicators/controls/tpo-session.util.d.ts +52 -12
- package/dist/indicators/controls/tpo-session.util.js +113 -16
- package/dist/instances/script-engine-worker-ohlcv-transfer.d.ts +6 -0
- package/dist/instances/script-engine-worker-ohlcv-transfer.js +16 -0
- package/dist/interfaces/cme-realtime.interface.d.ts +8 -0
- package/dist/interfaces/cme-realtime.interface.js +2 -1
- package/dist/interfaces/feed.interface.d.ts +15 -1
- package/dist/interfaces/replay.interface.d.ts +5 -0
- package/dist/interfaces/stocks-realtime.interface.d.ts +4 -3
- package/dist/interfaces/stocks-realtime.interface.js +5 -4
- package/dist/interfaces/wrun-runtime.interface.d.ts +141 -20
- package/dist/kscript-data/controls/live-ohlcv-merge.util.d.ts +17 -0
- package/dist/kscript-data/controls/live-ohlcv-merge.util.js +22 -0
- package/dist/kscript-data/controls/live-trades-merge.util.d.ts +46 -40
- package/dist/kscript-data/controls/live-trades-merge.util.js +80 -107
- package/dist/market-data/billing.interface.d.ts +9 -1
- package/dist/market-data/venue.d.ts +1 -1
- package/dist/market-data/venues/index.d.ts +5 -5
- package/dist/market-data/venues/opra.js +3 -3
- package/dist/market-data/venues/stocks.contract.copy.json +6 -5
- package/dist/market-data/venues/stocks.d.ts +5 -5
- package/dist/market-data/venues/stocks.js +21 -18
- package/dist/settings-templates/frvp-fields.d.ts +12 -1
- package/dist/settings-templates/frvp-fields.js +15 -4
- package/dist/settings-templates/index.js +12 -5
- package/dist/settings-templates/indicator-fields.js +43 -2
- package/dist/settings-templates/tool-rules.d.ts +17 -8
- package/dist/settings-templates/tool-rules.js +15 -8
- package/dist/settings-templates/tool-tables.generated.js +4 -2
- package/dist/utility/auth/server-clock.util.d.ts +3 -1
- package/dist/utility/auth/server-clock.util.js +3 -1
- package/dist/utility/chart/book-live-bucket.util.js +2 -2
- package/dist/utility/chart/cache-alignment.util.d.ts +38 -7
- package/dist/utility/chart/cache-alignment.util.js +50 -13
- package/dist/utility/chart/chart-data-fetch-generation.util.d.ts +2 -0
- package/dist/utility/chart/chart-data-fetch-generation.util.js +16 -0
- package/dist/utility/chart/cme-session-bucket.util.d.ts +18 -75
- package/dist/utility/chart/cme-session-bucket.util.js +25 -332
- package/dist/utility/chart/continuous-contracts.util.js +6 -5
- package/dist/utility/chart/display-offset.leaf.d.ts +24 -0
- package/dist/utility/chart/display-offset.leaf.js +41 -0
- package/dist/utility/chart/effective-chart-session.util.d.ts +2 -1
- package/dist/utility/chart/effective-chart-session.util.js +13 -5
- package/dist/utility/chart/feed-interval.util.d.ts +6 -20
- package/dist/utility/chart/feed-interval.util.js +13 -22
- package/dist/utility/chart/fetch-dedupe-policy.util.d.ts +27 -7
- package/dist/utility/chart/fetch-dedupe-policy.util.js +86 -11
- package/dist/utility/chart/footprint-band.util.d.ts +21 -5
- package/dist/utility/chart/footprint-band.util.js +53 -14
- package/dist/utility/chart/host-bar-placement.util.d.ts +7 -4
- package/dist/utility/chart/host-bar-placement.util.js +8 -2
- package/dist/utility/chart/indicator-inflight-registry.util.d.ts +32 -0
- package/dist/utility/chart/indicator-inflight-registry.util.js +52 -0
- package/dist/utility/chart/indicator-run-interval.util.d.ts +10 -4
- package/dist/utility/chart/indicator-run-interval.util.js +21 -12
- package/dist/utility/chart/interval-registry.util.d.ts +1 -1
- package/dist/utility/chart/interval-registry.util.js +1 -1
- package/dist/utility/chart/kscript-legend-entries.util.d.ts +12 -0
- package/dist/utility/chart/kscript-legend-entries.util.js +16 -0
- package/dist/utility/chart/kscript-run-interval-projection.util.d.ts +1 -1
- package/dist/utility/chart/kscript-run-interval-projection.util.js +4 -2
- package/dist/utility/chart/kscript-venue-policy.util.d.ts +53 -62
- package/dist/utility/chart/kscript-venue-policy.util.js +85 -94
- package/dist/utility/chart/live-bucket.util.d.ts +39 -17
- package/dist/utility/chart/live-bucket.util.js +103 -57
- package/dist/utility/chart/local-kscript-source-revalidation.util.d.ts +58 -20
- package/dist/utility/chart/local-kscript-source-revalidation.util.js +98 -23
- package/dist/utility/chart/local-kscript-warmup-depth.util.d.ts +35 -11
- package/dist/utility/chart/local-kscript-warmup-depth.util.js +24 -3
- package/dist/utility/chart/market-session-schedule.util.d.ts +8 -0
- package/dist/utility/chart/market-session-schedule.util.js +39 -1
- package/dist/utility/chart/market-session.util.d.ts +136 -0
- package/dist/utility/chart/market-session.util.js +341 -0
- package/dist/utility/chart/om-panel.util.d.ts +5 -3
- package/dist/utility/chart/om-panel.util.js +42 -7
- package/dist/utility/chart/om-target.util.d.ts +14 -1
- package/dist/utility/chart/om-target.util.js +22 -5
- package/dist/utility/chart/opra-read-access.leaf.d.ts +16 -1
- package/dist/utility/chart/opra-read-access.leaf.js +22 -0
- package/dist/utility/chart/profile-row-height.util.d.ts +49 -16
- package/dist/utility/chart/profile-row-height.util.js +74 -37
- package/dist/utility/chart/rth-session.util.d.ts +55 -20
- package/dist/utility/chart/rth-session.util.js +94 -46
- package/dist/utility/chart/session-lattice.util.d.ts +150 -0
- package/dist/utility/chart/session-lattice.util.js +488 -0
- package/dist/utility/chart/trading-day.util.d.ts +40 -2
- package/dist/utility/chart/trading-day.util.js +84 -7
- package/dist/utility/chart/us-equities-session.util.d.ts +32 -11
- package/dist/utility/chart/us-equities-session.util.js +44 -15
- package/dist/utility/chart/window-geometry.leaf.d.ts +28 -7
- package/dist/utility/chart/window-geometry.leaf.js +57 -8
- package/dist/utility/chart/wrun-bar-session-facts.util.d.ts +21 -14
- package/dist/utility/chart/wrun-bar-session-facts.util.js +32 -38
- package/dist/utility/chart/wrun-run-result.util.d.ts +38 -13
- package/dist/utility/chart/wrun-run-result.util.js +97 -27
- package/dist/utility/common/time.util.js +5 -4
- package/dist/utility/market-events/earnings-scope.util.d.ts +10 -5
- package/dist/utility/market-events/earnings-scope.util.js +17 -9
- package/dist/utility/market-events/market-events.util.d.ts +14 -7
- package/dist/utility/market-events/market-events.util.js +30 -17
- package/dist/utility/number-format.util.d.ts +14 -21
- package/dist/utility/number-format.util.js +38 -24
- package/dist/utility/options/option-venue-disclosure.util.d.ts +40 -6
- package/dist/utility/options/option-venue-disclosure.util.js +71 -11
- package/dist/utility/options/option-venue.util.d.ts +1 -1
- package/dist/utility/options/option-venue.util.js +1 -1
- package/dist/utility/pool-symbol.leaf.d.ts +7 -0
- package/dist/utility/pool-symbol.leaf.js +50 -5
- package/dist/utility/stocks/stock-display.util.d.ts +15 -0
- package/dist/utility/stocks/stock-display.util.js +37 -0
- package/dist/utility/symbol-selection/contract-expiry.util.js +5 -4
- package/dist/utility/v2/gate-plane.util.d.ts +6 -0
- package/dist/utility/v2/gate-plane.util.js +11 -1
- package/dist/utility/v2/gate-session-latch.util.d.ts +1 -1
- package/dist/utility/v2/gate-session-latch.util.js +3 -3
- package/dist/utility/v2/governed-tier.leaf.d.ts +17 -16
- package/dist/utility/v2/governed-tier.leaf.js +17 -16
- package/dist/utility/v2/stocks-governed.util.d.ts +5 -0
- package/dist/utility/v2/stocks-governed.util.js +14 -0
- package/dist/utility/v2/v2-enums.leaf.d.ts +13 -0
- package/dist/utility/v2/v2-enums.leaf.js +458 -0
- package/dist/utility/wrun/derived-roots.leaf.d.ts +21 -1
- package/dist/utility/wrun/derived-roots.leaf.js +27 -1
- package/dist/utility/wrun/derived-roots.util.d.ts +44 -32
- package/dist/utility/wrun/derived-roots.util.js +97 -56
- package/dist/utility/wrun/run-schedule/wrun-late-reads.util.d.ts +4 -3
- package/dist/utility/wrun/run-schedule/wrun-late-reads.util.js +4 -3
- package/dist/utility/wrun/sources/lanes/option_daily.d.ts +2 -1
- package/dist/utility/wrun/sources/lanes/option_daily.js +2 -1
- package/dist/utility/wrun/sources/lanes/options_flow.d.ts +3 -0
- package/dist/utility/wrun/sources/lanes/options_flow.js +23 -5
- package/dist/utility/wrun/sources/opra-option-lanes.util.d.ts +3 -4
- package/dist/utility/wrun/sources/row-lane-registry.js +9 -4
- package/dist/utility/wrun/sources/row-lanes/dark_pool.d.ts +19 -0
- package/dist/utility/wrun/sources/row-lanes/dark_pool.js +104 -0
- package/dist/utility/wrun/sources/row-lanes/index.js +2 -0
- package/dist/utility/wrun/sources/wrun-lane-fetch-abort.util.d.ts +20 -0
- package/dist/utility/wrun/sources/wrun-lane-fetch-abort.util.js +103 -0
- package/dist/utility/wrun/sources/wrun-poll-lane.types.d.ts +19 -2
- package/dist/utility/wrun/sources/wrun-poll-lanes.util.d.ts +15 -13
- package/dist/utility/wrun/sources/wrun-poll-lanes.util.js +49 -23
- package/dist/utility/wrun/sources/wrun-row-lane.types.d.ts +14 -9
- package/dist/utility/wrun/sources/wrun-row-lanes.util.d.ts +75 -27
- package/dist/utility/wrun/sources/wrun-row-lanes.util.js +139 -82
- package/dist/utility/wrun/wrun-app-layer.leaf.d.ts +78 -0
- package/dist/utility/wrun/wrun-app-layer.leaf.js +89 -0
- package/dist/utility/wrun/wrun-bar-count.util.d.ts +11 -7
- package/dist/utility/wrun/wrun-bar-count.util.js +12 -8
- package/dist/utility/wrun/wrun-batched-kinds.leaf.d.ts +13 -0
- package/dist/utility/wrun/wrun-batched-kinds.leaf.js +18 -0
- package/dist/utility/wrun/wrun-batched-marks.util.d.ts +46 -23
- package/dist/utility/wrun/wrun-batched-marks.util.js +260 -62
- package/dist/utility/wrun/wrun-batched-readout.util.d.ts +26 -19
- package/dist/utility/wrun/wrun-batched-readout.util.js +81 -27
- package/dist/utility/wrun/wrun-book-bands.leaf.d.ts +8 -0
- package/dist/utility/wrun/wrun-book-bands.leaf.js +7 -0
- package/dist/utility/wrun/wrun-candle-equal.leaf.d.ts +19 -0
- package/dist/utility/wrun/wrun-candle-equal.leaf.js +40 -0
- package/dist/utility/wrun/wrun-canvas-readout.util.d.ts +4 -2
- package/dist/utility/wrun/wrun-canvases.util.d.ts +24 -7
- package/dist/utility/wrun/wrun-canvases.util.js +99 -30
- package/dist/utility/wrun/wrun-chart-context-names.util.d.ts +6 -3
- package/dist/utility/wrun/wrun-chart-context-names.util.js +8 -4
- package/dist/utility/wrun/wrun-chart-market-facts.util.d.ts +47 -29
- package/dist/utility/wrun/wrun-chart-market-facts.util.js +201 -201
- package/dist/utility/wrun/wrun-child-overlay-id.util.js +2 -1
- package/dist/utility/wrun/wrun-cme-legs-note.util.d.ts +15 -0
- package/dist/utility/wrun/wrun-cme-legs-note.util.js +49 -0
- package/dist/utility/wrun/wrun-cme-root-specs.util.d.ts +38 -0
- package/dist/utility/wrun/wrun-cme-root-specs.util.js +81 -0
- package/dist/utility/wrun/wrun-coin-lane-live.util.js +3 -0
- package/dist/utility/wrun/wrun-color-settings.util.d.ts +6 -1
- package/dist/utility/wrun/wrun-color-settings.util.js +32 -7
- package/dist/utility/wrun/wrun-dark-pool.util.d.ts +50 -0
- package/dist/utility/wrun/wrun-dark-pool.util.js +127 -0
- package/dist/utility/wrun/wrun-declared-warmup.util.d.ts +67 -12
- package/dist/utility/wrun/wrun-declared-warmup.util.js +165 -13
- package/dist/utility/wrun/wrun-draft-legend-note.util.d.ts +18 -8
- package/dist/utility/wrun/wrun-draft-legend-note.util.js +57 -11
- package/dist/utility/wrun/wrun-draft-overlay.util.d.ts +14 -10
- package/dist/utility/wrun/wrun-draft-overlay.util.js +26 -14
- package/dist/utility/wrun/wrun-earnings-facts.util.js +3 -2
- package/dist/utility/wrun/wrun-etf-funds.util.d.ts +2 -0
- package/dist/utility/wrun/wrun-etf-funds.util.js +4 -0
- package/dist/utility/wrun/wrun-held-lanes.util.js +8 -2
- package/dist/utility/wrun/wrun-history-as-of.util.d.ts +77 -0
- package/dist/utility/wrun/wrun-history-as-of.util.js +108 -0
- package/dist/utility/wrun/wrun-host.service.d.ts +64 -14
- package/dist/utility/wrun/wrun-host.service.js +137 -27
- package/dist/utility/wrun/wrun-hosted-wire-caps.d.ts +3 -3
- package/dist/utility/wrun/wrun-hosted-wire-caps.js +12 -2
- package/dist/utility/wrun/wrun-hover.util.d.ts +8 -2
- package/dist/utility/wrun/wrun-hover.util.js +24 -13
- package/dist/utility/wrun/wrun-inert-legend.util.d.ts +13 -0
- package/dist/utility/wrun/wrun-inert-legend.util.js +31 -3
- package/dist/utility/wrun/wrun-input-requirements.leaf.d.ts +7 -5
- package/dist/utility/wrun/wrun-input-requirements.leaf.js +16 -6
- package/dist/utility/wrun/wrun-install-pacer.util.d.ts +26 -0
- package/dist/utility/wrun/wrun-install-pacer.util.js +145 -0
- package/dist/utility/wrun/wrun-kit-refusal-stages.types.d.ts +22 -0
- package/dist/utility/wrun/wrun-kit-refusal-stages.types.js +1 -0
- package/dist/utility/wrun/wrun-lane-refusal.leaf.d.ts +12 -5
- package/dist/utility/wrun/wrun-lane-refusal.leaf.js +23 -5
- package/dist/utility/wrun/wrun-lane-warmup.util.js +22 -4
- package/dist/utility/wrun/wrun-leg-close.util.d.ts +6 -5
- package/dist/utility/wrun/wrun-leg-close.util.js +11 -9
- package/dist/utility/wrun/wrun-leg-fetch.util.d.ts +3 -1
- package/dist/utility/wrun/wrun-leg-fetch.util.js +9 -2
- package/dist/utility/wrun/wrun-levels-child.util.d.ts +2 -0
- package/dist/utility/wrun/wrun-levels-child.util.js +6 -0
- package/dist/utility/wrun/wrun-lifecycle.contract.d.ts +4 -0
- package/dist/utility/wrun/wrun-live-intake.util.d.ts +15 -6
- package/dist/utility/wrun/wrun-live-intake.util.js +167 -47
- package/dist/utility/wrun/wrun-live-tick.util.d.ts +52 -8
- package/dist/utility/wrun/wrun-live-tick.util.js +655 -97
- package/dist/utility/wrun/wrun-market-facts.util.d.ts +16 -2
- package/dist/utility/wrun/wrun-market-facts.util.js +32 -3
- package/dist/utility/wrun/wrun-market-size-defaults.leaf.d.ts +27 -27
- package/dist/utility/wrun/wrun-market-size-defaults.leaf.js +28 -16
- package/dist/utility/wrun/wrun-market-size-defaults.util.js +34 -5
- package/dist/utility/wrun/wrun-oi-lane.util.d.ts +10 -7
- package/dist/utility/wrun/wrun-oi-lane.util.js +16 -10
- package/dist/utility/wrun/wrun-option-strike-flow.util.js +1 -1
- package/dist/utility/wrun/wrun-option-views.util.d.ts +2 -2
- package/dist/utility/wrun/wrun-option-views.util.js +5 -2
- package/dist/utility/wrun/wrun-options-flow-underlying.leaf.d.ts +5 -0
- package/dist/utility/wrun/wrun-options-flow-underlying.leaf.js +16 -0
- package/dist/utility/wrun/wrun-options-stop.util.d.ts +3 -2
- package/dist/utility/wrun/wrun-options-stop.util.js +6 -4
- package/dist/utility/wrun/wrun-output-words.util.d.ts +14 -0
- package/dist/utility/wrun/wrun-output-words.util.js +51 -0
- package/dist/utility/wrun/wrun-overlay-drivers.util.d.ts +116 -11
- package/dist/utility/wrun/wrun-overlay-drivers.util.js +208 -43
- package/dist/utility/wrun/wrun-overlay-lifecycle.util.js +20 -10
- package/dist/utility/wrun/wrun-overlay-park.util.d.ts +84 -0
- package/dist/utility/wrun/wrun-overlay-park.util.js +135 -0
- package/dist/utility/wrun/wrun-overlay-recovery.util.d.ts +37 -4
- package/dist/utility/wrun/wrun-overlay-recovery.util.js +26 -14
- package/dist/utility/wrun/wrun-overlay-result.util.d.ts +6 -1
- package/dist/utility/wrun/wrun-overlay-result.util.js +2 -0
- package/dist/utility/wrun/wrun-overlay-run.util.d.ts +247 -26
- package/dist/utility/wrun/wrun-overlay-run.util.js +2234 -408
- package/dist/utility/wrun/wrun-pack.util.d.ts +8 -5
- package/dist/utility/wrun/wrun-panel-mount.util.d.ts +11 -2
- package/dist/utility/wrun/wrun-panel-mount.util.js +122 -19
- package/dist/utility/wrun/wrun-panel-style.util.d.ts +4 -2
- package/dist/utility/wrun/wrun-panel-style.util.js +3 -2
- package/dist/utility/wrun/wrun-pin-spelling.util.d.ts +7 -0
- package/dist/utility/wrun/wrun-pin-spelling.util.js +18 -4
- package/dist/utility/wrun/wrun-pin-venues.util.d.ts +26 -17
- package/dist/utility/wrun/wrun-pin-venues.util.js +43 -36
- package/dist/utility/wrun/wrun-pinned-lanes.util.d.ts +58 -0
- package/dist/utility/wrun/wrun-pinned-lanes.util.js +72 -0
- package/dist/utility/wrun/wrun-prefix-cohort.util.js +2 -1
- package/dist/utility/wrun/wrun-prefix-lanes.util.d.ts +22 -9
- package/dist/utility/wrun/wrun-prefix-lanes.util.js +145 -26
- package/dist/utility/wrun/wrun-prefix-proof.util.d.ts +29 -0
- package/dist/utility/wrun/wrun-prefix-proof.util.js +23 -5
- package/dist/utility/wrun/wrun-refusal-surface.util.d.ts +9 -1
- package/dist/utility/wrun/wrun-refusal-surface.util.js +15 -1
- package/dist/utility/wrun/wrun-refusal.util.d.ts +19 -1
- package/dist/utility/wrun/wrun-refusal.util.js +103 -16
- package/dist/utility/wrun/wrun-registry-errors.util.d.ts +20 -6
- package/dist/utility/wrun/wrun-registry-errors.util.js +20 -6
- package/dist/utility/wrun/wrun-replay-rows.util.js +6 -10
- package/dist/utility/wrun/wrun-run-health.util.d.ts +95 -5
- package/dist/utility/wrun/wrun-run-health.util.js +209 -3
- package/dist/utility/wrun/wrun-run-interval-session.util.d.ts +2 -2
- package/dist/utility/wrun/wrun-run-interval-session.util.js +2 -2
- package/dist/utility/wrun/wrun-run-interval.util.d.ts +9 -8
- package/dist/utility/wrun/wrun-run-interval.util.js +13 -11
- package/dist/utility/wrun/wrun-sandbox-row-source.js +5 -2
- package/dist/utility/wrun/wrun-script-inputs.util.d.ts +38 -11
- package/dist/utility/wrun/wrun-script-inputs.util.js +194 -56
- package/dist/utility/wrun/wrun-session-composition.util.d.ts +81 -0
- package/dist/utility/wrun/wrun-session-composition.util.js +169 -0
- package/dist/utility/wrun/wrun-setting-words.util.d.ts +10 -7
- package/dist/utility/wrun/wrun-setting-words.util.js +25 -7
- package/dist/utility/wrun/wrun-source-rows.util.d.ts +94 -28
- package/dist/utility/wrun/wrun-source-rows.util.js +738 -93
- package/dist/utility/wrun/wrun-stream-clock.util.d.ts +45 -0
- package/dist/utility/wrun/wrun-stream-clock.util.js +108 -0
- package/dist/utility/wrun/wrun-style-names.util.d.ts +23 -0
- package/dist/utility/wrun/wrun-style-names.util.js +74 -0
- package/dist/utility/wrun/wrun-tape-coins.util.d.ts +116 -0
- package/dist/utility/wrun/wrun-tape-coins.util.js +110 -0
- package/dist/utility/wrun/wrun-tape-source.util.d.ts +62 -32
- package/dist/utility/wrun/wrun-tape-source.util.js +72 -34
- package/dist/utility/wrun/wrun-tier-grid.util.d.ts +13 -5
- package/dist/utility/wrun/wrun-tier-grid.util.js +23 -13
- package/dist/utility/wrun/wrun-tpo-rows.util.js +2 -1
- package/dist/utility/wrun/wrun-trades-lane.util.d.ts +73 -0
- package/dist/utility/wrun/wrun-trades-lane.util.js +82 -0
- package/dist/utility/wrun/wrun-twin-compute-inputs.util.d.ts +5 -0
- package/dist/utility/wrun/wrun-twin-compute-inputs.util.js +9 -2
- package/dist/utility/wrun/wrun-visibility-table.d.ts +13 -0
- package/dist/utility/wrun/wrun-visibility-table.js +9 -0
- package/dist/utility/wrun/wrun-volume-profile.util.js +7 -3
- package/dist/utils/replay/replay-buffer-math.d.ts +16 -6
- package/dist/utils/replay/replay-buffer-math.js +60 -30
- package/dist/workers/constants/socket-slots.d.ts +11 -7
- package/dist/workers/constants/socket-slots.js +6 -5
- package/package.json +5 -5
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { WrunMetadataOutput } from '../../interfaces/wrun-runtime.interface.js';
|
|
2
|
+
/** The sheet facts an output's words read. */
|
|
3
|
+
export type WrunOutputWordsSubject = Pick<WrunMetadataOutput, 'name' | 'label'>;
|
|
4
|
+
/** The words `output` reads on a chart surface of an overlay that ports built-in `builtIn` (undefined for any other
|
|
5
|
+
* package): a line its built-in names reads the built-in's words, every other line the legend's rule (wrunLegendName:
|
|
6
|
+
* the declared label, else the name read as words). */
|
|
7
|
+
export declare function wrunOutputWords(output: WrunOutputWordsSubject, builtIn: string | undefined): string;
|
|
8
|
+
/** Whether declared `words` name `output` by its own sheet label or name: an author restating the line in a card. */
|
|
9
|
+
export declare function wrunWordsRestateOutput(words: string, output: WrunOutputWordsSubject): boolean;
|
|
10
|
+
/** The words a declaration that names `output` prints (a hover block's or a ring's `label`, a rows block's row label),
|
|
11
|
+
* declared as `words`: words that restate the line (wrunWordsRestateOutput) read the built-in's words for it when the
|
|
12
|
+
* overlay's built-in names it, like the line itself; any other words are the author's and stay as written ("Overbought
|
|
13
|
+
* / oversold" over MFI's meter). */
|
|
14
|
+
export declare function wrunDeclaredOutputWords(words: string, output: WrunOutputWordsSubject | undefined, builtIn: string | undefined): string;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The words a chart surface names a wrun output by (TWIN-LEGEND, Kyle 2026-11-08): the one rule the legend's line
|
|
3
|
+
* names (the run result's `labels`, wrun-run-result.util, which the legend, the data window and a lower pane's legend
|
|
4
|
+
* read), the hover cards (wrun-hover.util) and the silent-output chip (wrun-run-health.util) read.
|
|
5
|
+
*
|
|
6
|
+
* A proven twin's sheet keeps each line's kScript label as the output's `label` (MACD's `macdLine` and `signalLine`,
|
|
7
|
+
* Bollinger Bands' `UpperBand` and `Lower Band`, ADX's `DiPlus`): that label is the built-in's contract output, the
|
|
8
|
+
* anchor its alerts and stored settings match the line by, so the sheet cannot reword it. The legend's rule prints a
|
|
9
|
+
* declared label as written (wrunLegendName), so every chart surface printed those ids. For an overlay that ports a
|
|
10
|
+
* built-in (`builtIn`: builtinPortOf over its settings, the `builtinTwinOf` stamp, else the package's own port), a line
|
|
11
|
+
* its built-in names reads the built-in's own words in the viewer's language, the words its alert pickers, its card and
|
|
12
|
+
* its settings page already show. The host answers them (the env's `builtinLineWords`; web: `builtinOutputI18nKey`
|
|
13
|
+
* through the i18n plugin), so this package holds no built-in's vocabulary. Any other package, any line the built-in
|
|
14
|
+
* does not name (a guide level, a data-only helper) and a host without the member keep the legend's rule. The sheet,
|
|
15
|
+
* the output keys, the plot ids and every binding keep the label as published: only the words a user reads change.
|
|
16
|
+
*/
|
|
17
|
+
import { wrunHostBuiltinLineWords } from '../../host-env.js';
|
|
18
|
+
import { wrunLegendName } from '../chart/wrun-legend-name.util.js';
|
|
19
|
+
/** The built-in's words for `output`, or undefined: no built-in, no sheet label, or a line the built-in does not
|
|
20
|
+
* name (the host answers nothing). */
|
|
21
|
+
function builtinWordsFor(output, builtIn) {
|
|
22
|
+
if (builtIn === undefined || typeof output.label !== 'string')
|
|
23
|
+
return undefined;
|
|
24
|
+
return wrunHostBuiltinLineWords(builtIn, output.label);
|
|
25
|
+
}
|
|
26
|
+
/** The words `output` reads on a chart surface of an overlay that ports built-in `builtIn` (undefined for any other
|
|
27
|
+
* package): a line its built-in names reads the built-in's words, every other line the legend's rule (wrunLegendName:
|
|
28
|
+
* the declared label, else the name read as words). */
|
|
29
|
+
export function wrunOutputWords(output, builtIn) {
|
|
30
|
+
return builtinWordsFor(output, builtIn) ?? wrunLegendName(output.name, output.label);
|
|
31
|
+
}
|
|
32
|
+
/** A name's letters, case, spaces, `_` and `-` aside ("Upper band", `UpperBand` and `upper_band` alike). */
|
|
33
|
+
function letters(words) {
|
|
34
|
+
return words.toLowerCase().replace(/[\s_-]+/g, '');
|
|
35
|
+
}
|
|
36
|
+
/** Whether declared `words` name `output` by its own sheet label or name: an author restating the line in a card. */
|
|
37
|
+
export function wrunWordsRestateOutput(words, output) {
|
|
38
|
+
const said = letters(words);
|
|
39
|
+
if (said === '')
|
|
40
|
+
return false;
|
|
41
|
+
return said === letters(output.name) || (typeof output.label === 'string' && said === letters(output.label));
|
|
42
|
+
}
|
|
43
|
+
/** The words a declaration that names `output` prints (a hover block's or a ring's `label`, a rows block's row label),
|
|
44
|
+
* declared as `words`: words that restate the line (wrunWordsRestateOutput) read the built-in's words for it when the
|
|
45
|
+
* overlay's built-in names it, like the line itself; any other words are the author's and stay as written ("Overbought
|
|
46
|
+
* / oversold" over MFI's meter). */
|
|
47
|
+
export function wrunDeclaredOutputWords(words, output, builtIn) {
|
|
48
|
+
if (output === undefined || !wrunWordsRestateOutput(words, output))
|
|
49
|
+
return words;
|
|
50
|
+
return builtinWordsFor(output, builtIn) ?? words;
|
|
51
|
+
}
|
|
@@ -35,7 +35,9 @@
|
|
|
35
35
|
* asking for rows the last good run already computed over the same main rows
|
|
36
36
|
* is skipped (the kScript wave's duplicate-range rule, widened to coverage: a
|
|
37
37
|
* pan-back page's live rebuild already computed the rows its wave then asks
|
|
38
|
-
* for)
|
|
38
|
+
* for), and one the live tick's open backward-extension rebuild episode takes
|
|
39
|
+
* in runs nothing (WRUN-PANBACK A2: the episode's one handoff rebuilds every
|
|
40
|
+
* page of the gesture). Settled runs and successful computes are announced through hooks, so
|
|
39
41
|
* the lifecycle door and the recovery ladders follow the executor without
|
|
40
42
|
* this module importing them.
|
|
41
43
|
*
|
|
@@ -122,9 +124,18 @@ export interface WrunRunEpisode {
|
|
|
122
124
|
origin: 'user' | 'system';
|
|
123
125
|
reason: WrunRunReason | 'mount';
|
|
124
126
|
}
|
|
127
|
+
/** Whether the overlay's queued follow-up is a run a person, the mount or the replay lane asked for
|
|
128
|
+
* (`WRUN_USER_RUN_REASONS`): an install held for the gesture (wrun-overlay-run `holdWrunInstallForGesture`) drops its
|
|
129
|
+
* result as superseded instead of making that run wait out the pan. */
|
|
130
|
+
export declare function hasQueuedWrunUserRun(indicatorId: string): boolean;
|
|
125
131
|
/** Register (or clear, with null) the chart main-rows identity reader the
|
|
126
132
|
* pan wave's coverage skip compares runs by. */
|
|
127
133
|
export declare function setWrunChartRowsIdentityReader(reader: ((chartIndex: number, indicatorId?: string) => string | undefined) | null): void;
|
|
134
|
+
/** The live tick's answer to a pan wave (WRUN-PANBACK A2): true when the overlay's backward-extension rebuild episode
|
|
135
|
+
* takes the wave in, so the episode's one handoff computes its page and the wave runs nothing. */
|
|
136
|
+
export type WrunLazyWaveAbsorber = (chartIndex: number, indicatorId: string, window: WrunRunWindow | undefined) => boolean;
|
|
137
|
+
/** Register (or clear, with null) the live tick's pan-wave absorber (`isWrunWaveAbsorbed`). */
|
|
138
|
+
export declare function setWrunLazyWaveAbsorber(absorber: WrunLazyWaveAbsorber | null): void;
|
|
128
139
|
/** Subscribe to every settled executor run (wave, initial compute, follow-up):
|
|
129
140
|
* once per run, with the run's reason and outcome. Returns the unsubscribe.
|
|
130
141
|
* Only a run of an overlay that still stands is announced: a run that settles
|
|
@@ -166,6 +177,10 @@ export interface WrunOverlayLiveContext {
|
|
|
166
177
|
* style save never): the switch's stand-in capture stores the shown picture only while the row still carries it,
|
|
167
178
|
* since a save moves the row at once and the session shows the previous computation until the rerun lands. */
|
|
168
179
|
settingsRevision?: number;
|
|
180
|
+
/** The guest's linear memory as the session's live-start block reported it (`WrunLiveBlockStats.memoryBytes`): the
|
|
181
|
+
* worker keeps it and one forming-bar snapshot of it while the session lives, which a warm switch's park counts
|
|
182
|
+
* (wrunParkedLiveSessionBytes). Absent when the worker named none: the park counts the memory ceiling. */
|
|
183
|
+
workerMemoryBytes?: number;
|
|
169
184
|
/** An editor draft (isWrunDraftOverlaySettings): the run seam raised its run-health
|
|
170
185
|
* verdict (wrun-run-health.util) and the live session keeps it honest. */
|
|
171
186
|
draft: boolean;
|
|
@@ -206,6 +221,12 @@ export interface WrunOverlayLiveContext {
|
|
|
206
221
|
* once per shape instead of re-firing the full run on every drain; a
|
|
207
222
|
* successful rerun replaces the context and the latch with it. */
|
|
208
223
|
rebuildHandoffShape?: string;
|
|
224
|
+
/** A backward extension's rebuild the live tick holds while the pan or the main candle fetch runs (WRUN-PANBACK A2,
|
|
225
|
+
* the settle gate): when the hold began (the pacing clock, performance.now), so one handoff after the pan settles,
|
|
226
|
+
* or at the ceiling, carries how long it held. Cleared at the handoff; a fresh context carries none. */
|
|
227
|
+
rebuildSettleSinceMs?: number;
|
|
228
|
+
/** The chart first rows (one per page) the held episode saw: the pages one handoff collapses. Cleared with the hold. */
|
|
229
|
+
rebuildSettlePages?: Set<number>;
|
|
209
230
|
/** The live source buffers (the row builder's own lanes): the last full
|
|
210
231
|
* run's fetched rows, extended by the push intake's folds and corrected
|
|
211
232
|
* by the reconcile fetches. Undeclared lanes stay undefined. */
|
|
@@ -217,6 +238,8 @@ export interface WrunOverlayLiveContext {
|
|
|
217
238
|
/** The trades leg lanes the full run asked (kit 0.77.0), by leg lane id: push lanes like the
|
|
218
239
|
* chart's own, on the leg's market. */
|
|
219
240
|
tradeLegRows?: Record<string, ArrayLike<number>[]>;
|
|
241
|
+
/** The pinned lanes' rows by lane id (wrun-pinned-lanes.util). */
|
|
242
|
+
pinnedLaneRows?: Record<string, ArrayLike<number>[]>;
|
|
220
243
|
openInterestRows?: ArrayLike<number>[];
|
|
221
244
|
volumeProfileRows?: ReadonlyArray<ReadonlyArray<unknown>>;
|
|
222
245
|
/** The trade_volume_by_size lane's dense per-bar rows `[ts, [bucket, buy_usd,
|
|
@@ -237,6 +260,8 @@ export interface WrunOverlayLiveContext {
|
|
|
237
260
|
* them at the drain): their blocks are short, so the tick refuses them by name and suspends the
|
|
238
261
|
* session, like a capped bucket. A restorable loss rides the reconcile instead (`tape-lost`). */
|
|
239
262
|
tapeLostBuckets?: Set<number>;
|
|
263
|
+
/** A coins tape's lowest live print price, before any floor (C-COINS item 2, wrun-tape-coins.util). */
|
|
264
|
+
tapePriceLow?: number;
|
|
240
265
|
liquidationRows?: ArrayLike<number>[];
|
|
241
266
|
fundingRateRows?: ArrayLike<number>[];
|
|
242
267
|
impliedVolatilityRows?: ArrayLike<number>[];
|
|
@@ -304,6 +329,10 @@ export interface WrunOverlayLiveContext {
|
|
|
304
329
|
* or a drain carrying another generation belongs to a superseded session
|
|
305
330
|
* and is discarded. */
|
|
306
331
|
generation: number;
|
|
332
|
+
/** The epoch the worker's live series was opened under (the live-start of the full run or the reseed that opened
|
|
333
|
+
* it): the generation moves again at a warm switch's adoption, the series' epoch only at a live-start, and a park
|
|
334
|
+
* names the series by it. Absent on contexts stored before this field: the generation is the epoch. */
|
|
335
|
+
seriesEpoch?: number;
|
|
307
336
|
/** The chart interval in ms the run computed on (every lane's bucket rule
|
|
308
337
|
* and the tail window read it). */
|
|
309
338
|
intervalMs: number;
|
|
@@ -321,19 +350,24 @@ export interface WrunOverlayLiveContext {
|
|
|
321
350
|
* chart, or one whose lanes read the CME plane): every debug line its ticks and reseeds publish states it. No
|
|
322
351
|
* cloud frame raises it (the Cloud lane never reads CME). */
|
|
323
352
|
cmeRead?: true;
|
|
353
|
+
/** The delayed CME legs its legend names (the installing run's `computed.cmeDelayed`). */
|
|
354
|
+
cmeDelayed?: ReadonlyArray<{
|
|
355
|
+
symbol: string;
|
|
356
|
+
mins: number;
|
|
357
|
+
}>;
|
|
324
358
|
/** The carry-forward state after every input row strictly before
|
|
325
359
|
* `lastRowTs` (the seed the tail builder resumes from): the forward-fill
|
|
326
360
|
* scalars, the forming buckets and the pinned legs' confirmed cursors. */
|
|
327
361
|
carrySeed: WrunInputCarry;
|
|
362
|
+
/** The instant the session's declared depth counts back from (wrun-history-as-of.util): the
|
|
363
|
+
* installing run clock's as-of, the earliest pin among its legs (its first run's now on a live
|
|
364
|
+
* session, a replay's present), else that run's now. The reseed (a revised bar, a late input, a
|
|
365
|
+
* wake that lost the session) and the drains build under it, never under their own now alone. */
|
|
366
|
+
historyAsOfMs?: number;
|
|
328
367
|
/** Per lane, the buckets the push intake fed since the last reconcile
|
|
329
368
|
* covered them (a fed bucket is live data, not fetched data). */
|
|
330
369
|
fedBuckets: Partial<Record<WrunLiveLane, Set<number>>>;
|
|
331
|
-
/** False
|
|
332
|
-
* market pin, a finer or non-ohlcv interval pin): no push, a repair on
|
|
333
|
-
* every drain. The full run refuses those pins by name before any fetch,
|
|
334
|
-
* so a context it installs is eligible; an own-market coarser interval
|
|
335
|
-
* pin is eligible (the chart's own push lanes stay valid, the leg is a
|
|
336
|
-
* poll lane). */
|
|
370
|
+
/** False for a pin the push intake cannot ride (`wrunPushEligible`): a repair on every drain. */
|
|
337
371
|
pushEligible: boolean;
|
|
338
372
|
/** The newest row ts a successful integrate has painted; `lastRowTs` may
|
|
339
373
|
* run ahead of it after a failed integrate (the next successful patch
|
|
@@ -415,6 +449,11 @@ export interface WrunOverlayLiveContext {
|
|
|
415
449
|
* it): they carry no `coveredThroughTs`, so the reconcile keeps asking
|
|
416
450
|
* their tail while the source ladder owns the window. */
|
|
417
451
|
degradedLanes?: ReadonlySet<string>;
|
|
452
|
+
/** The full run that installed the session drew a partial picture: over a row lane's first-paint slice (its older
|
|
453
|
+
* bars still loading) or a lane degraded to empty. The fill's or the recovery's run (a whole run of the same
|
|
454
|
+
* settings and market) installs the session that completes it, so this session's passes name no picture
|
|
455
|
+
* (`wrunPictureIdentityOf`): none of its ticks, reseeds or refines stamps a partial heatmap scale as final. */
|
|
456
|
+
picturePartial?: true;
|
|
418
457
|
/** The row-builder lanes the capability rule (`wrunUnservedLanes`) kept from
|
|
419
458
|
* dispatch on the session's market (the run pass writes it): never fetched,
|
|
420
459
|
* their buffers empty, every reader reading its fill on every row. The
|
|
@@ -524,8 +563,9 @@ export interface WrunOverlayPinnedLeg extends WrunPinnedLeg {
|
|
|
524
563
|
* driver goes too) or 'suspend' (Pause: the live session ends, the driver
|
|
525
564
|
* and the overlay stay, and Resume reruns it). */
|
|
526
565
|
export type WrunLiveTeardownCause = 'teardown' | 'suspend';
|
|
527
|
-
/** The host's side of the teardown door: bound once, when the host service evaluates.
|
|
528
|
-
|
|
566
|
+
/** The host's side of the teardown door: bound once, when the host service evaluates. With `epoch` it ends that
|
|
567
|
+
* generation's series only (a parked session's end), without it whatever the key holds (the teardown). */
|
|
568
|
+
export declare function bindWrunHostLiveSeriesEnd(end: (sessionKey: string, epoch?: number) => void): void;
|
|
529
569
|
/** Bump and return the overlay's live generation. Every install (the full
|
|
530
570
|
* run opening a session) and every teardown moves it; the run passes the
|
|
531
571
|
* new value to the worker as the session epoch and stores it on the
|
|
@@ -565,6 +605,10 @@ export declare function withWrunOverlaySessionLock<T>(indicatorId: string, fn: (
|
|
|
565
605
|
* nothing. Read from the chart metadata the caller hands in (the store stays
|
|
566
606
|
* out of this registry's eager graph); metadata without the word reads as
|
|
567
607
|
* the market's default.
|
|
608
|
+
* A sixth term, the market the rows come from when not the chart's own
|
|
609
|
+
* (`wrunMainCandleSourceOf`: a US stock on Trades rides its tape), makes a
|
|
610
|
+
* feed switch an identity change too; other charts keep five terms. INT
|
|
611
|
+
* 2026-11-05: a Trades session drew tape prints again after Price only.
|
|
568
612
|
*/
|
|
569
613
|
export declare function wrunChartMarketIdentity(metadata: {
|
|
570
614
|
exchange?: unknown;
|
|
@@ -573,6 +617,42 @@ export declare function wrunChartMarketIdentity(metadata: {
|
|
|
573
617
|
transformations?: unknown;
|
|
574
618
|
sessionType?: unknown;
|
|
575
619
|
} | null | undefined): string;
|
|
620
|
+
/** What a pass's rows were computed for (`wrunPictureIdentityOf`), the only spelling a pass hands the child mount. */
|
|
621
|
+
export type WrunPictureIdentity = string & {
|
|
622
|
+
readonly __wrunPictureIdentity: true;
|
|
623
|
+
};
|
|
624
|
+
/**
|
|
625
|
+
* The picture a pass's rows show, as the run or the live session that computed them knew it: the compute settings
|
|
626
|
+
* revision (`kScriptSettingsRevision`, C1) and the market identity (`wrunChartMarketIdentity`). The one derivation
|
|
627
|
+
* every caller of the child mount hands it (wrun-panel-mount.util `pictureIdentity`: a mounted heatmap keeps its
|
|
628
|
+
* colour scale through a pass of the picture that decided it): a full run from what it computed with
|
|
629
|
+
* (`computed.generation` and its own market identity), a live session's passes (a tick, a reseed, a refine, a style
|
|
630
|
+
* repaint, an adoption) from the session's `settingsRevision` and `marketIdentity`, which its full run stamped at
|
|
631
|
+
* install.
|
|
632
|
+
*
|
|
633
|
+
* Why these two facts and nothing else (2026-11-07, Kyle's "decide the scale once per load, then never move it on its
|
|
634
|
+
* own"): every save that changes what the module computes or reads bumps the revision (a param, a symbol or text
|
|
635
|
+
* param, a Timeframe, a pin, a `style_targets` param such as one bound to a heatmap's quantile), while a paint-only
|
|
636
|
+
* save never does (a Style row, an om style knob, the Sensitivity row itself, a window split, an eye), so presentation
|
|
637
|
+
* keys are never identity and no list of keys can drift. The market identity covers the symbol, the interval, the
|
|
638
|
+
* exchange, the transformations, the session and the candle source. The script itself: an editor draft's Run replaces
|
|
639
|
+
* the parent overlay (its children unmount and install afresh) and a version change is a compute save. The facts are
|
|
640
|
+
* the rows' own, never the settings' current ones: a save leaves the session ticking on the previous computation until
|
|
641
|
+
* its rerun installs, and those ticks hand the session's identity, so no scale is ever decided from them under the new
|
|
642
|
+
* picture.
|
|
643
|
+
*
|
|
644
|
+
* Undefined when the market is unknown (a context stored before the field existed), and for a partial picture
|
|
645
|
+
* (`picturePartial`: a run, or the session it installed, that drew over a row lane's first-paint slice or a lane
|
|
646
|
+
* degraded to empty): the fill's or the recovery's run is a whole run of the same revision and market, so a scale
|
|
647
|
+
* decided from the slice under the final identity would be carried onto the whole history (the seed freeze the
|
|
648
|
+
* options heatmap's `seed` stage avoids). Every heatmap a pass without a picture rebuilds decides its scale again and
|
|
649
|
+
* stamps none, the rule before the hold, so the completing run decides and holds.
|
|
650
|
+
*/
|
|
651
|
+
export declare function wrunPictureIdentityOf(source: {
|
|
652
|
+
settingsRevision?: number;
|
|
653
|
+
marketIdentity?: string;
|
|
654
|
+
picturePartial?: boolean;
|
|
655
|
+
}): WrunPictureIdentity | undefined;
|
|
576
656
|
export declare function registerWrunOverlayDriver(indicatorId: string, driver: WrunOverlayDriver): void;
|
|
577
657
|
export declare function hasWrunOverlayDriver(indicatorId: string): boolean;
|
|
578
658
|
/** Marked by the shared run pass after a successful integrate, whatever
|
|
@@ -621,6 +701,16 @@ export declare function teardownWrunOverlaysForChart(chartIndex: number): void;
|
|
|
621
701
|
* driver or live context names. Returns the unregister function.
|
|
622
702
|
*/
|
|
623
703
|
export declare function onWrunChartTeardown(fn: (chartIndex: number) => void): () => void;
|
|
704
|
+
/**
|
|
705
|
+
* The warm switch's park (wrun-overlay-park.util): release an overlay from its chart as a teardown while its worker
|
|
706
|
+
* series stays open, and hand back its live context (out of the registry, its last patch dropped: it names the outgoing
|
|
707
|
+
* chart's plots). Undefined, releasing nothing, for a session that cannot be kept whole: none, a run in flight, a held,
|
|
708
|
+
* replaying or repaint-owed session, a pan page's prefix run not landed, or a session operation holding its lock (a
|
|
709
|
+
* tick's worker call, a reseed, a repaint: it would end, reopen or advance the series after the park).
|
|
710
|
+
*/
|
|
711
|
+
export declare function releaseWrunOverlayLiveSessionForPark(indicatorId: string): WrunOverlayLiveContext | undefined;
|
|
712
|
+
/** End one generation's worker series (a parked session's end): a later run's series under the id stays. */
|
|
713
|
+
export declare function endWrunOverlayLiveSeriesAt(indicatorId: string, epoch: number): void;
|
|
624
714
|
/** One live session as the memory census reads it (titan-charts' census walk, `wrun.overlays`). */
|
|
625
715
|
export interface WrunOverlayMemoryCensusEntry {
|
|
626
716
|
id: string;
|
|
@@ -633,7 +723,20 @@ export interface WrunOverlayMemoryCensusEntry {
|
|
|
633
723
|
laneBytes: number;
|
|
634
724
|
/** The rows of the result the live tick last applied (`liveApplied`), plus its build's when that is another result. */
|
|
635
725
|
liveAppliedRows: number;
|
|
726
|
+
/** A session a warm workspace switch parked (parkWrunOverlayLiveSession): out of the registry, its worker series
|
|
727
|
+
* open, waiting for its adoption; its `liveAppliedRows` are the shown result it keeps. Absent for a live one. */
|
|
728
|
+
parked?: true;
|
|
636
729
|
}
|
|
730
|
+
/** The data rows of a built result, over its outputs. */
|
|
731
|
+
export declare function wrunCensusResultRows(result: WrunLiveApplied['result'] | undefined): number;
|
|
732
|
+
/** A context's lane buffers, counted and sampled (rows, and bytes at 8 a number). */
|
|
733
|
+
export declare function wrunCensusLaneBytes(context: WrunOverlayLiveContext): {
|
|
734
|
+
laneRows: number;
|
|
735
|
+
laneBytes: number;
|
|
736
|
+
};
|
|
737
|
+
/** One context's census entry: `shown` is the result it keeps when no live patch is applied (a parked session's). */
|
|
738
|
+
export declare function wrunLiveContextCensusOf(context: WrunOverlayLiveContext, shown?: WrunLiveApplied['result']): WrunOverlayMemoryCensusEntry;
|
|
739
|
+
export declare function onWrunOverlayMemoryCensus(contribute: () => WrunOverlayMemoryCensusEntry[]): void;
|
|
637
740
|
/** Every live session's retention (memory spec 4.4), read-only: rows counted, bytes sampled, nothing created. */
|
|
638
741
|
export declare function wrunOverlayMemoryCensus(): WrunOverlayMemoryCensusEntry[];
|
|
639
742
|
/** A prefix run's owner on the session it extends (C1 v3): its request, window, the session and the
|
|
@@ -744,9 +847,11 @@ export declare function noteWrunOverlayWholeWindowDrawn(indicatorId: string): vo
|
|
|
744
847
|
* (every request queued behind one run shares it), so a settings save's tail
|
|
745
848
|
* waits for its own settings to land, not for the run that read the older
|
|
746
849
|
* ones. Undefined when the overlay has no driver, is no longer mounted (which
|
|
747
|
-
* also tears it down),
|
|
850
|
+
* also tears it down), the request is a pan wave whose window the last
|
|
748
851
|
* good run already computed over the same main rows while nothing is in
|
|
749
|
-
* flight (the coverage skip)
|
|
852
|
+
* flight (the coverage skip), or a pan wave the live tick's open rebuild
|
|
853
|
+
* episode took in (`isWrunWaveAbsorbed`, WRUN-PANBACK A2: its one handoff
|
|
854
|
+
* rebuilds the page).
|
|
750
855
|
*/
|
|
751
856
|
export declare function rerunWrunOverlayForChartWave(indicatorId: string, options?: WrunWaveRerunOptions): Promise<void> | undefined;
|
|
752
857
|
/**
|