@orangecharts/wrun-chart-host 0.2.0 → 0.3.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 +14 -6
- package/dist/constants/common.constants.d.ts +15 -0
- package/dist/constants/common.constants.js +23 -0
- package/dist/constants/data-source.constants.d.ts +1 -0
- package/dist/constants/data-source.constants.js +1 -0
- package/dist/constants/economic.constants.d.ts +39 -0
- package/dist/constants/economic.constants.js +77 -0
- package/dist/constants/etf-covered-coins.constants.d.ts +1 -0
- package/dist/constants/etf-covered-coins.constants.js +9 -0
- package/dist/constants/feature-flags.constants.d.ts +60 -0
- package/dist/constants/feature-flags.constants.js +308 -0
- package/dist/constants/feature-limits.constants.d.ts +134 -0
- package/dist/constants/feature-limits.constants.js +155 -0
- package/dist/constants/marketCapabilities.constants.d.ts +87 -0
- package/dist/constants/marketCapabilities.constants.js +213 -0
- package/dist/constants/option-venues.constants.d.ts +100 -0
- package/dist/constants/option-venues.constants.js +167 -0
- package/dist/constants/overlay-data.constants.d.ts +53 -0
- package/dist/constants/overlay-data.constants.js +80 -0
- package/dist/constants/pane-grid.constants.d.ts +15 -0
- package/dist/constants/pane-grid.constants.js +17 -0
- package/dist/constants/venue-presets.constants.d.ts +10 -0
- package/dist/constants/venue-presets.constants.js +22 -0
- package/dist/enums/chart.enum.d.ts +68 -0
- package/dist/enums/chart.enum.js +70 -0
- package/dist/helpers/data.helpers.d.ts +2 -0
- package/dist/helpers/data.helpers.js +14 -0
- package/dist/host-env.d.ts +161 -5
- package/dist/host-ports.types.d.ts +446 -0
- package/dist/host-ports.types.js +1 -0
- package/dist/index.d.ts +128 -0
- package/dist/index.js +128 -0
- package/dist/indicators/controls/technical-script/technical-script-input-rendering.d.ts +86 -0
- package/dist/indicators/controls/technical-script/technical-script-input-rendering.js +179 -0
- package/dist/interfaces/asset-venue.interface.d.ts +91 -0
- package/dist/interfaces/asset-venue.interface.js +1 -0
- package/dist/interfaces/cancel-reason.interface.d.ts +24 -0
- package/dist/interfaces/cancel-reason.interface.js +2 -0
- package/dist/interfaces/catalog-display.interface.d.ts +3 -0
- package/dist/interfaces/catalog-display.interface.js +1 -0
- package/dist/interfaces/cme-realtime.interface.d.ts +251 -0
- package/dist/interfaces/cme-realtime.interface.js +46 -0
- package/dist/interfaces/feed.interface.d.ts +80 -0
- package/dist/interfaces/feed.interface.js +7 -0
- package/dist/interfaces/market-kind.interface.d.ts +8 -0
- package/dist/interfaces/market-kind.interface.js +1 -0
- package/dist/interfaces/opra-realtime.interface.d.ts +224 -0
- package/dist/interfaces/opra-realtime.interface.js +105 -0
- package/dist/interfaces/option-instrument.interface.d.ts +32 -0
- package/dist/interfaces/option-instrument.interface.js +1 -0
- package/dist/interfaces/options-chain-scope.interface.d.ts +29 -0
- package/dist/interfaces/options-chain-scope.interface.js +7 -0
- package/dist/interfaces/prediction-market.interface.d.ts +88 -0
- package/dist/interfaces/prediction-market.interface.js +8 -0
- package/dist/interfaces/wrun-runtime.interface.d.ts +5 -0
- package/dist/kscript-data/controls/live-trades-merge.util.d.ts +185 -0
- package/dist/kscript-data/controls/live-trades-merge.util.js +357 -0
- package/dist/settings-templates/frvp-fields.d.ts +27 -0
- package/dist/settings-templates/frvp-fields.js +108 -0
- package/dist/settings-templates/index.d.ts +119 -0
- package/dist/settings-templates/index.js +442 -0
- package/dist/settings-templates/indicator-fields.d.ts +56 -0
- package/dist/settings-templates/indicator-fields.js +793 -0
- package/dist/settings-templates/tool-rules.d.ts +59 -0
- package/dist/settings-templates/tool-rules.js +49 -0
- package/dist/settings-templates/tool-tables.generated.d.ts +2 -0
- package/dist/settings-templates/tool-tables.generated.js +1668 -0
- package/dist/utility/blk-market.util.d.ts +5 -0
- package/dist/utility/blk-market.util.js +12 -0
- package/dist/utility/chart/chart-load-phase.util.d.ts +32 -0
- package/dist/utility/chart/chart-load-phase.util.js +78 -0
- package/dist/utility/chart/cme-cache-context.util.d.ts +108 -0
- package/dist/utility/chart/cme-cache-context.util.js +166 -0
- package/dist/utility/chart/cme-session-bucket.util.d.ts +82 -0
- package/dist/utility/chart/cme-session-bucket.util.js +343 -0
- package/dist/utility/chart/cme-trade-calendar.util.d.ts +26 -0
- package/dist/utility/chart/cme-trade-calendar.util.js +147 -0
- package/dist/utility/chart/continuous-contracts.util.d.ts +138 -0
- package/dist/utility/chart/continuous-contracts.util.js +374 -0
- package/dist/utility/chart/feed-interval.util.d.ts +119 -0
- package/dist/utility/chart/feed-interval.util.js +321 -0
- package/dist/utility/chart/fetch-dedupe-policy.util.d.ts +110 -0
- package/dist/utility/chart/fetch-dedupe-policy.util.js +407 -0
- package/dist/utility/chart/footprint-band.util.d.ts +76 -0
- package/dist/utility/chart/footprint-band.util.js +205 -0
- package/dist/utility/chart/footprint-cell-identity.util.d.ts +82 -0
- package/dist/utility/chart/footprint-cell-identity.util.js +346 -0
- package/dist/utility/chart/formula-calendar.util.d.ts +27 -0
- package/dist/utility/chart/formula-calendar.util.js +59 -0
- package/dist/utility/chart/history-wall.util.d.ts +67 -0
- package/dist/utility/chart/history-wall.util.js +87 -0
- package/dist/utility/chart/index-mode.util.d.ts +66 -0
- package/dist/utility/chart/index-mode.util.js +360 -0
- package/dist/utility/chart/indicator-coverage-planner.util.d.ts +217 -0
- package/dist/utility/chart/indicator-coverage-planner.util.js +443 -0
- package/dist/utility/chart/indicator-coverage-state.util.d.ts +33 -0
- package/dist/utility/chart/indicator-coverage-state.util.js +110 -0
- package/dist/utility/chart/indicator-gap-detector.util.d.ts +127 -0
- package/dist/utility/chart/indicator-gap-detector.util.js +260 -0
- package/dist/utility/chart/indicator-gap-repair.util.d.ts +88 -0
- package/dist/utility/chart/indicator-gap-repair.util.js +177 -0
- package/dist/utility/chart/indicator-inflight-registry.util.d.ts +26 -0
- package/dist/utility/chart/indicator-inflight-registry.util.js +254 -0
- package/dist/utility/chart/interval-registry.util.d.ts +23 -0
- package/dist/utility/chart/interval-registry.util.js +83 -0
- package/dist/utility/chart/kscript-main-grid-stages.util.d.ts +21 -0
- package/dist/utility/chart/kscript-main-grid-stages.util.js +332 -0
- package/dist/utility/chart/legacy-exchange.leaf.d.ts +11 -0
- package/dist/utility/chart/legacy-exchange.leaf.js +43 -0
- package/dist/utility/chart/live-bucket.util.d.ts +66 -0
- package/dist/utility/chart/live-bucket.util.js +165 -0
- package/dist/utility/chart/market-session-schedule.util.d.ts +91 -0
- package/dist/utility/chart/market-session-schedule.util.js +337 -0
- package/dist/utility/chart/marketKind.util.d.ts +181 -0
- package/dist/utility/chart/marketKind.util.js +371 -0
- package/dist/utility/chart/opra-read-access.leaf.d.ts +26 -0
- package/dist/utility/chart/opra-read-access.leaf.js +25 -0
- package/dist/utility/chart/prediction-identity.util.d.ts +159 -0
- package/dist/utility/chart/prediction-identity.util.js +236 -0
- package/dist/utility/chart/rth-session.util.d.ts +352 -0
- package/dist/utility/chart/rth-session.util.js +926 -0
- package/dist/utility/chart/titan-constants.pin.d.ts +43 -0
- package/dist/utility/chart/titan-constants.pin.js +50 -0
- package/dist/utility/chart/us-equities-session.util.d.ts +127 -0
- package/dist/utility/chart/us-equities-session.util.js +251 -0
- package/dist/utility/chart/wrun-bar-session-facts.util.d.ts +100 -0
- package/dist/utility/chart/wrun-bar-session-facts.util.js +354 -0
- package/dist/utility/chart/wrun-wire-ref.util.d.ts +23 -0
- package/dist/utility/chart/wrun-wire-ref.util.js +16 -0
- package/dist/utility/common/safe-math-eval.d.ts +18 -0
- package/dist/utility/common/safe-math-eval.js +160 -0
- package/dist/utility/common/time.util.d.ts +134 -0
- package/dist/utility/common/time.util.js +428 -0
- package/dist/utility/common/transformations.util.d.ts +126 -0
- package/dist/utility/common/transformations.util.js +711 -0
- package/dist/utility/common/visible-timeout.util.d.ts +17 -0
- package/dist/utility/common/visible-timeout.util.js +75 -0
- package/dist/utility/exchange-normalization.util.d.ts +8 -0
- package/dist/utility/exchange-normalization.util.js +32 -0
- package/dist/utility/intl-locale.util.d.ts +2 -0
- package/dist/utility/intl-locale.util.js +28 -0
- package/dist/utility/number-format.util.d.ts +14 -1
- package/dist/utility/number-format.util.js +50 -19
- package/dist/utility/options/option-symbol.util.d.ts +28 -0
- package/dist/utility/options/option-symbol.util.js +176 -0
- package/dist/utility/options/option-trade-units.util.d.ts +190 -0
- package/dist/utility/options/option-trade-units.util.js +283 -0
- package/dist/utility/options/option-venue.util.d.ts +75 -0
- package/dist/utility/options/option-venue.util.js +85 -0
- package/dist/utility/pool-symbol.leaf.d.ts +34 -0
- package/dist/utility/pool-symbol.leaf.js +95 -0
- package/dist/utility/scriptEditor/wrun-runtime-diagnostics.leaf.d.ts +109 -0
- package/dist/utility/scriptEditor/wrun-runtime-diagnostics.leaf.js +302 -0
- package/dist/utility/symbol-selection/contract-expiry.util.d.ts +39 -0
- package/dist/utility/symbol-selection/contract-expiry.util.js +111 -0
- package/dist/utility/v2/gate-plane.util.d.ts +58 -0
- package/dist/utility/v2/gate-plane.util.js +99 -0
- package/dist/utility/v2/gate-session-latch.util.d.ts +22 -0
- package/dist/utility/v2/gate-session-latch.util.js +34 -0
- package/dist/utility/watchlist/import/tradingview-symbols.leaf.d.ts +76 -0
- package/dist/utility/watchlist/import/tradingview-symbols.leaf.js +221 -0
- package/dist/utility/wrun/sources/host-grid-landing.d.ts +15 -0
- package/dist/utility/wrun/sources/host-grid-landing.js +26 -0
- package/dist/utility/wrun/sources/lanes/bitfinex_funding.d.ts +27 -0
- package/dist/utility/wrun/sources/lanes/bitfinex_funding.js +85 -0
- package/dist/utility/wrun/sources/lanes/economic.d.ts +27 -0
- package/dist/utility/wrun/sources/lanes/economic.js +79 -0
- package/dist/utility/wrun/sources/lanes/etf_holdings.d.ts +35 -0
- package/dist/utility/wrun/sources/lanes/etf_holdings.js +165 -0
- package/dist/utility/wrun/sources/lanes/etf_premium.d.ts +19 -0
- package/dist/utility/wrun/sources/lanes/etf_premium.js +114 -0
- package/dist/utility/wrun/sources/lanes/ethena_positions.d.ts +30 -0
- package/dist/utility/wrun/sources/lanes/ethena_positions.js +51 -0
- package/dist/utility/wrun/sources/lanes/index.d.ts +2 -0
- package/dist/utility/wrun/sources/lanes/index.js +32 -0
- package/dist/utility/wrun/sources/lanes/long_short_ratio.d.ts +17 -0
- package/dist/utility/wrun/sources/lanes/long_short_ratio.js +47 -0
- package/dist/utility/wrun/sources/lanes/option_daily.d.ts +30 -0
- package/dist/utility/wrun/sources/lanes/option_daily.js +53 -0
- package/dist/utility/wrun/sources/lanes/option_stats_10m.d.ts +23 -0
- package/dist/utility/wrun/sources/lanes/option_stats_10m.js +20 -0
- package/dist/utility/wrun/sources/lanes/options_flow.d.ts +50 -0
- package/dist/utility/wrun/sources/lanes/options_flow.js +155 -0
- package/dist/utility/wrun/sources/lanes/options_oi.d.ts +29 -0
- package/dist/utility/wrun/sources/lanes/options_oi.js +59 -0
- package/dist/utility/wrun/sources/lanes/options_volume.d.ts +38 -0
- package/dist/utility/wrun/sources/lanes/options_volume.js +63 -0
- package/dist/utility/wrun/sources/lanes/series.d.ts +67 -0
- package/dist/utility/wrun/sources/lanes/series.js +321 -0
- package/dist/utility/wrun/sources/lanes/token_supply.d.ts +30 -0
- package/dist/utility/wrun/sources/lanes/token_supply.js +145 -0
- package/dist/utility/wrun/sources/lanes/treasury_balance.d.ts +25 -0
- package/dist/utility/wrun/sources/lanes/treasury_balance.js +47 -0
- package/dist/utility/wrun/sources/lanes/volatility_index.d.ts +21 -0
- package/dist/utility/wrun/sources/lanes/volatility_index.js +11 -0
- package/dist/utility/wrun/sources/opra-option-lanes.util.d.ts +196 -0
- package/dist/utility/wrun/sources/opra-option-lanes.util.js +446 -0
- package/dist/utility/wrun/sources/registry.d.ts +21 -0
- package/dist/utility/wrun/sources/registry.js +207 -0
- package/dist/utility/wrun/sources/row-lane-registry.d.ts +28 -0
- package/dist/utility/wrun/sources/row-lane-registry.js +230 -0
- package/dist/utility/wrun/sources/row-lanes/index.d.ts +2 -0
- package/dist/utility/wrun/sources/row-lanes/index.js +12 -0
- package/dist/utility/wrun/sources/row-lanes/option_contract_flow.d.ts +2 -0
- package/dist/utility/wrun/sources/row-lanes/option_contract_flow.js +38 -0
- package/dist/utility/wrun/sources/row-lanes/option_contract_state.d.ts +6 -0
- package/dist/utility/wrun/sources/row-lanes/option_contract_state.js +70 -0
- package/dist/utility/wrun/sources/row-lanes/option_prints.d.ts +4 -0
- package/dist/utility/wrun/sources/row-lanes/option_prints.js +191 -0
- package/dist/utility/wrun/sources/row-lanes/option_strikes.d.ts +13 -0
- package/dist/utility/wrun/sources/row-lanes/option_strikes.js +137 -0
- package/dist/utility/wrun/sources/row-lanes/option_surface.d.ts +38 -0
- package/dist/utility/wrun/sources/row-lanes/option_surface.js +150 -0
- package/dist/utility/wrun/sources/wrun-poll-lane.types.d.ts +275 -0
- package/dist/utility/wrun/sources/wrun-poll-lane.types.js +26 -0
- package/dist/utility/wrun/sources/wrun-poll-lanes.util.d.ts +224 -0
- package/dist/utility/wrun/sources/wrun-poll-lanes.util.js +394 -0
- package/dist/utility/wrun/sources/wrun-row-lane.types.d.ts +283 -0
- package/dist/utility/wrun/sources/wrun-row-lane.types.js +16 -0
- package/dist/utility/wrun/sources/wrun-row-lanes.util.d.ts +205 -0
- package/dist/utility/wrun/sources/wrun-row-lanes.util.js +469 -0
- package/dist/utility/wrun/wrun-browser-sources.leaf.d.ts +28 -0
- package/dist/utility/wrun/wrun-browser-sources.leaf.js +66 -0
- package/dist/utility/wrun/wrun-cloud-record.util.d.ts +65 -0
- package/dist/utility/wrun/wrun-cloud-record.util.js +121 -0
- package/dist/utility/wrun/wrun-daily-lane.util.d.ts +95 -0
- package/dist/utility/wrun/wrun-daily-lane.util.js +297 -0
- package/dist/utility/wrun/wrun-deadline.util.d.ts +52 -0
- package/dist/utility/wrun/wrun-deadline.util.js +82 -0
- package/dist/utility/wrun/wrun-etf-flow-lane.util.d.ts +94 -0
- package/dist/utility/wrun/wrun-etf-flow-lane.util.js +224 -0
- package/dist/utility/wrun/wrun-etf-funds.util.d.ts +82 -0
- package/dist/utility/wrun/wrun-etf-funds.util.js +242 -0
- package/dist/utility/wrun/wrun-frames.d.ts +20 -1
- package/dist/utility/wrun/wrun-frames.js +103 -49
- package/dist/utility/wrun/wrun-hosted-wire-caps.d.ts +2 -2
- package/dist/utility/wrun/wrun-hosted-wire-caps.js +27 -0
- package/dist/utility/wrun/wrun-lane-refusal.leaf.d.ts +22 -0
- package/dist/utility/wrun/wrun-lane-refusal.leaf.js +32 -0
- package/dist/utility/wrun/wrun-lane-warmup.util.d.ts +18 -0
- package/dist/utility/wrun/wrun-lane-warmup.util.js +112 -0
- package/dist/utility/wrun/wrun-leg-close.util.d.ts +57 -0
- package/dist/utility/wrun/wrun-leg-close.util.js +187 -0
- package/dist/utility/wrun/wrun-leg-fetch.util.d.ts +144 -0
- package/dist/utility/wrun/wrun-leg-fetch.util.js +212 -0
- package/dist/utility/wrun/wrun-leg-stream-classes.d.ts +73 -0
- package/dist/utility/wrun/wrun-leg-stream-classes.js +86 -0
- package/dist/utility/wrun/wrun-levels-child.util.d.ts +101 -6
- package/dist/utility/wrun/wrun-levels-child.util.js +335 -157
- package/dist/utility/wrun/wrun-memory-clamp.util.d.ts +33 -0
- package/dist/utility/wrun/wrun-memory-clamp.util.js +146 -0
- package/dist/utility/wrun/wrun-odds-template-market.util.d.ts +51 -0
- package/dist/utility/wrun/wrun-odds-template-market.util.js +251 -0
- package/dist/utility/wrun/wrun-opra-flow.leaf.d.ts +65 -0
- package/dist/utility/wrun/wrun-opra-flow.leaf.js +94 -0
- package/dist/utility/wrun/wrun-opra-lane.util.d.ts +47 -0
- package/dist/utility/wrun/wrun-opra-lane.util.js +58 -0
- package/dist/utility/wrun/wrun-opra-stats.leaf.d.ts +30 -0
- package/dist/utility/wrun/wrun-opra-stats.leaf.js +96 -0
- package/dist/utility/wrun/wrun-opra-underlying.util.d.ts +12 -0
- package/dist/utility/wrun/wrun-opra-underlying.util.js +1 -0
- package/dist/utility/wrun/wrun-option-contract-flow.util.d.ts +142 -0
- package/dist/utility/wrun/wrun-option-contract-flow.util.js +451 -0
- package/dist/utility/wrun/wrun-option-knobs.util.d.ts +43 -0
- package/dist/utility/wrun/wrun-option-knobs.util.js +81 -0
- package/dist/utility/wrun/wrun-option-prints.util.d.ts +144 -0
- package/dist/utility/wrun/wrun-option-prints.util.js +356 -0
- package/dist/utility/wrun/wrun-option-summary-lane.util.d.ts +102 -0
- package/dist/utility/wrun/wrun-option-summary-lane.util.js +143 -0
- package/dist/utility/wrun/wrun-options-chain.util.d.ts +308 -0
- package/dist/utility/wrun/wrun-options-chain.util.js +502 -0
- package/dist/utility/wrun/wrun-overlay-identity.util.d.ts +9 -4
- package/dist/utility/wrun/wrun-overlay-identity.util.js +16 -6
- package/dist/utility/wrun/wrun-param-map.util.d.ts +298 -0
- package/dist/utility/wrun/wrun-param-map.util.js +581 -0
- package/dist/utility/wrun/wrun-pin-spelling.util.d.ts +149 -0
- package/dist/utility/wrun/wrun-pin-spelling.util.js +523 -0
- package/dist/utility/wrun/wrun-pin-venues.util.d.ts +116 -0
- package/dist/utility/wrun/wrun-pin-venues.util.js +320 -0
- package/dist/utility/wrun/wrun-pinned-interval.util.d.ts +20 -0
- package/dist/utility/wrun/wrun-pinned-interval.util.js +47 -0
- package/dist/utility/wrun/wrun-present-bits.util.d.ts +37 -0
- package/dist/utility/wrun/wrun-present-bits.util.js +73 -0
- package/dist/utility/wrun/wrun-protocol-pending.util.d.ts +33 -0
- package/dist/utility/wrun/wrun-protocol-pending.util.js +57 -0
- package/dist/utility/wrun/wrun-refusal.util.d.ts +41 -1
- package/dist/utility/wrun/wrun-refusal.util.js +69 -2
- package/dist/utility/wrun/wrun-registry-errors.util.d.ts +1 -14
- package/dist/utility/wrun/wrun-registry-errors.util.js +0 -16
- package/dist/utility/wrun/wrun-row-source.d.ts +158 -0
- package/dist/utility/wrun/wrun-row-source.js +75 -0
- package/dist/utility/wrun/wrun-run-health.util.d.ts +155 -0
- package/dist/utility/wrun/wrun-run-health.util.js +273 -0
- package/dist/utility/wrun/wrun-socket-row-source.d.ts +439 -0
- package/dist/utility/wrun/wrun-socket-row-source.js +1689 -0
- package/dist/utility/wrun/wrun-socket-session-losses.util.d.ts +18 -0
- package/dist/utility/wrun/wrun-socket-session-losses.util.js +25 -0
- package/dist/utility/wrun/wrun-source-rows.util.d.ts +911 -0
- package/dist/utility/wrun/wrun-source-rows.util.js +2597 -0
- package/dist/utility/wrun/wrun-tape-source.util.d.ts +82 -0
- package/dist/utility/wrun/wrun-tape-source.util.js +151 -0
- package/dist/utility/wrun/wrun-tier-grid.util.d.ts +137 -0
- package/dist/utility/wrun/wrun-tier-grid.util.js +279 -0
- package/dist/utility/wrun/wrun-trades-lane.util.d.ts +52 -0
- package/dist/utility/wrun/wrun-trades-lane.util.js +58 -0
- package/dist/utility/wrun/wrun-volume-profile-lane.util.d.ts +41 -0
- package/dist/utility/wrun/wrun-volume-profile-lane.util.js +66 -0
- package/dist/utility/wrun-display-name.util.d.ts +33 -0
- package/dist/utility/wrun-display-name.util.js +64 -0
- package/dist/workers/constants/kscript-transport-codes.d.ts +15 -0
- package/dist/workers/constants/kscript-transport-codes.js +15 -0
- package/dist/workers/constants/socket-slots.d.ts +574 -0
- package/dist/workers/constants/socket-slots.js +539 -0
- package/dist/workers/utils/number.worker.util.d.ts +5 -0
- package/dist/workers/utils/number.worker.util.js +10 -0
- package/dist/workers/utils/time.worker.util.d.ts +12 -0
- package/dist/workers/utils/time.worker.util.js +24 -0
- package/dist/workers/utils/volume-profile.worker.util.d.ts +200 -0
- package/dist/workers/utils/volume-profile.worker.util.js +631 -0
- package/package.json +10 -4
package/README.md
CHANGED
|
@@ -10,9 +10,10 @@ Peers, pinned exactly (install them beside the package):
|
|
|
10
10
|
|
|
11
11
|
| Peer | Version | Why |
|
|
12
12
|
| --- | --- | --- |
|
|
13
|
-
| `@orangecharts/indicator-kit` | 0.
|
|
14
|
-
| `
|
|
15
|
-
| `
|
|
13
|
+
| `@orangecharts/indicator-kit` | 0.86.3 | the shared host's types (`@orangecharts/indicator-kit/host`); the host module itself comes through the env |
|
|
14
|
+
| `@orangecharts/orange-v2-pb-common` | 12.69.0 | the protocol enums the lanes, pins and venue rules read (`Exchange`, `Type`, `Category`), from 0.3.0 |
|
|
15
|
+
| `dayjs` | 1.11.23 | sessions and trading days (the `utc`, `timezone`, `isoWeek` and `quarterOfYear` plugins) |
|
|
16
|
+
| `lodash-es` | 4.18.1 | the color settings and the transforms, by per-function subpath |
|
|
16
17
|
|
|
17
18
|
The dist is ES modules (`"type": "module"`) with declarations. Import the entry or any module by its subpath:
|
|
18
19
|
|
|
@@ -21,9 +22,10 @@ import { setWrunChartHostEnv, readWrunHostedWire } from '@orangecharts/wrun-char
|
|
|
21
22
|
import { WRUN_FRAME_MAX_SLOTS } from '@orangecharts/wrun-chart-host/utility/wrun/wrun-frames';
|
|
22
23
|
```
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
`
|
|
26
|
-
`utility/wrun/wrun-style-words.util
|
|
25
|
+
At 0.3.0, 26 modules are reachable by subpath only (an export name of theirs resolves to another declaration in the
|
|
26
|
+
entry): the lane files (each exports `lane`, `lanes` or `rowLane`), `utility/chart/om-widget.util`,
|
|
27
|
+
`utility/wrun/wrun-frames`, `utility/wrun/wrun-pane-format.util` and `utility/wrun/wrun-style-words.util` among them.
|
|
28
|
+
`src/index.ts` names the modules it joins.
|
|
27
29
|
|
|
28
30
|
## The host env (ports)
|
|
29
31
|
|
|
@@ -56,6 +58,11 @@ setWrunChartHostEnv({
|
|
|
56
58
|
| `poolDexName(exchange, symbol)` | reserved | the pool's DEX name, if any |
|
|
57
59
|
| `diagnostics.debug`, `diagnostics.publishCanvasCostNotice` | reserved | the debug ring; the canvas cost row |
|
|
58
60
|
|
|
61
|
+
0.3.0 adds the phase 1 contract: six namespaces (`chart`, `user`, `market`, `transport`, `run`, `clock`) and three
|
|
62
|
+
`diagnostics` members, 42 in all, 22 of them read by 0.3.0 modules; a member a host has not adopted yet may throw by
|
|
63
|
+
name. Their payload types and loader views are `host-ports.types`. The guide lists every member, what reads it and
|
|
64
|
+
what web binds it.
|
|
65
|
+
|
|
59
66
|
A read before the set throws `wrun_chart_host_env_unset`. The env lives on the realm's global object under
|
|
60
67
|
`Symbol.for('@orangecharts/wrun-chart-host/env')`, so every copy of the package in a realm reads the same one.
|
|
61
68
|
|
|
@@ -77,6 +84,7 @@ What each published version holds. A host installs a version with the peers of i
|
|
|
77
84
|
|
|
78
85
|
| Version | Peers | What changed |
|
|
79
86
|
| --- | --- | --- |
|
|
87
|
+
| 0.3.0 | `@orangecharts/indicator-kit` 0.86.3, `@orangecharts/orange-v2-pb-common` 12.69.0, `dayjs` 1.11.23, `lodash-es` 4.18.1 | Three programs ship together. The settings templates: the nested entry `@orangecharts/wrun-chart-host/settings-templates`, one declared settings schema for every template (`TEMPLATE_SCHEMA_VERSION` 2). The phase 1 host contract: 42 env members (`host-env`) with their payload types and loader views (`host-ports.types`), 22 read by 0.3.0 modules, the rest reserved. Phase 1a's move: the lane layer (both lane registries, read through generated indexes, the lane files and planners), the row builder, legs and pins, the cloud row source and the main-grid stages, with what they read: 142 modules, 250 in all. The kit peer moves from 0.80.0 to 0.86.3 (leg streams and per-span levels) and the protocol enums package joins the peers. |
|
|
80
88
|
| 0.2.0 | `@orangecharts/indicator-kit` 0.80.0, `dayjs` 1.11.23, `lodash-es` 4.18.1 | The kit peer moves from 0.78.1 to 0.80.0. Three modules join, 101 in all: `utility/wrun/wrun-symbol-code.util` (the symbol codec of the options source classes), `utility/wrun/wrun-row-market.util` (the market a table row or feed line is about) and `utility/wrun/wrun-failure-cause` (why a run failed, as one closed word). The 12 package commits since 0.1.0, listed below. Lodash by subpath: the color settings import `lodash-es/isEqual`, never the `lodash-es` root, so a bundler that does not shake trees keeps one lodash module, not the library (`tests/packages/wrun-chart-host/lodash-subpath.spec.ts` refuses a root import in the package). |
|
|
81
89
|
| 0.1.0 | `@orangecharts/indicator-kit` 0.78.1, `dayjs` 1.11.23, `lodash-es` 4.18.1 | The first cut, packed from web 89fadab981: 98 modules, the wrun result reader and painter model with the host env. |
|
|
82
90
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const MOBILE_FOOTER_HEIGHT: string;
|
|
2
|
+
export declare const MOBILE_HEADER_HEIGHT: string;
|
|
3
|
+
export declare const MOBILE_TICKER_BAR_HEIGHT: string;
|
|
4
|
+
export declare const GLOBAL_NAV_HEIGHT: string;
|
|
5
|
+
export declare const DESKTOP_FOOTER_HEIGHT: string;
|
|
6
|
+
export declare const LOADER_TIMEOUT_MS = 40000;
|
|
7
|
+
export declare const MAX_CHARTS = 16;
|
|
8
|
+
/**
|
|
9
|
+
* Bars a cold chart load fetches and shows: the common store's default candle
|
|
10
|
+
* count (`numberOfCandles`, the boot fetch window). Rows that follow the loaded
|
|
11
|
+
* main range (the Delta Profile's) hold no more than this until history loads.
|
|
12
|
+
*/
|
|
13
|
+
export declare const DEFAULT_VISIBLE_BAR_COUNT = 250;
|
|
14
|
+
export declare const GRAYSCALE_TIMEOUT = 10000;
|
|
15
|
+
export declare const ENDPOINT_DISCOVERY_TIMEOUT_MS = 10000;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Visible height of the mobile bottom tab bar (MobileBottomTabBar.vue's
|
|
2
|
+
// `--nav-h`). Used to reserve viewport space so content doesn't sit behind
|
|
3
|
+
// the bar. Keep in sync with `--nav-h` in that component.
|
|
4
|
+
export const MOBILE_FOOTER_HEIGHT = '64px';
|
|
5
|
+
// Visible height of the mobile chart header stack: MobileChartHeader (44px) +
|
|
6
|
+
// MobileSubHeader (36px). Used to compute available chart area on mobile.
|
|
7
|
+
// Keep in sync with the `.mobile-chart-header` and `.mobile-sub-header`
|
|
8
|
+
// heights in those components.
|
|
9
|
+
export const MOBILE_HEADER_HEIGHT = '80px';
|
|
10
|
+
export const MOBILE_TICKER_BAR_HEIGHT = '48px';
|
|
11
|
+
export const GLOBAL_NAV_HEIGHT = '40px';
|
|
12
|
+
export const DESKTOP_FOOTER_HEIGHT = '36px';
|
|
13
|
+
export const LOADER_TIMEOUT_MS = 40000;
|
|
14
|
+
// Panes a layout can hold (a 4x4 template; pane-grid.constants MAX_PANE_GRID_PANES).
|
|
15
|
+
export const MAX_CHARTS = 16;
|
|
16
|
+
/**
|
|
17
|
+
* Bars a cold chart load fetches and shows: the common store's default candle
|
|
18
|
+
* count (`numberOfCandles`, the boot fetch window). Rows that follow the loaded
|
|
19
|
+
* main range (the Delta Profile's) hold no more than this until history loads.
|
|
20
|
+
*/
|
|
21
|
+
export const DEFAULT_VISIBLE_BAR_COUNT = 250;
|
|
22
|
+
export const GRAYSCALE_TIMEOUT = 10000; // 10 seconds
|
|
23
|
+
export const ENDPOINT_DISCOVERY_TIMEOUT_MS = 10_000;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const delimiter = "|";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const delimiter = '|';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Economic-series venue vocabulary (ECONOMY-DATA-CONTRACTS C1 / C12).
|
|
3
|
+
*
|
|
4
|
+
* Plain data, no Vue / Pinia / DOM: workers import it directly, and
|
|
5
|
+
* `marketKind.util.ts` derives the `'economic'` kind from these lists.
|
|
6
|
+
*
|
|
7
|
+
* Two wire paths share the kind:
|
|
8
|
+
* - `FRED` keeps today's `FRED_OBSERVATION_AGG` request (series id, FRED's own
|
|
9
|
+
* group-by), served from the FRED aggregate.
|
|
10
|
+
* - `ECONOMICS` (every catalog series, whatever agency publishes it) and the
|
|
11
|
+
* observation publishers (`US_TREASURY`, `ECB`, ...) ride the raw
|
|
12
|
+
* `OBSERVATION` type keyed by exchange plus symbol (C12).
|
|
13
|
+
*/
|
|
14
|
+
/** The legacy FRED venue: `FRED_OBSERVATION_AGG` on the wire. */
|
|
15
|
+
export declare const FRED_EXCHANGE = "FRED";
|
|
16
|
+
/** The catalog venue (C1): every catalog series uses it; the publisher lives in metadata. */
|
|
17
|
+
export declare const ECONOMICS_EXCHANGE = "ECONOMICS";
|
|
18
|
+
/**
|
|
19
|
+
* Venues served over the raw `OBSERVATION` type: the catalog venue plus the
|
|
20
|
+
* observation publishers that already serve their yield curves unchanged.
|
|
21
|
+
*/
|
|
22
|
+
export declare const ECONOMIC_PUBLISHER_EXCHANGES: readonly string[];
|
|
23
|
+
/** Every exchange code that resolves to the `'economic'` market kind. */
|
|
24
|
+
export declare const ECONOMIC_EXCHANGES: readonly string[];
|
|
25
|
+
/** Market-search wire types that answer with economic series rows (C12). */
|
|
26
|
+
export declare const ECONOMIC_SEARCH_TYPES: readonly string[];
|
|
27
|
+
/** Economic series are observed at most once a day: the interval floor, in ms. */
|
|
28
|
+
export declare const ECONOMIC_MIN_INTERVAL_MS: number;
|
|
29
|
+
/**
|
|
30
|
+
* The area whose flag a venue's series wear when the symbol names none: FRED is a US
|
|
31
|
+
* source, each observation publisher its central bank's or treasury's home.
|
|
32
|
+
*/
|
|
33
|
+
export declare const ECONOMIC_VENUE_AREAS: Readonly<Record<string, string>>;
|
|
34
|
+
/**
|
|
35
|
+
* Areas with a round flag at `public/flags/<code>.svg` (circle-flags, MIT): every area the
|
|
36
|
+
* catalog files a series under, `WW` being the world aggregates' globe. An area outside the set
|
|
37
|
+
* wears a lettered badge instead.
|
|
38
|
+
*/
|
|
39
|
+
export declare const ECONOMIC_FLAG_AREAS: ReadonlySet<string>;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Economic-series venue vocabulary (ECONOMY-DATA-CONTRACTS C1 / C12).
|
|
3
|
+
*
|
|
4
|
+
* Plain data, no Vue / Pinia / DOM: workers import it directly, and
|
|
5
|
+
* `marketKind.util.ts` derives the `'economic'` kind from these lists.
|
|
6
|
+
*
|
|
7
|
+
* Two wire paths share the kind:
|
|
8
|
+
* - `FRED` keeps today's `FRED_OBSERVATION_AGG` request (series id, FRED's own
|
|
9
|
+
* group-by), served from the FRED aggregate.
|
|
10
|
+
* - `ECONOMICS` (every catalog series, whatever agency publishes it) and the
|
|
11
|
+
* observation publishers (`US_TREASURY`, `ECB`, ...) ride the raw
|
|
12
|
+
* `OBSERVATION` type keyed by exchange plus symbol (C12).
|
|
13
|
+
*/
|
|
14
|
+
/** The legacy FRED venue: `FRED_OBSERVATION_AGG` on the wire. */
|
|
15
|
+
export const FRED_EXCHANGE = 'FRED';
|
|
16
|
+
/** The catalog venue (C1): every catalog series uses it; the publisher lives in metadata. */
|
|
17
|
+
export const ECONOMICS_EXCHANGE = 'ECONOMICS';
|
|
18
|
+
/**
|
|
19
|
+
* Venues served over the raw `OBSERVATION` type: the catalog venue plus the
|
|
20
|
+
* observation publishers that already serve their yield curves unchanged.
|
|
21
|
+
*/
|
|
22
|
+
export const ECONOMIC_PUBLISHER_EXCHANGES = [
|
|
23
|
+
ECONOMICS_EXCHANGE,
|
|
24
|
+
'BUNDESBANK',
|
|
25
|
+
'JAPAN_MOF',
|
|
26
|
+
'BANK_OF_CANADA',
|
|
27
|
+
'NORGES_BANK',
|
|
28
|
+
'RIKSBANK',
|
|
29
|
+
'SARB',
|
|
30
|
+
'ECB',
|
|
31
|
+
'RBA',
|
|
32
|
+
'BANK_OF_ENGLAND',
|
|
33
|
+
'BANK_OF_KOREA',
|
|
34
|
+
'BANQUE_DE_FRANCE',
|
|
35
|
+
'NBB',
|
|
36
|
+
'TESOURO_NACIONAL',
|
|
37
|
+
'US_TREASURY',
|
|
38
|
+
];
|
|
39
|
+
/** Every exchange code that resolves to the `'economic'` market kind. */
|
|
40
|
+
export const ECONOMIC_EXCHANGES = [FRED_EXCHANGE, ...ECONOMIC_PUBLISHER_EXCHANGES];
|
|
41
|
+
/** Market-search wire types that answer with economic series rows (C12). */
|
|
42
|
+
export const ECONOMIC_SEARCH_TYPES = ['FRED_OBSERVATION', 'OBSERVATION'];
|
|
43
|
+
/** Economic series are observed at most once a day: the interval floor, in ms. */
|
|
44
|
+
export const ECONOMIC_MIN_INTERVAL_MS = 24 * 60 * 60 * 1000;
|
|
45
|
+
/**
|
|
46
|
+
* The area whose flag a venue's series wear when the symbol names none: FRED is a US
|
|
47
|
+
* source, each observation publisher its central bank's or treasury's home.
|
|
48
|
+
*/
|
|
49
|
+
export const ECONOMIC_VENUE_AREAS = {
|
|
50
|
+
[FRED_EXCHANGE]: 'US',
|
|
51
|
+
BUNDESBANK: 'DE',
|
|
52
|
+
JAPAN_MOF: 'JP',
|
|
53
|
+
BANK_OF_CANADA: 'CA',
|
|
54
|
+
NORGES_BANK: 'NO',
|
|
55
|
+
RIKSBANK: 'SE',
|
|
56
|
+
SARB: 'ZA',
|
|
57
|
+
ECB: 'EU',
|
|
58
|
+
RBA: 'AU',
|
|
59
|
+
BANK_OF_ENGLAND: 'GB',
|
|
60
|
+
BANK_OF_KOREA: 'KR',
|
|
61
|
+
BANQUE_DE_FRANCE: 'FR',
|
|
62
|
+
NBB: 'BE',
|
|
63
|
+
TESOURO_NACIONAL: 'BR',
|
|
64
|
+
US_TREASURY: 'US',
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Areas with a round flag at `public/flags/<code>.svg` (circle-flags, MIT): every area the
|
|
68
|
+
* catalog files a series under, `WW` being the world aggregates' globe. An area outside the set
|
|
69
|
+
* wears a lettered badge instead.
|
|
70
|
+
*/
|
|
71
|
+
export const ECONOMIC_FLAG_AREAS = new Set(('AD AE AF AG AL AM AO AR AS AT AU AW AZ BA BB BD BE BF BG BH BI BJ BM BN BO BR BS BT BW BY BZ CA CD ' +
|
|
72
|
+
'CF CG CH CI CL CM CN CO CR CU CV CW CY CZ DE DJ DK DM DO DZ EC EE EG ER ES ET EU FI FJ FM FO FR GA ' +
|
|
73
|
+
'GB GD GE GH GI GL GM GN GQ GR GT GU GW GY HK HN HR HT HU ID IE IL IM IN IQ IR IS IT JM JO JP KE KG ' +
|
|
74
|
+
'KH KI KM KN KP KR KW KY KZ LA LB LC LI LK LR LS LT LU LV LY MA MC MD ME MF MG MH MK ML MM MN MO MP ' +
|
|
75
|
+
'MR MT MU MV MW MX MY MZ NA NC NE NG NI NL NO NP NR NZ OM PA PE PF PG PH PK PL PR PS PT PW PY QA RO ' +
|
|
76
|
+
'RS RU RW SA SB SC SD SE SG SI SK SL SM SN SO SR SS ST SV SX SY SZ TC TD TG TH TJ TL TM TN TO TR TT ' +
|
|
77
|
+
'TV TW TZ UA UG US UY UZ VC VE VG VI VN VU WS WW XK YE ZA ZM ZW').split(' '));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ETF_COVERED_COINS: readonly string[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Spot-ETF coverage: only these coins have listed ETFs backing the ETF family
|
|
2
|
+
// (premium rate, holdings, cumulative flow). The fetch path shows a standing
|
|
3
|
+
// coverage message for any other coin instead of dispatching a request that
|
|
4
|
+
// can only come back empty (the BTC-fallback-symbol class). Keep in sync with
|
|
5
|
+
// DEFAULT_ETF_SYMBOLS in the etf-premium-rate control and its settings dialog.
|
|
6
|
+
//
|
|
7
|
+
// A leaf with no imports (indicator.constants re-exports it): the wrun ETF lanes load it lazily, and the constants
|
|
8
|
+
// module they loaded before drags the i18n plugin, which the wrun chart-host package may not reach.
|
|
9
|
+
export const ETF_COVERED_COINS = ['BTC', 'ETH', 'SOL'];
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export declare const FeatureFlag: {
|
|
2
|
+
readonly BootProvisionalAllFamilies: "boot-provisional-all-families";
|
|
3
|
+
readonly BootMainHedge: "boot-main-hedge";
|
|
4
|
+
readonly RobinhoodTrading: "robinhood-trading";
|
|
5
|
+
readonly PulseMain: "pulse-main";
|
|
6
|
+
readonly OmBoard: "om-board";
|
|
7
|
+
readonly ScriptOffers: "script-offers";
|
|
8
|
+
readonly PaperTrading: "paper-trading";
|
|
9
|
+
readonly TradingHub: "trading-hub";
|
|
10
|
+
readonly DataLoadHealRegister: "data-load-heal-register";
|
|
11
|
+
readonly CollabSyncV2: "collab-sync-v2";
|
|
12
|
+
readonly DataLoadCrossChartJoin: "data-load-cross-chart-join";
|
|
13
|
+
readonly DataLoadFamilySecondChild: "data-load-family-second-child";
|
|
14
|
+
readonly ToolsDelta: "tools-delta";
|
|
15
|
+
readonly FreeTrial: "free-trial";
|
|
16
|
+
readonly MyAccess: "my-access";
|
|
17
|
+
readonly KscriptTwinConvert: "kscript-twin-convert";
|
|
18
|
+
readonly WrunRegistryDev: "wrun-registry-dev";
|
|
19
|
+
readonly RegistrySession: "registry-session";
|
|
20
|
+
readonly SharingHub: "sharing-hub";
|
|
21
|
+
readonly PerfGestureTrace: "perf-gesture-trace";
|
|
22
|
+
readonly PerfRestLane: "perf-rest-lane";
|
|
23
|
+
readonly PerfAffineBlit: "perf-affine-blit";
|
|
24
|
+
readonly NextBuildPrefetch: "next-build-prefetch";
|
|
25
|
+
readonly ExactPixelRatio: "exact-pixel-ratio";
|
|
26
|
+
readonly PrepaidPlusCn: "prepaid-plus-cn";
|
|
27
|
+
readonly ApiConsole: "api-console";
|
|
28
|
+
readonly Opra: "opra";
|
|
29
|
+
readonly OpraUserScripts: "opra-user-scripts";
|
|
30
|
+
readonly OpraAlerts: "opra-alerts";
|
|
31
|
+
readonly PlusUsdcAutopay: "plus-usdc-autopay";
|
|
32
|
+
readonly EmsHyperliquid: "ems-hyperliquid";
|
|
33
|
+
readonly AgentsSurface: "agents-surface";
|
|
34
|
+
readonly Layers: "layers";
|
|
35
|
+
readonly TierSaveCarry: "tier-save-carry";
|
|
36
|
+
readonly DataLoadMainPlan: "data-load-main-plan";
|
|
37
|
+
readonly DataLoadReceiptSettle: "data-load-receipt-settle";
|
|
38
|
+
readonly PerfGestureYEnvelope: "perf-gesture-y-envelope";
|
|
39
|
+
readonly PeopleSearch: "people-search";
|
|
40
|
+
readonly GatewayV3: "gateway-v3";
|
|
41
|
+
readonly KscriptPauseSuspendsPaint: "kscript-pause-suspends-paint";
|
|
42
|
+
readonly Feeds: "feeds";
|
|
43
|
+
readonly SynopticStreams: "synoptic-streams";
|
|
44
|
+
};
|
|
45
|
+
export type FeatureFlagKey = (typeof FeatureFlag)[keyof typeof FeatureFlag];
|
|
46
|
+
export declare const FEATURE_FLAG_KEYS: FeatureFlagKey[];
|
|
47
|
+
/**
|
|
48
|
+
* localStorage mirror of `perf-gesture-y-envelope`, written by the flags store
|
|
49
|
+
* on every SUCCESSFUL fetch and read once per page at chart construction (the
|
|
50
|
+
* same shape as the gateway-v3 mirror, GATEWAY_V3_MIRROR_KEY): the chart route builds the
|
|
51
|
+
* chart before the flag fetch resolves, so the arm is the previous fetch's
|
|
52
|
+
* verdict, one boot stale at most. Values: '1' / '0' = the FETCHED flag (the
|
|
53
|
+
* server's per-user bucket, staff included), reported as arm source `flag`;
|
|
54
|
+
* 'override:1' / 'override:0' = the dev/internal `kiyo.flag-overrides` lens
|
|
55
|
+
* outranked the fetched value, reported as source `override` so readouts drop
|
|
56
|
+
* the row. A failed fetch never touches it, so an outage cannot move a user
|
|
57
|
+
* between arms; logout removes it so a guest boot never rides the previous
|
|
58
|
+
* account's verdict.
|
|
59
|
+
*/
|
|
60
|
+
export declare const PERF_GESTURE_Y_ENVELOPE_MIRROR_KEY: string;
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
// FE registry for runtime feature-flag typing and drift detection. The user-
|
|
2
|
+
// service DB documents are the enforcement authority; there is no backend
|
|
3
|
+
// registry. Benjamin creates flags through the admin panel, initially disabled;
|
|
4
|
+
// keys use lowercase kebab-case with no underscores.
|
|
5
|
+
//
|
|
6
|
+
// Reference flags as `FeatureFlag` members, not raw strings, so editor rename and
|
|
7
|
+
// find-all-references work when adding or removing a flag. The string values are
|
|
8
|
+
// the DB keys; rename the member, never the value.
|
|
9
|
+
export const FeatureFlag = {
|
|
10
|
+
// Candle-parallel Phase 0 (plan: KIYO-CANDLE-PHASE0-PLAN.md): the lane is on
|
|
11
|
+
// for every signed-in account (`boot-provisional-fetch` graduated
|
|
12
|
+
// 2026-10-19). All-families is an override-only rig lever that widens the
|
|
13
|
+
// family allowlist (boot-candle-intent.util isFamilyAllowed).
|
|
14
|
+
BootProvisionalAllFamilies: 'boot-provisional-all-families',
|
|
15
|
+
// Boot main-candle hedge (docs/features/data/loading/README.md#boot-hedge-invariant): one bypass
|
|
16
|
+
// retry of a boot candle request that was sent 8 s or more before the 10 s boot race ended and has
|
|
17
|
+
// not answered. DEFAULT ON kill switch in the boot-provisional shape: a compile-time HARD_KILL
|
|
18
|
+
// above an `isExplicitlyOff` read (titan-charts isBootMainHedgeEnabled), so unminted, unloaded and
|
|
19
|
+
// guest read on; mint it `enabled: false` (or set it false in `kiyo.flag-overrides`) to stop it.
|
|
20
|
+
BootMainHedge: 'boot-main-hedge',
|
|
21
|
+
// On-chain spot swaps from the chart on Robinhood; minted dark, internal roles see it on. Solana's
|
|
22
|
+
// key (`solana-trading`) graduated 2026-10-19: Solana swaps are on for every signed-in session.
|
|
23
|
+
RobinhoodTrading: 'robinhood-trading',
|
|
24
|
+
// Kill switch for Pulse Main mode inside the Pulse lane: read with isExplicitlyOff, so unminted = on.
|
|
25
|
+
// The Pulse lane itself (`pulse`) graduated 2026-10-19: on for every signed-in session
|
|
26
|
+
// (`isPulseSurfaceEnabled`); orange still checks the `pulse` doc server-side.
|
|
27
|
+
PulseMain: 'pulse-main',
|
|
28
|
+
// OM Board, the in-app forum (docs/features/academy/README.md): every door (footer button, profile
|
|
29
|
+
// row, mobile tile, super search rows and command, Share chart, Share this replay, Write a post),
|
|
30
|
+
// the backlinks on the indicator surfaces and the /board pages read this one key through `isOn`
|
|
31
|
+
// (useOmBoardFlag): unminted, absent and guest all read off, so production ships it dark; an
|
|
32
|
+
// internal role reads it on, the dev override lights it locally. Mint it enabled to open it up.
|
|
33
|
+
OmBoard: 'om-board',
|
|
34
|
+
// Author-side script offers ONLY (the "Offer to a client" entry in the
|
|
35
|
+
// publish dialog's grant strip). The operator inbox, placements, and
|
|
36
|
+
// notification renderers are clientId-gated and data-dormant, so they ship
|
|
37
|
+
// ungated; this key holds back the one retail-reachable producer.
|
|
38
|
+
ScriptOffers: 'script-offers',
|
|
39
|
+
// Paper trading, the virtual `paper` venue (docs/features/cex-execution/README.md, "Virtual venue:
|
|
40
|
+
// paper"). Rides this key, read through `isOn` (`isPaperTradingOn`):
|
|
41
|
+
// unminted, absent and guest all read off, so production ships it dark; an internal role reads it
|
|
42
|
+
// on through the server's bypass, the dev/internal localStorage override lights it locally
|
|
43
|
+
// (`kiyo.flag-overrides` -> `{"paper-trading": true}`). Mint it enabled to open it up. The build
|
|
44
|
+
// switch `PAPER_TRADING_ENABLED` still takes the whole venue out of a build.
|
|
45
|
+
PaperTrading: 'paper-trading',
|
|
46
|
+
// The trading hub (docs/features/trading-hub/README.md): one Trade door beside the avatar that
|
|
47
|
+
// folds the desktop's linking, accounts and trade settings into one dialog. Rides the master
|
|
48
|
+
// trading flag AND this key, read through `isOn` (`isTradingHubOn`): unminted, absent and guest
|
|
49
|
+
// all read off, so production ships it dark; an internal role reads it on through the server's
|
|
50
|
+
// bypass, the dev/internal localStorage override lights it locally (`kiyo.flag-overrides` ->
|
|
51
|
+
// `{"trading-hub": true}`). Mint it enabled to open it up. Phones keep today's surfaces either way.
|
|
52
|
+
TradingHub: 'trading-hub',
|
|
53
|
+
// Collab-sync kill switch (Phase 1: DEFAULT ON; the flag exists only to
|
|
54
|
+
// force the legacy lanes back, by minting it disabled in the admin panel
|
|
55
|
+
// plus a page reload). Mode is generation-pinned per collab session
|
|
56
|
+
// (src/collab-sync/flags.ts).
|
|
57
|
+
// Data-loading program S6 (plan: DATA-LOADING-PLAN.md): background lanes,
|
|
58
|
+
// poll cadence inputs and recovery terminals. Default-ON kill switch in the
|
|
59
|
+
// boot-provisional shape (a compile-time HARD_KILL above an isExplicitlyOff
|
|
60
|
+
// read, fetch-dedupe-policy.util.ts); minting it `enabled: false` restores
|
|
61
|
+
// the immediate footprint heals, the multi-trigger resync and the
|
|
62
|
+
// session-blind poll cadence for every cohort.
|
|
63
|
+
DataLoadHealRegister: 'data-load-heal-register',
|
|
64
|
+
CollabSyncV2: 'collab-sync-v2',
|
|
65
|
+
// Data-loading plan S11 kill switch (DEFAULT ON, boot-provisional shape:
|
|
66
|
+
// a compile-time HARD_KILL above `!isExplicitlyOff`, data-fetching.util
|
|
67
|
+
// isCrossChartJoinEnabled): panes on the same market, interval and overlay
|
|
68
|
+
// settings share one transport-owned wire request per bucket. Minting it
|
|
69
|
+
// disabled makes the V2Service registry single-subscriber again (every
|
|
70
|
+
// dispatch posts its own request, no attach).
|
|
71
|
+
DataLoadCrossChartJoin: 'data-load-cross-chart-join',
|
|
72
|
+
// Data-loading program S10b (plan: DATA-LOADING-PLAN.md, decision 6): a
|
|
73
|
+
// second split child in flight per book family (bookFrames lane) when the
|
|
74
|
+
// lane has a free slot and no other family is queued. Launch shape,
|
|
75
|
+
// default OFF (`isOn`): unminted, guest and absent all read one child per
|
|
76
|
+
// family; flipped only after the CME rig readout (same ladder rows, walk
|
|
77
|
+
// time about halved). Read once per family at plan time
|
|
78
|
+
// (data-fetching.util isFamilySecondChildEnabled).
|
|
79
|
+
DataLoadFamilySecondChild: 'data-load-family-second-child',
|
|
80
|
+
// Drawing deltas default ON when absent. An explicit false selects guarded
|
|
81
|
+
// snapshots per workspace; the server kill switch covers cached sessions.
|
|
82
|
+
ToolsDelta: 'tools-delta',
|
|
83
|
+
FreeTrial: 'free-trial',
|
|
84
|
+
MyAccess: 'my-access',
|
|
85
|
+
// Saved built-in kScript rows (RSI, EMA, SMA, ...) swapped in place for their
|
|
86
|
+
// PROVEN `@om-core` twins at the chart's boot tail, settings carried, the
|
|
87
|
+
// original row kept inside the twin row as `kscriptOrigin` for an exact
|
|
88
|
+
// revert (plan KSCRIPT-TWIN-CONVERT-PLAN.md, docs/features/kscript/twin-conversion.md).
|
|
89
|
+
// PERCENT flag in the perf-gesture-y-envelope shape: the user service buckets
|
|
90
|
+
// each account against `rolloutPercent` on the doc (a stable per-user hash;
|
|
91
|
+
// internal roles are NOT bypassed on a percent flag) and the FE receives a
|
|
92
|
+
// boolean. Read with `isOn` semantics only: absent, unminted and unloaded all
|
|
93
|
+
// read false; no DEV_FORCED_FLAGS and no GUEST_DEFAULT_FLAGS entry (a guest
|
|
94
|
+
// has no workspace to convert). Read ONLY by
|
|
95
|
+
// src/services/kscript-twin-convert.service.ts at the boot tail, and only once
|
|
96
|
+
// the flag map is `loaded && !fetchFailed` (a failed fetch converts nothing).
|
|
97
|
+
// QA: `localStorage.setItem('kiyo.flag-overrides', '{"kscript-twin-convert":true}')`
|
|
98
|
+
// (dev builds and internal roles). Mint by Benjamin or Kyle in the admin
|
|
99
|
+
// panel, `enabled: false`, then `rolloutPercent: 10`; the readout decides 50
|
|
100
|
+
// and 100. Kill = PATCH `enabled: false` or `rolloutPercent: 0` on the doc:
|
|
101
|
+
// a converted row reverts to its original row at its NEXT boot (the flag is
|
|
102
|
+
// read at the boot tail, never mid-session), one reconcile save per chart.
|
|
103
|
+
KscriptTwinConvert: 'kscript-twin-convert',
|
|
104
|
+
// Developer tools of the Indicators tab (add a package by exact name, this
|
|
105
|
+
// browser's publish receipts). Read ONLY through the dev/internal
|
|
106
|
+
// localStorage override (`kiyo.flag-overrides` -> `{"wrun-registry-dev": true}`,
|
|
107
|
+
// useFeatureFlagsStore().explicitOverride): never a fetched value, never an
|
|
108
|
+
// isInternalRole compose, so retail never sees the block and a minted doc
|
|
109
|
+
// changes nothing.
|
|
110
|
+
WrunRegistryDev: 'wrun-registry-dev',
|
|
111
|
+
// The in-chart registry session (KSCRIPT-SUNSET contract C2): the SSO
|
|
112
|
+
// ticket exchange mints a registry API token the chart sends as
|
|
113
|
+
// `Authorization: Bearer` on the registry's /v1 doors: private reads for
|
|
114
|
+
// the browser lane, Mine from the owner catalog, in-app publish, the
|
|
115
|
+
// owner actions. Read ONLY through `isRegistrySessionEnabled()`
|
|
116
|
+
// (src/utility/wrun/wrun-registry-gate.util.ts), which is off for a guest
|
|
117
|
+
// and reads this key as a KILL SWITCH (`isExplicitlyOff`):
|
|
118
|
+
// unminted, absent and unloaded all keep the session on inside the lane; a
|
|
119
|
+
// doc minted `enabled: false` darkens it without a deploy (no exchange
|
|
120
|
+
// call, no bearer, the popup publish, Mine falls back to the listing's
|
|
121
|
+
// own-scope slice). Registry side: the door is live only where
|
|
122
|
+
// OM_REGISTRY_WEB_TOKENS is on, which the service reads as "no session" too.
|
|
123
|
+
RegistrySession: 'registry-session',
|
|
124
|
+
// The sharing hub (right-click sharing, the Share sheet, the Sharing window,
|
|
125
|
+
// Discord and Whop connections): NO launch flag of its own. It RIDES the
|
|
126
|
+
// Indicators lane and the registry session (`isSharingHubEnabled()` in
|
|
127
|
+
// src/utility/sharing/sharing-hub-gate.util.ts, the one predicate), so there
|
|
128
|
+
// is nothing to mint; this key is a KILL SWITCH only, read as
|
|
129
|
+
// `isExplicitlyOff`: unminted, absent and unloaded keep the hub on inside
|
|
130
|
+
// the lane, and a doc resolving `false` (mint `{enabled: false,
|
|
131
|
+
// rolloutPercent: 0}`, like registry-session) darkens it without a deploy.
|
|
132
|
+
SharingHub: 'sharing-hub',
|
|
133
|
+
// Passive perf lanes (PERF-DIAG-PLAN.md). The slow-drag frame trace on
|
|
134
|
+
// perf:gesture-frames is DEFAULT ON since 2026-09-25 (its own device cohort,
|
|
135
|
+
// tab budget and byte cap bound the volume); this key is an admin KILL SWITCH
|
|
136
|
+
// read through `isExplicitlyOff` (mint it `enabled: false` to stop the trace
|
|
137
|
+
// at the next page load; unminted runs it, guests included), published into
|
|
138
|
+
// src/utils/telemetryGates.ts after each fetch.
|
|
139
|
+
PerfGestureTrace: 'perf-gesture-trace',
|
|
140
|
+
// The counter deltas and surface census on perf:rollup are DEFAULT ON; this
|
|
141
|
+
// key is an admin KILL SWITCH read through `isExplicitlyOff` (mint it
|
|
142
|
+
// `enabled: false` to darken the fields for signed-in users).
|
|
143
|
+
PerfRestLane: 'perf-rest-lane',
|
|
144
|
+
// Affine gesture blits A/B (RENDER-FEEL-PLAN.md, "A/B LANDING"): titan's
|
|
145
|
+
// `gestureAffineBlit: 'clear'` for half of Chromium browsers, a sticky
|
|
146
|
+
// device arm drawn in gesture-affine-blit-experiment.util. This key is an
|
|
147
|
+
// admin KILL SWITCH read through `isExplicitlyOff`: unminted or `enabled:
|
|
148
|
+
// true` runs the A/B (no mint needed to start); mint it `enabled: false` to
|
|
149
|
+
// withdraw the arm at the next page load (flags fetch once per page, like
|
|
150
|
+
// PerfRestLane). Published into src/utils/telemetryGates.ts after each
|
|
151
|
+
// fetch; the chart graph applies the arm to the live charts when the gates
|
|
152
|
+
// publish or reset. Internal roles resolve every minted flag ON, so the
|
|
153
|
+
// readout excludes them (`userRole`); guests never fetch and run on the
|
|
154
|
+
// default (enrolled).
|
|
155
|
+
PerfAffineBlit: 'perf-affine-blit',
|
|
156
|
+
// Background prefetch of the next build's startup files while a chart tab is open
|
|
157
|
+
// (src/utility/perf/next-build-prefetch.util.ts). DEFAULT ON; this key is an admin
|
|
158
|
+
// KILL SWITCH read through `isExplicitlyOff`: mint it `enabled: false` to stop the
|
|
159
|
+
// watcher at the next page load. Published into src/utils/telemetryGates.ts.
|
|
160
|
+
NextBuildPrefetch: 'next-build-prefetch',
|
|
161
|
+
// Exact pixel ratio (src/utility/chart/pixel-ratio-policy.util.ts): charts on
|
|
162
|
+
// Chromium draw at the display's own ratio instead of titan's nearest-whole
|
|
163
|
+
// rounding (a 1.25 display at 1.25, not 1). DEFAULT ON; this key is an admin
|
|
164
|
+
// KILL SWITCH read through `isExplicitlyOff`: unminted, absent and unloaded
|
|
165
|
+
// keep the policy on, and a doc minted `{ enabled: false, rolloutPercent: 0 }`
|
|
166
|
+
// (staff included) puts a page back on today's rounding at its next flag
|
|
167
|
+
// fetch (flags fetch once per page). Published into src/utils/telemetryGates.ts
|
|
168
|
+
// after each fetch; the policy re-resolves on the publish, so charts mounted
|
|
169
|
+
// before the fetch follow it. Guests never fetch flags and keep the policy
|
|
170
|
+
// whatever the doc says.
|
|
171
|
+
ExactPixelRatio: 'exact-pixel-ratio',
|
|
172
|
+
// Wallet-payable prepaid Plus for the Chinese audience. Gates the purchase-mode
|
|
173
|
+
// toggle in the upgrade surfaces only; the backend prepaid route is live regardless
|
|
174
|
+
// (its own state guards enforce eligibility). Flips on after Stripe wallet
|
|
175
|
+
// activation and a sandbox session per wallet succeed.
|
|
176
|
+
PrepaidPlusCn: 'prepaid-plus-cn',
|
|
177
|
+
// The data API product's selling surfaces (global-nav button, mobile tile,
|
|
178
|
+
// /console/home + /console/plans). Taken OFF SALE 2026-09: shipped dark and
|
|
179
|
+
// read with `isOn`, so unminted or minted dark hides it from guests and
|
|
180
|
+
// retail while a paying subscriber keeps keys/usage through `isPaid`
|
|
181
|
+
// (src/utility/console/api-console-gate.util.ts). Flip `enabled: true` to
|
|
182
|
+
// relaunch for signed-in users. The build-time `API_PRODUCT_LIVE` switch in
|
|
183
|
+
// that file (on since the 2026-09-16 relaunch) opens the shelf to everyone,
|
|
184
|
+
// guests included, and outranks this flag while it holds.
|
|
185
|
+
ApiConsole: 'api-console',
|
|
186
|
+
// OPRA (US equity and index options) on the chart: the option venue row, the stock-row Options
|
|
187
|
+
// affordance, contract charts and the purchase screens. Minted dark; the data tier itself is the
|
|
188
|
+
// OPRA gate's and never flips with this flag (employees stay delayed like everyone).
|
|
189
|
+
Opra: 'opra',
|
|
190
|
+
// User-authored scripts on OPRA (UW-PARITY H2; Kyle 2026-10-17 assumed the OPRA permission for
|
|
191
|
+
// user-authored scripts): while lit, a script the browser runs that the viewer wrote or added from the
|
|
192
|
+
// community (an Indicator draft, a community package, a kScript user script) reads US options like an
|
|
193
|
+
// OpenMarket package: the wrun chain wall (`opra-official-only`), the display wall, the data wall and the
|
|
194
|
+
// engine policy all lift for it on the OPRA plane only (kscript-venue-policy.util `isOpraUserScriptRun`,
|
|
195
|
+
// the one decision). The provenance stamp, the chart_read and MCP withhold, the CSV export refusal and
|
|
196
|
+
// the delayed legend note stay; hosted Cloud runs and protected scripts stay walled (server lanes). To be
|
|
197
|
+
// minted dark (admin panel); read with `isOn` (absent, unloaded and guest read off): `opraUserScriptsEnabled()`
|
|
198
|
+
// (opra-options-gate.util) on the main thread, the published gate (opra-user-scripts-gate.util) in the
|
|
199
|
+
// venue policy. QA: `localStorage.setItem('kiyo.flag-overrides', '{"opra-user-scripts":true}')`.
|
|
200
|
+
OpraUserScripts: 'opra-user-scripts',
|
|
201
|
+
// Alerts on US options (UW-PARITY H3, the OPRA server lanes): while lit, a viewer the OPRA gate serves real-time
|
|
202
|
+
// can set a price alert or an Indicator alert on a US option contract, which the alerts engine evaluates on its
|
|
203
|
+
// OPRA lane (the contract's own candles, for the alert's owner alone). Off: today's refusal on every alert door.
|
|
204
|
+
// Lit and delayed: the delayed variant with its one way out (the OPRA real-time page). Read through the one door
|
|
205
|
+
// (`opraAlertDoorVerdict`, src/utility/alerts/opra-alert-door.util.ts). The server lanes read the same key for the
|
|
206
|
+
// alert's owner (tharamine's internal per-user read), so a door the chart opens is one the engine admits. To be
|
|
207
|
+
// minted dark (admin panel); QA: `localStorage.setItem('kiyo.flag-overrides', '{"opra-alerts":true}')`.
|
|
208
|
+
OpraAlerts: 'opra-alerts',
|
|
209
|
+
// Kiyo Plus billed in USDC on Solana, auto-renewing (plan: PLUS-USDC-AUTOPAY-PLAN.md).
|
|
210
|
+
// Gates every surface of the lane: the third method button on /plus, the on-chain
|
|
211
|
+
// subscribe dialog, the on-chain billing card, and the USDC purchase mode in the
|
|
212
|
+
// upgrade dialog. Shipped dark; the orange routes answer 503 until their own
|
|
213
|
+
// KIYO_PLUS_ONCHAIN_ENABLED flips, so a lit flag alone sells nothing. Flag off =
|
|
214
|
+
// the page is byte-identical in behaviour (pinned by a structural spec).
|
|
215
|
+
PlusUsdcAutopay: 'plus-usdc-autopay',
|
|
216
|
+
// The Hyperliquid EMS algo surfaces (Algo TWAP/VWAP in the ticket, the Algos tab, the signer
|
|
217
|
+
// session). Minted dark, so a build ships the algo code with nothing reachable until the key is lit.
|
|
218
|
+
EmsHyperliquid: 'ems-hyperliquid',
|
|
219
|
+
// Kill switch for the agent (MCP) entry points, launched 2026-09-29: the footer Agents pill, the
|
|
220
|
+
// Connect an Agent dialog, the search rows, Console > Agents and the launch announcement. DEFAULT
|
|
221
|
+
// ON: read only through `agentsSurfaceEnabled()` (`!isExplicitlyOff`); mint it `enabled: false`
|
|
222
|
+
// to hide them all for retail.
|
|
223
|
+
AgentsSurface: 'agents-surface',
|
|
224
|
+
// Event layers (OM-EVENT-LAYERS phase 1): the chart's news lane reads the
|
|
225
|
+
// placed layers (the shared-watch ledger) instead of the per-chart pin
|
|
226
|
+
// documents. Composed on the news-lane surface gate inside
|
|
227
|
+
// `layersEnabled()` (src/utility/chart/layers-gate.util.ts), the ONE
|
|
228
|
+
// predicate the three consumer seams read; never `isOn` inline. Minted
|
|
229
|
+
// dark; on for staging. An anonymous session rides the lane's build force
|
|
230
|
+
// instead (a runtime flag never lights for guests), so a signed-out
|
|
231
|
+
// visitor of a shared chart sees its public layers where the lane is
|
|
232
|
+
// forced on.
|
|
233
|
+
Layers: 'layers',
|
|
234
|
+
// Kill switch for "saves never freeze" (tier-locked rows ride every save
|
|
235
|
+
// instead of freezing persistence). DEFAULT ON: read through
|
|
236
|
+
// `isTierSaveCarryOn()`; mint it `enabled: false` to bring back the freeze.
|
|
237
|
+
TierSaveCarry: 'tier-save-carry',
|
|
238
|
+
// Kill switch for the main coverage step, PLAN (data-loading plan S4).
|
|
239
|
+
// DEFAULT ON: read ONCE per chart context token through `isMainPlanEnabled()`
|
|
240
|
+
// (src/utility/chart/fetch-dedupe-policy.util.ts); mint it `enabled: false`
|
|
241
|
+
// to restore the full-window ask and the whole-window replace arms.
|
|
242
|
+
DataLoadMainPlan: 'data-load-main-plan',
|
|
243
|
+
// Kill switch for settled-bar receipts (receipts cover settled bars only,
|
|
244
|
+
// PLAN widens over mounted rows no receipt covers, the live-silent main
|
|
245
|
+
// poll). DEFAULT ON: read ONCE per chart context token through
|
|
246
|
+
// `isReceiptSettleEnabled()` (src/utility/chart/fetch-dedupe-policy.util.ts);
|
|
247
|
+
// mint it `enabled: false` to restore today's receipts and polls.
|
|
248
|
+
DataLoadReceiptSettle: 'data-load-receipt-settle',
|
|
249
|
+
// Perf experiment arm (PERF-AUTONOMY F4, epoch 2): titan's 'envelope'
|
|
250
|
+
// price-range policy on drags, gesture-y-snap-experiment.util. The user
|
|
251
|
+
// service buckets each user against `rolloutPercent` on the flag doc (a
|
|
252
|
+
// stable per-user hash; internal roles are NOT bypassed on a percent flag),
|
|
253
|
+
// so the FE still receives a boolean and never holds a percent of its own.
|
|
254
|
+
// Guests never receive flags, so they are always the control arm. Read with
|
|
255
|
+
// `isOn` semantics only, never `isExplicitlyOff`. Readout key: `ySnapMode`
|
|
256
|
+
// on perf:gesture-frames (`envelope` = arm, `auto` = control), beside
|
|
257
|
+
// `ySnapArmSource` and `ySnapArmEpoch`. Kill = PATCH `enabled: false` or
|
|
258
|
+
// `rolloutPercent: 0` on the doc; it reaches new page loads after the
|
|
259
|
+
// server cache (30 s), the next fetch, and one more boot (the arm is read
|
|
260
|
+
// from the mirror below at chart construction).
|
|
261
|
+
PerfGestureYEnvelope: 'perf-gesture-y-envelope',
|
|
262
|
+
// People search in the command palette (`/users/search`, `/users/suggested`).
|
|
263
|
+
// The user service refuses a caller the doc does not expose with a 404, so
|
|
264
|
+
// the provider asks only when this resolves on: the same minted doc, the
|
|
265
|
+
// same role rule, read through the one flag fetch.
|
|
266
|
+
PeopleSearch: 'people-search',
|
|
267
|
+
// Gateway v3 kill switch (docs/features/data/gateway-v3.md#gateway-v3):
|
|
268
|
+
// on = v3 routes allowed. Absent or unloaded reads off, so every route stays
|
|
269
|
+
// on v2; the internal-role bypass turns it on for staff once the doc exists.
|
|
270
|
+
// Disabling the doc sends every v3 route back to v2, at boot
|
|
271
|
+
// (GATEWAY_V3_MIRROR_KEY) and mid-session.
|
|
272
|
+
GatewayV3: 'gateway-v3',
|
|
273
|
+
// kscriptPauseSuspendsPaint (GUARDS-10): a pause for paint cost suspends the
|
|
274
|
+
// paused overlay's paint through titan's door (kscript-perf-paint-suspend.util).
|
|
275
|
+
// Until the engine's retained frozen layer lands the door skips the overlay
|
|
276
|
+
// entirely, so the paused indicator's drawing is HIDDEN until Resume (its
|
|
277
|
+
// paused card says so). DEFAULT ON (the compile-time KSCRIPT_PAUSE_SUSPENDS_PAINT
|
|
278
|
+
// decides the default); read through `isExplicitlyOff`: mint it
|
|
279
|
+
// `{ enabled: false, rolloutPercent: 0 }` to keep every paused overlay's frozen
|
|
280
|
+
// picture painting, staff included.
|
|
281
|
+
KscriptPauseSuspendsPaint: 'kscript-pause-suspends-paint',
|
|
282
|
+
// Live Series feeds (docs/features/indicators/feeds.md): gates ADDING a feed (the Feeds chip of
|
|
283
|
+
// the indicator dialog and the feeds super-search provider). Rendering a feed a workspace already
|
|
284
|
+
// holds is never gated, so a guest on a shared chart sees it. Minted dark; INT turns it on.
|
|
285
|
+
Feeds: 'feeds',
|
|
286
|
+
// Synoptic Streams on the web (docs/features/news/synoptic-streams.md): the Connections card, the News
|
|
287
|
+
// panel's Streams view and Discover, and the super-search row. The Synoptic store reads this
|
|
288
|
+
// one key through `isOn` before its link probe: off, `availability` reads `unavailable` (exactly as a 404
|
|
289
|
+
// does, so every surface hides) and nothing asks the backend. Unminted, absent and guest all read off, so
|
|
290
|
+
// production ships it dark; minted disabled, an internal role reads it on; the dev/internal localStorage
|
|
291
|
+
// override lights it locally. Mint it enabled to open it up.
|
|
292
|
+
SynopticStreams: 'synoptic-streams',
|
|
293
|
+
};
|
|
294
|
+
export const FEATURE_FLAG_KEYS = Object.values(FeatureFlag);
|
|
295
|
+
/**
|
|
296
|
+
* localStorage mirror of `perf-gesture-y-envelope`, written by the flags store
|
|
297
|
+
* on every SUCCESSFUL fetch and read once per page at chart construction (the
|
|
298
|
+
* same shape as the gateway-v3 mirror, GATEWAY_V3_MIRROR_KEY): the chart route builds the
|
|
299
|
+
* chart before the flag fetch resolves, so the arm is the previous fetch's
|
|
300
|
+
* verdict, one boot stale at most. Values: '1' / '0' = the FETCHED flag (the
|
|
301
|
+
* server's per-user bucket, staff included), reported as arm source `flag`;
|
|
302
|
+
* 'override:1' / 'override:0' = the dev/internal `kiyo.flag-overrides` lens
|
|
303
|
+
* outranked the fetched value, reported as source `override` so readouts drop
|
|
304
|
+
* the row. A failed fetch never touches it, so an outage cannot move a user
|
|
305
|
+
* between arms; logout removes it so a guest boot never rides the previous
|
|
306
|
+
* account's verdict.
|
|
307
|
+
*/
|
|
308
|
+
export const PERF_GESTURE_Y_ENVELOPE_MIRROR_KEY = `kiyo:flag:${FeatureFlag.PerfGestureYEnvelope}`;
|