@bitcobblers/wod-wiki-lang 0.2.22 → 0.4.24

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.
@@ -1882,6 +1882,10 @@ interface DebugLogEvent {
1882
1882
  blockType?: string;
1883
1883
  details?: Record<string, any>;
1884
1884
  }
1885
+ /**
1886
+ * Default runtime options
1887
+ */
1888
+ declare const DEFAULT_RUNTIME_OPTIONS: Required<Omit<IRuntimeOptions, 'blockWrapperFactory' | 'onDebugLog' | 'defaultTestableConfig'>>;
1885
1889
  interface RuntimeStackWrapper {
1886
1890
  wrap?: (block: IRuntimeBlock, parent?: IRuntimeBlock) => IRuntimeBlock;
1887
1891
  cleanup?: (block: IRuntimeBlock) => void;
@@ -2347,4 +2351,4 @@ declare function getRuntimeNowMs(): number;
2347
2351
  /** Creates an INowProvider that reads the browser sender-clock when available. */
2348
2352
  declare function createBrowserRuntimeNow(): INowProvider;
2349
2353
 
2350
- export { type EventHandlerOptions as $, type AnalyticsContext as A, type BehaviorEventType as B, type CompletionDecision as C, type IRuntimeMemory as D, type EffortResolverOptions as E, TypedMemoryReference as F, type MemorySearchCriteria as G, type IMemoryReference as H, type IScript as I, type StackObserver as J, type StackSnapshot as K, type StackListener as L, type MemoryTag as M, MemoryTypeEnum as N, type OutputListener as O, type IAnchorValue as P, type IEventHandler as Q, type ResolvedEffort as R, type SubscribeOptions as S, TimeSpan as T, type Unsubscribe as U, type HandlerScope as V, WhiteboardScript as W, type IScriptRuntime as X, type TestableBlockConfig as Y, type IRuntimeOptions as Z, ScriptRuntime as _, type IEffortResolver as a, type EventCallback as a0, type TimerState as a1, type IRealtimeProcessor as a2, type ISummaryProcessor as a3, type ProjectionResult as a4, type ButtonConfig as a5, type ButtonVariant as a6, type ButtonsState as a7, type ChildrenStatusState as a8, type CompletionState as a9, disciplineFactorFor as aA, filterTagsByVisibility as aB, frozenNow as aC, getMetricVisibility as aD, getRuntimeNowMs as aE, isEffortDiscipline as aF, isFragmentTag as aG, wallClockNow as aH, DEFAULT_RESOLVER_OPTIONS as aa, DISCIPLINE_FACTORS as ab, type DisplayState as ac, EFFORT_DISCIPLINES as ad, EFFORT_REGISTRY_ORIGINS as ae, type EffortBaseAttributes as af, type EffortDerivation as ag, type EffortDiscipline as ah, type EffortResolvedFrom as ai, type FenceDialect as aj, type FragmentDisplayState as ak, type FragmentState as al, type IAnalyticsProcessorDescriptor as am, INTENSITY_TIERS as an, type IntensityTier as ao, MemoryLocation as ap, type MemoryType as aq, type MemoryTypeMap as ar, type MemoryValueOf as as, type RoundState as at, type RuntimeState as au, type ScriptRuntimeDependencies as av, type TimerDirection as aw, VISIBILITY_ICONS as ax, VISIBILITY_LABELS as ay, createBrowserRuntimeNow as az, type IEffortRegistry as b, type IEffort as c, type EffortResolutionOptions as d, type EffortRegistrySource as e, type IRuntimeActionable as f, type IEventBus as g, type IRuntimeStack as h, type IRuntimeClock as i, type IJitCompiler as j, type INowProvider as k, type RuntimeStackOptions as l, type RuntimeError as m, type IEvent as n, type IRuntimeAction as o, type IAnalyticsEngine as p, type IRuntimeBlock as q, type IBehaviorContext as r, type BehaviorEventListener as s, type Unsubscribe$1 as t, type OutputOptions as u, type IMemoryLocation as v, type IRuntimeBehavior as w, type IBlockContext as x, type MetricVisibility as y, type BlockLifecycleOptions as z };
2354
+ export { type EventHandlerOptions as $, type AnalyticsContext as A, type BehaviorEventType as B, type CompletionDecision as C, type IRuntimeMemory as D, type EffortResolverOptions as E, TypedMemoryReference as F, type MemorySearchCriteria as G, type IMemoryReference as H, type IScript as I, type StackObserver as J, type StackSnapshot as K, type StackListener as L, type MemoryTag as M, MemoryTypeEnum as N, type OutputListener as O, type IAnchorValue as P, type IEventHandler as Q, type ResolvedEffort as R, type SubscribeOptions as S, TimeSpan as T, type Unsubscribe as U, type HandlerScope as V, WhiteboardScript as W, type IScriptRuntime as X, type TestableBlockConfig as Y, type IRuntimeOptions as Z, ScriptRuntime as _, type IEffortResolver as a, type EventCallback as a0, type TimerState as a1, type IRealtimeProcessor as a2, type ISummaryProcessor as a3, type ProjectionResult as a4, type ButtonConfig as a5, type ButtonVariant as a6, type ButtonsState as a7, type ChildrenStatusState as a8, type CompletionState as a9, VISIBILITY_ICONS as aA, VISIBILITY_LABELS as aB, createBrowserRuntimeNow as aC, disciplineFactorFor as aD, filterTagsByVisibility as aE, frozenNow as aF, getMetricVisibility as aG, getRuntimeNowMs as aH, isEffortDiscipline as aI, isFragmentTag as aJ, wallClockNow as aK, DEFAULT_RESOLVER_OPTIONS as aa, DEFAULT_RUNTIME_OPTIONS as ab, DISCIPLINE_FACTORS as ac, type DisplayState as ad, EFFORT_DISCIPLINES as ae, EFFORT_REGISTRY_ORIGINS as af, type EffortBaseAttributes as ag, type EffortDerivation as ah, type EffortDiscipline as ai, type EffortResolvedFrom as aj, type FenceDialect as ak, type FragmentDisplayState as al, type FragmentState as am, type IAnalyticsProcessorDescriptor as an, INTENSITY_TIERS as ao, type IntensityTier as ap, type InterceptMode as aq, MemoryLocation as ar, type MemoryType as as, type MemoryTypeMap as at, type MemoryValueOf as au, type RoundState as av, type RuntimeState as aw, type ScriptRuntimeDependencies as ax, type StackEvent as ay, type TimerDirection as az, type IEffortRegistry as b, type IEffort as c, type EffortResolutionOptions as d, type EffortRegistrySource as e, type IRuntimeActionable as f, type IEventBus as g, type IRuntimeStack as h, type IRuntimeClock as i, type IJitCompiler as j, type INowProvider as k, type RuntimeStackOptions as l, type RuntimeError as m, type IEvent as n, type IRuntimeAction as o, type IAnalyticsEngine as p, type IRuntimeBlock as q, type IBehaviorContext as r, type BehaviorEventListener as s, type Unsubscribe$1 as t, type OutputOptions as u, type IMemoryLocation as v, type IRuntimeBehavior as w, type IBlockContext as x, type MetricVisibility as y, type BlockLifecycleOptions as z };
@@ -1882,6 +1882,10 @@ interface DebugLogEvent {
1882
1882
  blockType?: string;
1883
1883
  details?: Record<string, any>;
1884
1884
  }
1885
+ /**
1886
+ * Default runtime options
1887
+ */
1888
+ declare const DEFAULT_RUNTIME_OPTIONS: Required<Omit<IRuntimeOptions, 'blockWrapperFactory' | 'onDebugLog' | 'defaultTestableConfig'>>;
1885
1889
  interface RuntimeStackWrapper {
1886
1890
  wrap?: (block: IRuntimeBlock, parent?: IRuntimeBlock) => IRuntimeBlock;
1887
1891
  cleanup?: (block: IRuntimeBlock) => void;
@@ -2347,4 +2351,4 @@ declare function getRuntimeNowMs(): number;
2347
2351
  /** Creates an INowProvider that reads the browser sender-clock when available. */
2348
2352
  declare function createBrowserRuntimeNow(): INowProvider;
2349
2353
 
2350
- export { type EventHandlerOptions as $, type AnalyticsContext as A, type BehaviorEventType as B, type CompletionDecision as C, type IRuntimeMemory as D, type EffortResolverOptions as E, TypedMemoryReference as F, type MemorySearchCriteria as G, type IMemoryReference as H, type IScript as I, type StackObserver as J, type StackSnapshot as K, type StackListener as L, type MemoryTag as M, MemoryTypeEnum as N, type OutputListener as O, type IAnchorValue as P, type IEventHandler as Q, type ResolvedEffort as R, type SubscribeOptions as S, TimeSpan as T, type Unsubscribe as U, type HandlerScope as V, WhiteboardScript as W, type IScriptRuntime as X, type TestableBlockConfig as Y, type IRuntimeOptions as Z, ScriptRuntime as _, type IEffortResolver as a, type EventCallback as a0, type TimerState as a1, type IRealtimeProcessor as a2, type ISummaryProcessor as a3, type ProjectionResult as a4, type ButtonConfig as a5, type ButtonVariant as a6, type ButtonsState as a7, type ChildrenStatusState as a8, type CompletionState as a9, disciplineFactorFor as aA, filterTagsByVisibility as aB, frozenNow as aC, getMetricVisibility as aD, getRuntimeNowMs as aE, isEffortDiscipline as aF, isFragmentTag as aG, wallClockNow as aH, DEFAULT_RESOLVER_OPTIONS as aa, DISCIPLINE_FACTORS as ab, type DisplayState as ac, EFFORT_DISCIPLINES as ad, EFFORT_REGISTRY_ORIGINS as ae, type EffortBaseAttributes as af, type EffortDerivation as ag, type EffortDiscipline as ah, type EffortResolvedFrom as ai, type FenceDialect as aj, type FragmentDisplayState as ak, type FragmentState as al, type IAnalyticsProcessorDescriptor as am, INTENSITY_TIERS as an, type IntensityTier as ao, MemoryLocation as ap, type MemoryType as aq, type MemoryTypeMap as ar, type MemoryValueOf as as, type RoundState as at, type RuntimeState as au, type ScriptRuntimeDependencies as av, type TimerDirection as aw, VISIBILITY_ICONS as ax, VISIBILITY_LABELS as ay, createBrowserRuntimeNow as az, type IEffortRegistry as b, type IEffort as c, type EffortResolutionOptions as d, type EffortRegistrySource as e, type IRuntimeActionable as f, type IEventBus as g, type IRuntimeStack as h, type IRuntimeClock as i, type IJitCompiler as j, type INowProvider as k, type RuntimeStackOptions as l, type RuntimeError as m, type IEvent as n, type IRuntimeAction as o, type IAnalyticsEngine as p, type IRuntimeBlock as q, type IBehaviorContext as r, type BehaviorEventListener as s, type Unsubscribe$1 as t, type OutputOptions as u, type IMemoryLocation as v, type IRuntimeBehavior as w, type IBlockContext as x, type MetricVisibility as y, type BlockLifecycleOptions as z };
2354
+ export { type EventHandlerOptions as $, type AnalyticsContext as A, type BehaviorEventType as B, type CompletionDecision as C, type IRuntimeMemory as D, type EffortResolverOptions as E, TypedMemoryReference as F, type MemorySearchCriteria as G, type IMemoryReference as H, type IScript as I, type StackObserver as J, type StackSnapshot as K, type StackListener as L, type MemoryTag as M, MemoryTypeEnum as N, type OutputListener as O, type IAnchorValue as P, type IEventHandler as Q, type ResolvedEffort as R, type SubscribeOptions as S, TimeSpan as T, type Unsubscribe as U, type HandlerScope as V, WhiteboardScript as W, type IScriptRuntime as X, type TestableBlockConfig as Y, type IRuntimeOptions as Z, ScriptRuntime as _, type IEffortResolver as a, type EventCallback as a0, type TimerState as a1, type IRealtimeProcessor as a2, type ISummaryProcessor as a3, type ProjectionResult as a4, type ButtonConfig as a5, type ButtonVariant as a6, type ButtonsState as a7, type ChildrenStatusState as a8, type CompletionState as a9, VISIBILITY_ICONS as aA, VISIBILITY_LABELS as aB, createBrowserRuntimeNow as aC, disciplineFactorFor as aD, filterTagsByVisibility as aE, frozenNow as aF, getMetricVisibility as aG, getRuntimeNowMs as aH, isEffortDiscipline as aI, isFragmentTag as aJ, wallClockNow as aK, DEFAULT_RESOLVER_OPTIONS as aa, DEFAULT_RUNTIME_OPTIONS as ab, DISCIPLINE_FACTORS as ac, type DisplayState as ad, EFFORT_DISCIPLINES as ae, EFFORT_REGISTRY_ORIGINS as af, type EffortBaseAttributes as ag, type EffortDerivation as ah, type EffortDiscipline as ai, type EffortResolvedFrom as aj, type FenceDialect as ak, type FragmentDisplayState as al, type FragmentState as am, type IAnalyticsProcessorDescriptor as an, INTENSITY_TIERS as ao, type IntensityTier as ap, type InterceptMode as aq, MemoryLocation as ar, type MemoryType as as, type MemoryTypeMap as at, type MemoryValueOf as au, type RoundState as av, type RuntimeState as aw, type ScriptRuntimeDependencies as ax, type StackEvent as ay, type TimerDirection as az, type IEffortRegistry as b, type IEffort as c, type EffortResolutionOptions as d, type EffortRegistrySource as e, type IRuntimeActionable as f, type IEventBus as g, type IRuntimeStack as h, type IRuntimeClock as i, type IJitCompiler as j, type INowProvider as k, type RuntimeStackOptions as l, type RuntimeError as m, type IEvent as n, type IRuntimeAction as o, type IAnalyticsEngine as p, type IRuntimeBlock as q, type IBehaviorContext as r, type BehaviorEventListener as s, type Unsubscribe$1 as t, type OutputOptions as u, type IMemoryLocation as v, type IRuntimeBehavior as w, type IBlockContext as x, type MetricVisibility as y, type BlockLifecycleOptions as z };
package/dist/index.cjs CHANGED
@@ -13214,13 +13214,13 @@ function toStoredOutputStatement(output) {
13214
13214
  }
13215
13215
 
13216
13216
  // src/version.ts
13217
- var VERSION = "0.2.22";
13218
- var GIT_SHA = "ad43a34";
13219
- var BUILD_TIME = "2026-08-18T18:49:40.692Z";
13217
+ var VERSION = "0.4.24";
13218
+ var GIT_SHA = "90d86de";
13219
+ var BUILD_TIME = "2026-08-18T20:19:27.340Z";
13220
13220
  var SEMVER = {
13221
- version: "0.2.22",
13222
- gitSha: "ad43a34",
13223
- buildTime: "2026-08-18T18:49:40.692Z"
13221
+ version: "0.4.24",
13222
+ gitSha: "90d86de",
13223
+ buildTime: "2026-08-18T20:19:27.340Z"
13224
13224
  };
13225
13225
 
13226
13226
  exports.ABSENT = ABSENT;
@@ -13233,6 +13233,7 @@ exports.BUILD_TIME = BUILD_TIME;
13233
13233
  exports.BUILTIN_CALCS = BUILTIN_CALCS;
13234
13234
  exports.BUNDLED_EFFORT_COUNT = BUNDLED_EFFORT_COUNT;
13235
13235
  exports.BehaviorContext = BehaviorContext;
13236
+ exports.BlockBuilder = BlockBuilder;
13236
13237
  exports.BlockContext = BlockContext;
13237
13238
  exports.CONSUMED_HINTS = CONSUMED_HINTS;
13238
13239
  exports.CONSUMED_HINT_KEYS = CONSUMED_HINT_KEYS;
@@ -13245,13 +13246,17 @@ exports.CalcUnitError = CalcUnitError;
13245
13246
  exports.CalculateBlockProcessor = CalculateBlockProcessor;
13246
13247
  exports.CalculationRegistry = CalculationRegistry;
13247
13248
  exports.CardioDialect = CardioDialect;
13249
+ exports.ChoiceGroupMetric = ChoiceGroupMetric;
13248
13250
  exports.ClearChildrenAction = ClearChildrenAction;
13249
13251
  exports.ClimbDialect = ClimbDialect;
13250
13252
  exports.ClimbMetricType = ClimbMetricType;
13251
13253
  exports.CompileAndPushBlockAction = CompileAndPushBlockAction;
13254
+ exports.CountdownTimerBehavior = CountdownTimerBehavior;
13255
+ exports.CountupTimerBehavior = CountupTimerBehavior;
13252
13256
  exports.CrossFitDialect = CrossFitDialect;
13253
13257
  exports.DAY = DAY;
13254
13258
  exports.DEFAULT_RESOLVER_OPTIONS = DEFAULT_RESOLVER_OPTIONS;
13259
+ exports.DEFAULT_RUNTIME_OPTIONS = DEFAULT_RUNTIME_OPTIONS;
13255
13260
  exports.DEFAULT_UNRESOLVED_EFFORT_MET = DEFAULT_UNRESOLVED_EFFORT_MET;
13256
13261
  exports.DIM_COUNT = DIM_COUNT;
13257
13262
  exports.DIM_ENERGY = DIM_ENERGY;