@moku-labs/game 0.15.163 → 0.15.164

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.
@@ -1,4 +1,4 @@
1
- import { h as StartedPage, r as GameConfig, t as AnyGameApp, u as PageOptions } from "../types-SUCTOeQZ.mjs";
1
+ import { h as StartedPage, r as GameConfig, t as AnyGameApp, u as PageOptions } from "../types-CZguGD6b.mjs";
2
2
 
3
3
  //#region src/app/page.d.ts
4
4
  /**
@@ -1,6 +1,6 @@
1
- import { Yr as PlayerStateProvider } from "../types-DTkhpupa.mjs";
2
- import { jt as PlatformProvider } from "../index-oS9wiCoO.mjs";
3
- import { _ as SystemName, g as SystemModules, v as SystemShellFactory } from "../types-SUCTOeQZ.mjs";
1
+ import { Yr as PlayerStateProvider } from "../types-B93wB7Sh.mjs";
2
+ import { jt as PlatformProvider } from "../index-HsOHfkao.mjs";
3
+ import { _ as SystemName, g as SystemModules, v as SystemShellFactory } from "../types-CZguGD6b.mjs";
4
4
  import { Back, Haptics, KeepAwake, Lifecycle, Store } from "@moku-labs/system";
5
5
 
6
6
  //#region src/app/system.d.ts
package/dist/app.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { Wr as Json } from "./types-DTkhpupa.mjs";
2
- import { q as StringTable } from "./types-C4d1Ptfc.mjs";
3
- import { _ as SystemName, a as GameHandle, c as MemoryProvider, d as PlistValue, f as SaveKind, i as GameDefinition, l as PageAgent, m as ScreenSeams, n as GameApp, o as GamePluginConfigs, p as Scenario, r as GameConfig, s as HeadlessSeams, y as WithGameState } from "./types-SUCTOeQZ.mjs";
1
+ import { Wr as Json } from "./types-B93wB7Sh.mjs";
2
+ import { q as StringTable } from "./types-Cs3a-2Km.mjs";
3
+ import { _ as SystemName, a as GameHandle, c as MemoryProvider, d as PlistValue, f as SaveKind, i as GameDefinition, l as PageAgent, m as ScreenSeams, n as GameApp, o as GamePluginConfigs, p as Scenario, r as GameConfig, s as HeadlessSeams, y as WithGameState } from "./types-CZguGD6b.mjs";
4
4
  import { AnyPluginInstance } from "@moku-labs/core";
5
5
 
6
6
  //#region src/app/define.d.ts
package/dist/app.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { Xt as audioPlugin, i as screen, k as flattenFeatures, rt as platformPlugin, t as createApp, zt as effectsPlugin } from "./src-DBhsppmi.mjs";
1
+ import { Xt as audioPlugin, i as screen, k as flattenFeatures, rt as platformPlugin, t as createApp, zt as effectsPlugin } from "./src-CUi3Ytta.mjs";
2
2
  import { t as memory } from "./memory-DeD9wis6.mjs";
3
3
  import { n as fakeClock, r as isFakeClock } from "./fake-hnJcJeYf.mjs";
4
4
  //#region src/app/define.ts
package/dist/assets.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { d as Manifest } from "./types-DTkhpupa.mjs";
1
+ import { d as Manifest } from "./types-B93wB7Sh.mjs";
2
2
 
3
3
  //#region src/plugins/assets/scan/cli.d.ts
4
4
  /**
@@ -1,8 +1,8 @@
1
- import { $r as Snapshot, Ar as Api$4, Fn as Bookmark, Fr as Api$1, O as DebugSwitches, Q as Api$3, Rn as FlowState, fi as FrameRate, gi as Time, ii as Api$2, mt as Captured, t as Api, ti as StoreApi, w as ScenesApi } from "./types-DTkhpupa.mjs";
2
- import { L as InputApi, nt as AnimApi, s as UiApi } from "./types-C4d1Ptfc.mjs";
3
- import { d as EffectsApi, t as AudioApi } from "./types-dSup2_q9.mjs";
4
- import { t as HeadlessApp } from "./headless-PANjNy6-.mjs";
5
- import { i as ControlApp, r as Command } from "./types-BuN6rLDs.mjs";
1
+ import { $r as Snapshot, Ar as Api$4, Fn as Bookmark, Fr as Api$1, O as DebugSwitches, Q as Api$3, Rn as FlowState, fi as FrameRate, gi as Time, ii as Api$2, mt as Captured, t as Api, ti as StoreApi, w as ScenesApi } from "./types-B93wB7Sh.mjs";
2
+ import { L as InputApi, nt as AnimApi, s as UiApi } from "./types-Cs3a-2Km.mjs";
3
+ import { d as EffectsApi, t as AudioApi } from "./types-VZL87Yhu.mjs";
4
+ import { t as HeadlessApp } from "./headless-8XrFW9w1.mjs";
5
+ import { i as ControlApp, r as Command } from "./types-BEEPI3F3.mjs";
6
6
 
7
7
  //#region src/plugins/flow/doors/commands.d.ts
8
8
  /**
@@ -1,7 +1,7 @@
1
- import { t as HeadlessApp } from "./headless-PANjNy6-.mjs";
2
- import { a as InputArguments, c as Ran, n as ChoiceInput, r as Command, s as InputSchema, u as ToggleInput } from "./types-BuN6rLDs.mjs";
3
- import { t as commands } from "./commands-CAvCuLaL.mjs";
4
- import { t as defineCommand } from "./define-DSOTwTUY.mjs";
1
+ import { t as HeadlessApp } from "./headless-8XrFW9w1.mjs";
2
+ import { a as InputArguments, c as Ran, n as ChoiceInput, r as Command, s as InputSchema, u as ToggleInput } from "./types-BEEPI3F3.mjs";
3
+ import { t as commands } from "./commands-D5MG6t52.mjs";
4
+ import { t as defineCommand } from "./define-SHySD9Bw.mjs";
5
5
 
6
6
  //#region src/plugins/flow/doors/dev.d.ts
7
7
  /**
@@ -1,5 +1,5 @@
1
- import { t as HeadlessApp } from "./headless-PANjNy6-.mjs";
2
- import { l as Source, r as Command, s as InputSchema } from "./types-BuN6rLDs.mjs";
1
+ import { t as HeadlessApp } from "./headless-8XrFW9w1.mjs";
2
+ import { l as Source, r as Command, s as InputSchema } from "./types-BEEPI3F3.mjs";
3
3
 
4
4
  //#region src/plugins/flow/doors/define.d.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { Rn as FlowState, Vn as RouteStep, Wr as Json, Xn as Answer, mn as Api$1, ri as RngState, ui as Api, zn as JournalEntry } from "./types-DTkhpupa.mjs";
1
+ import { Rn as FlowState, Vn as RouteStep, Wr as Json, Xn as Answer, mn as Api$1, ri as RngState, ui as Api, zn as JournalEntry } from "./types-B93wB7Sh.mjs";
2
2
 
3
3
  //#region src/plugins/flow/headless.d.ts
4
4
  /**
@@ -1,6 +1,6 @@
1
- import { $ as Config$6, Ar as Api$6, B as OverlayValue, C as SceneSpec, Cn as TextStylesOf, Cr as Mut, Dr as SystemDefinition, Dt as FrameRing, En as defineFlow, Er as ResourceType, Et as FrameRecord, Fr as Api$1, Gn as Effect, Gr as Root, Hn as SceneIdOf, Hr as Config$5, I as HudPartValue, In as DefineNode, Jn as Hint, Jr as Patch, K as SpriteOptions, Kn as EffectOptions, Kr as State$5, Lr as Config$2, Lt as PassKind, Mn as FeaturePlugin, Nn as FeatureTree, Nr as State$9, Or as SystemFor, Q as Api$4, R as NineSliceValue, S as SceneDefinition, Sn as TextFormatsOf, T as State$7, Tr as QueryTerm, U as ShapeValue, Wn as Descriptor, Wr as Json, X as sprite, Y as TransformValue, Zn as Answered, _ as AnySceneProjection, _n as EmitterIdOf, a as Config$1, ai as Config$4, ar as NumericFields, bi as Require, c as LoadBundles, ci as State$4, cr as ReducedMotion, di as Config$8, er as DescriptionNode, f as ReadyBundles, gn as Config$3, gr as ComponentHandle, hi as ThermalReading, hn as BundlesOf, i as BundleSpec, ii as Api$3, jn as FeatureDescription, jr as Config$9, kr as TagType, l as LoadReason, lt as State$6, m as Tier, mi as State$8, mn as Api$2, ni as RngApi, o as DefineBundles, oi as Events, or as ProjectionMotion, p as State$1, pi as RateChange, q as SpriteValue, qn as GuideOptions, r as BundleMap, si as PauseReason, sr as ProjectionSpec, t as Api, ti as StoreApi, tr as Ease, u as LoadResult, ui as Api$5, v as Config$7, vi as Config$10, vn as GameTypes, vr as ComponentType, w as ScenesApi, wr as Narrowed, x as LayerMap, xn as State$3, y as DefineScene, yi as Events$1, yn as HudKeysOf, yr as ComponentValue, yt as ViewportSize, zr as State$2 } from "./types-DTkhpupa.mjs";
2
- import { $ as Style, A as TextRunStyle, B as Argument, C as State$13, F as defineComponent, G as Part, H as I18nApi, I as Config$13, J as TextKey, K as State$11, L as InputApi, M as TextStyles, Mt as OverlayApi, N as TextValue, O as TextFormatFunction, Q as ResolvedStyle, R as State$12, S as Point, T as TextBind, U as IntlKit, V as Config$12, W as Message, Y as TypedTr, Z as IsFlags, _ as BindField, a as Config$15, at as FramesValue, b as CountdownValue, ct as Target, dt as HapticKind, et as TextTagStyle, ft as SfxDescriptor, h as IntrinsicElementsFor, ht as defineAnimation, it as Config$11, j as TextStyleInput, k as TextFormats, m as defineTokens, nt as AnimApi, o as State$14, ot as MotionKeyframe, pt as Step, r as PopupComponent, rt as AnimPlayerValue, s as UiApi, st as State$10, tt as WhenFlags, v as BindOptions, w as TextApi, xt as play, y as Config$14 } from "./types-C4d1Ptfc.mjs";
3
- import { A as EmitterConfig, B as FilterValueOf, C as PixelateValue, D as ShineValue, E as ShadowValue, F as ColorMatrixValue, H as NoiseValue, I as DisplacementValue, M as EmitterValue, N as AlphaValue, O as VignetteValue, P as BlurValue, R as FilterComponent, S as MirrorValue, T as RevealRoundValue, U as OutlineValue, V as GlowValue, W as UniformDeclaration, _ as DissolveValue, a as MusicOptions, b as GradeValue, c as VolumesFor, d as EffectsApi, g as BloomValue, h as AuraValue, i as MusicDescriptor, j as EmitterDefinition, k as WaveValue, p as State$16, r as Config$16, s as State$15, t as AudioApi, u as Config$17, v as FlashValue, w as RevealLineValue, x as GradientMapValue, y as FoldValue, z as FilterSpec } from "./types-dSup2_q9.mjs";
1
+ import { $ as Config$6, Ar as Api$6, B as OverlayValue, C as SceneSpec, Cn as TextStylesOf, Cr as Mut, Dr as SystemDefinition, Dt as FrameRing, En as defineFlow, Er as ResourceType, Et as FrameRecord, Fr as Api$1, Gn as Effect, Gr as Root, Hn as SceneIdOf, Hr as Config$5, I as HudPartValue, In as DefineNode, Jn as Hint, Jr as Patch, K as SpriteOptions, Kn as EffectOptions, Kr as State$5, Lr as Config$2, Lt as PassKind, Mn as FeaturePlugin, Nn as FeatureTree, Nr as State$9, Or as SystemFor, Q as Api$4, R as NineSliceValue, S as SceneDefinition, Sn as TextFormatsOf, T as State$7, Tr as QueryTerm, U as ShapeValue, Wn as Descriptor, Wr as Json, X as sprite, Y as TransformValue, Zn as Answered, _ as AnySceneProjection, _n as EmitterIdOf, a as Config$1, ai as Config$4, ar as NumericFields, bi as Require, c as LoadBundles, ci as State$4, cr as ReducedMotion, di as Config$8, er as DescriptionNode, f as ReadyBundles, gn as Config$3, gr as ComponentHandle, hi as ThermalReading, hn as BundlesOf, i as BundleSpec, ii as Api$3, jn as FeatureDescription, jr as Config$9, kr as TagType, l as LoadReason, lt as State$6, m as Tier, mi as State$8, mn as Api$2, ni as RngApi, o as DefineBundles, oi as Events, or as ProjectionMotion, p as State$1, pi as RateChange, q as SpriteValue, qn as GuideOptions, r as BundleMap, si as PauseReason, sr as ProjectionSpec, t as Api, ti as StoreApi, tr as Ease, u as LoadResult, ui as Api$5, v as Config$7, vi as Config$10, vn as GameTypes, vr as ComponentType, w as ScenesApi, wr as Narrowed, x as LayerMap, xn as State$3, y as DefineScene, yi as Events$1, yn as HudKeysOf, yr as ComponentValue, yt as ViewportSize, zr as State$2 } from "./types-B93wB7Sh.mjs";
2
+ import { $ as Style, A as TextRunStyle, B as Argument, C as State$13, F as defineComponent, G as Part, H as I18nApi, I as Config$13, J as TextKey, K as State$11, L as InputApi, M as TextStyles, Mt as OverlayApi, N as TextValue, O as TextFormatFunction, Q as ResolvedStyle, R as State$12, S as Point, T as TextBind, U as IntlKit, V as Config$12, W as Message, Y as TypedTr, Z as IsFlags, _ as BindField, a as Config$15, at as FramesValue, b as CountdownValue, ct as Target, dt as HapticKind, et as TextTagStyle, ft as SfxDescriptor, h as IntrinsicElementsFor, ht as defineAnimation, it as Config$11, j as TextStyleInput, k as TextFormats, m as defineTokens, nt as AnimApi, o as State$14, ot as MotionKeyframe, pt as Step, r as PopupComponent, rt as AnimPlayerValue, s as UiApi, st as State$10, tt as WhenFlags, v as BindOptions, w as TextApi, xt as play, y as Config$14 } from "./types-Cs3a-2Km.mjs";
3
+ import { A as EmitterConfig, B as FilterValueOf, C as PixelateValue, D as ShineValue, E as ShadowValue, F as ColorMatrixValue, H as NoiseValue, I as DisplacementValue, M as EmitterValue, N as AlphaValue, O as VignetteValue, P as BlurValue, R as FilterComponent, S as MirrorValue, T as RevealRoundValue, U as OutlineValue, V as GlowValue, W as UniformDeclaration, _ as DissolveValue, a as MusicOptions, b as GradeValue, c as VolumesFor, d as EffectsApi, g as BloomValue, h as AuraValue, i as MusicDescriptor, j as EmitterDefinition, k as WaveValue, p as State$16, r as Config$16, s as State$15, t as AudioApi, u as Config$17, v as FlashValue, w as RevealLineValue, x as GradientMapValue, y as FoldValue, z as FilterSpec } from "./types-VZL87Yhu.mjs";
4
4
  import { Log } from "@moku-labs/common/browser";
5
5
  import { PluginCtx } from "@moku-labs/core";
6
6
 
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { $t as PerfSampleLine, An as type, At as MonitorSections, B as OverlayValue, Br as types_d_exports$3, Bt as PerfChange, Ct as FrameColumns, Dn as exit, Dt as FrameRing, E as types_d_exports$13, Et as FrameRecord, F as HudPart, Ft as PERF_LOG_VERSION, G as SpriteBlend, Gt as PerfEventLine, H as Shape, Ht as PerfCollectorLine, I as HudPartValue, It as PROBLEM_RULES, J as Transform, Jt as PerfHeaderLine, Kt as PerfEventName, L as NineSlice, Lt as PassKind, Mt as OverlayWhat, N as WhyEntry, Nt as PERF_CAUSES, On as slot, Ot as LongFrameEntry, P as Display, Pr as types_d_exports$17, Pt as PERF_GAP_BUCKETS, Qn as AnchorTarget, Qr as SaveUnreadableError, Qt as PerfMeasured, Rt as PassRecord, St as WhyLive, Tn as contribution, Tt as FrameReadout, Ut as PerfCounts, V as Parent, Vt as PerfChangeEntry, W as Sprite, Wt as PerfDisplay, X as sprite, Xt as PerfLongFrameLine, Yt as PerfLogLine, Z as AdaptiveScale, Zt as PerfMarkLine, _i as types_d_exports$15, an as ProblemEventDetail, cn as ShaderEventDetail, ct as PoolTrim, dn as CANVAS_RESTARTS, dt as types_d_exports$12, en as PerfSpikeLine, er as DescriptionNode, et as MonitorConfig, fn as CanvasRestart, ft as ShotsApi, g as types_d_exports$1, ht as MonitorCounts, in as PoolTrimDetail, jt as OverlayEventDetail, kn as to, kt as MONITOR_SECTIONS, li as types_d_exports$9, ln as ShaderWhat, lr as SceneSwitch, nn as PerfTelemetryLine, on as ProblemRule, pn as DEMAND_REASONS, pt as ShotsConfig, qr as types_d_exports$10, qt as PerfGapLine, rn as PerfThermalLine, sn as SHADER_WHATS, tn as PerfStartupLine, un as WarmDetail, wn as types_d_exports$6, wt as FrameReadResult, xt as RetakeWhy, z as Overlay, zt as PerfCause } from "./types-DTkhpupa.mjs";
2
- import { A as TextRunStyle, At as use, Ct as set, D as TextFormatAnswer, Dt as stagger, E as TextFormat, Et as spawned, F as defineComponent, Nt as types_d_exports$4, O as TextFormatFunction, Ot as stopSfx, P as types_d_exports$14, St as sequence, Tt as spawn, X as types_d_exports$7, _t as frames, b as CountdownValue, bt as parallel, c as types_d_exports$16, d as LocalWrite, dt as HapticKind, et as TextTagStyle, f as ScrollState, gt as external, ht as defineAnimation, jt as wait, k as TextFormats, kt as tween, l as Box, m as defineTokens, mt as HAPTIC_KINDS, p as popup, u as DebugTrigger, ut as types_d_exports, v as BindOptions, vt as haptic, wt as sfx, x as FormattedNumber, xt as play, yt as mark, z as types_d_exports$8 } from "./types-C4d1Ptfc.mjs";
3
- import { C as PixelateValue, D as ShineValue, E as ShadowValue, L as FilterArea, O as VignetteValue, S as MirrorValue, T as RevealRoundValue, _ as DissolveValue, b as GradeValue, g as BloomValue, h as AuraValue, k as WaveValue, l as types_d_exports$2, m as types_d_exports$5, v as FlashValue, w as RevealLineValue, x as GradientMapValue, y as FoldValue } from "./types-dSup2_q9.mjs";
4
- import { $ as Swipeable, A as music, At as BackResult, B as Frames, Bt as clockPlugin, C as Alpha, Ct as worldPlugin, D as Glow, Dt as scenesPlugin, E as Displacement, Et as textPlugin, F as messageDuration, Ft as inputPlugin, G as Draggable, Gt as Countdown, H as defineBundles, Ht as assetsPlugin, I as cubicBezier, It as i18nPlugin, J as Hovered, Jt as defineTextFormats, K as DropTarget, Kt as Text, L as defineMotion, Lt as flowPlugin, M as defineStyle, Mt as types_d_exports$11, N as tr, Nt as modelPlugin, O as Noise, Ot as rendererPlugin, P as messageArgument, Pt as lifecyclePlugin, Q as Pressed, R as AnimPlayer, Rt as effectsPlugin, S as defineFilter, St as flattenFeatures, T as ColorMatrix, Tt as timePlugin, U as load, Ut as animPlugin, V as defineScene, Vt as audioPlugin, W as ready, Wt as projection, X as PointerOver, Xt as label, Y as Pointer, Yt as defineTextStyles, Z as Pressable, _ as Fold, _t as defineEffect, a as defineEmitter, at as PASS_KINDS, b as Bloom, bt as schedule, c as Vignette, ct as Layer, d as RevealRound, dt as Tree, et as TapValue, f as RevealLine, ft as component, g as Grade, gt as tag, h as GradientMap, ht as system, i as screen, it as Traced, j as resolve, jt as PlatformProvider, k as Outline, kt as platformPlugin, l as Shine, lt as Now, m as Mirror, mt as resource, n as createPlugin, nt as Touchable, o as Emitter, ot as frameAt, p as Pixelate, pt as mut, q as Held, qt as bind, r as defineGame, rt as Traceable, s as Wave, st as Exiting, t as createApp, tt as Tappable, u as Shadow, ut as Order, v as Flash, vt as guide, w as Blur, wt as uiPlugin, x as Aura, xt as defineFeature, y as Dissolve, yt as hint, z as Animation, zt as debugPlugin } from "./index-oS9wiCoO.mjs";
1
+ import { $t as PerfSampleLine, An as type, At as MonitorSections, B as OverlayValue, Br as types_d_exports$3, Bt as PerfChange, Ct as FrameColumns, Dn as exit, Dt as FrameRing, E as types_d_exports$13, Et as FrameRecord, F as HudPart, Ft as PERF_LOG_VERSION, G as SpriteBlend, Gt as PerfEventLine, H as Shape, Ht as PerfCollectorLine, I as HudPartValue, It as PROBLEM_RULES, J as Transform, Jt as PerfHeaderLine, Kt as PerfEventName, L as NineSlice, Lt as PassKind, Mt as OverlayWhat, N as WhyEntry, Nt as PERF_CAUSES, On as slot, Ot as LongFrameEntry, P as Display, Pr as types_d_exports$17, Pt as PERF_GAP_BUCKETS, Qn as AnchorTarget, Qr as SaveUnreadableError, Qt as PerfMeasured, Rt as PassRecord, St as WhyLive, Tn as contribution, Tt as FrameReadout, Ut as PerfCounts, V as Parent, Vt as PerfChangeEntry, W as Sprite, Wt as PerfDisplay, X as sprite, Xt as PerfLongFrameLine, Yt as PerfLogLine, Z as AdaptiveScale, Zt as PerfMarkLine, _i as types_d_exports$15, an as ProblemEventDetail, cn as ShaderEventDetail, ct as PoolTrim, dn as CANVAS_RESTARTS, dt as types_d_exports$12, en as PerfSpikeLine, er as DescriptionNode, et as MonitorConfig, fn as CanvasRestart, ft as ShotsApi, g as types_d_exports$1, ht as MonitorCounts, in as PoolTrimDetail, jt as OverlayEventDetail, kn as to, kt as MONITOR_SECTIONS, li as types_d_exports$9, ln as ShaderWhat, lr as SceneSwitch, nn as PerfTelemetryLine, on as ProblemRule, pn as DEMAND_REASONS, pt as ShotsConfig, qr as types_d_exports$10, qt as PerfGapLine, rn as PerfThermalLine, sn as SHADER_WHATS, tn as PerfStartupLine, un as WarmDetail, wn as types_d_exports$6, wt as FrameReadResult, xt as RetakeWhy, z as Overlay, zt as PerfCause } from "./types-B93wB7Sh.mjs";
2
+ import { A as TextRunStyle, At as use, Ct as set, D as TextFormatAnswer, Dt as stagger, E as TextFormat, Et as spawned, F as defineComponent, Nt as types_d_exports$4, O as TextFormatFunction, Ot as stopSfx, P as types_d_exports$14, St as sequence, Tt as spawn, X as types_d_exports$7, _t as frames, b as CountdownValue, bt as parallel, c as types_d_exports$16, d as LocalWrite, dt as HapticKind, et as TextTagStyle, f as ScrollState, gt as external, ht as defineAnimation, jt as wait, k as TextFormats, kt as tween, l as Box, m as defineTokens, mt as HAPTIC_KINDS, p as popup, u as DebugTrigger, ut as types_d_exports, v as BindOptions, vt as haptic, wt as sfx, x as FormattedNumber, xt as play, yt as mark, z as types_d_exports$8 } from "./types-Cs3a-2Km.mjs";
3
+ import { C as PixelateValue, D as ShineValue, E as ShadowValue, L as FilterArea, O as VignetteValue, S as MirrorValue, T as RevealRoundValue, _ as DissolveValue, b as GradeValue, g as BloomValue, h as AuraValue, k as WaveValue, l as types_d_exports$2, m as types_d_exports$5, v as FlashValue, w as RevealLineValue, x as GradientMapValue, y as FoldValue } from "./types-VZL87Yhu.mjs";
4
+ import { $ as Swipeable, A as music, At as BackResult, B as Frames, Bt as clockPlugin, C as Alpha, Ct as worldPlugin, D as Glow, Dt as scenesPlugin, E as Displacement, Et as textPlugin, F as messageDuration, Ft as inputPlugin, G as Draggable, Gt as Countdown, H as defineBundles, Ht as assetsPlugin, I as cubicBezier, It as i18nPlugin, J as Hovered, Jt as defineTextFormats, K as DropTarget, Kt as Text, L as defineMotion, Lt as flowPlugin, M as defineStyle, Mt as types_d_exports$11, N as tr, Nt as modelPlugin, O as Noise, Ot as rendererPlugin, P as messageArgument, Pt as lifecyclePlugin, Q as Pressed, R as AnimPlayer, Rt as effectsPlugin, S as defineFilter, St as flattenFeatures, T as ColorMatrix, Tt as timePlugin, U as load, Ut as animPlugin, V as defineScene, Vt as audioPlugin, W as ready, Wt as projection, X as PointerOver, Xt as label, Y as Pointer, Yt as defineTextStyles, Z as Pressable, _ as Fold, _t as defineEffect, a as defineEmitter, at as PASS_KINDS, b as Bloom, bt as schedule, c as Vignette, ct as Layer, d as RevealRound, dt as Tree, et as TapValue, f as RevealLine, ft as component, g as Grade, gt as tag, h as GradientMap, ht as system, i as screen, it as Traced, j as resolve, jt as PlatformProvider, k as Outline, kt as platformPlugin, l as Shine, lt as Now, m as Mirror, mt as resource, n as createPlugin, nt as Touchable, o as Emitter, ot as frameAt, p as Pixelate, pt as mut, q as Held, qt as bind, r as defineGame, rt as Traceable, s as Wave, st as Exiting, t as createApp, tt as Tappable, u as Shadow, ut as Order, v as Flash, vt as guide, w as Blur, wt as uiPlugin, x as Aura, xt as defineFeature, y as Dissolve, yt as hint, z as Animation, zt as debugPlugin } from "./index-HsOHfkao.mjs";
5
5
  export { type AdaptiveScale, Alpha, type AnchorTarget, types_d_exports as Anim, AnimPlayer, Animation, types_d_exports$1 as Assets, types_d_exports$2 as Audio, Aura, type AuraValue, type BackResult, type BindOptions, Bloom, type BloomValue, Blur, Box, CANVAS_RESTARTS, type CanvasRestart, types_d_exports$3 as Clock, ColorMatrix, Countdown, type CountdownValue, DEMAND_REASONS, types_d_exports$4 as Debug, DebugTrigger, type DescriptionNode, Displacement, Display, Dissolve, type DissolveValue, Draggable, DropTarget, types_d_exports$5 as Effects, Emitter, Exiting, type FilterArea, Flash, type FlashValue, types_d_exports$6 as Flow, Fold, type FoldValue, type FormattedNumber, type FrameColumns, type FrameReadResult, type FrameReadout, type FrameRecord, type FrameRing, Frames, Glow, Grade, type GradeValue, GradientMap, type GradientMapValue, HAPTIC_KINDS, type HapticKind, Held, Hovered, HudPart, type HudPartValue, types_d_exports$7 as I18n, types_d_exports$8 as Input, Layer, types_d_exports$9 as Lifecycle, LocalWrite, type LongFrameEntry, MONITOR_SECTIONS, Mirror, type MirrorValue, types_d_exports$10 as Model, type MonitorConfig, type MonitorCounts, type MonitorSections, NineSlice, Noise, Now, Order, Outline, Overlay, type OverlayEventDetail, type OverlayValue, type OverlayWhat, PASS_KINDS, PERF_CAUSES, PERF_GAP_BUCKETS, PERF_LOG_VERSION, PROBLEM_RULES, Parent, type PassKind, type PassRecord, type PerfCause, type PerfChange, type PerfChangeEntry, type PerfCollectorLine, type PerfCounts, type PerfDisplay, type PerfEventLine, type PerfEventName, type PerfGapLine, type PerfHeaderLine, type PerfLogLine, type PerfLongFrameLine, type PerfMarkLine, type PerfMeasured, type PerfSampleLine, type PerfSpikeLine, type PerfStartupLine, type PerfTelemetryLine, type PerfThermalLine, Pixelate, type PixelateValue, types_d_exports$11 as Platform, type PlatformProvider, Pointer, PointerOver, type PoolTrim, type PoolTrimDetail, Pressable, Pressed, type ProblemEventDetail, type ProblemRule, types_d_exports$12 as Renderer, type RetakeWhy, RevealLine, type RevealLineValue, RevealRound, type RevealRoundValue, SHADER_WHATS, SaveUnreadableError, type SceneSwitch, types_d_exports$13 as Scenes, ScrollState, type ShaderEventDetail, type ShaderWhat, Shadow, type ShadowValue, Shape, Shine, type ShineValue, type ShotsApi, type ShotsConfig, Sprite, type SpriteBlend, Swipeable, type TapValue, Tappable, Text, type TextFormat, type TextFormatAnswer, type TextFormatFunction, type TextFormats, type TextRunStyle, type TextTagStyle, types_d_exports$14 as TextTypes, types_d_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_d_exports$16 as Ui, Vignette, type VignetteValue, type WarmDetail, Wave, type WaveValue, type WhyEntry, type WhyLive, types_d_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, defineTextFormats, defineTextStyles, defineTokens, effectsPlugin, exit, external, flattenFeatures, flowPlugin, frameAt, frames, guide, haptic, hint, i18nPlugin, inputPlugin, label, lifecyclePlugin, load, mark, messageArgument, messageDuration, modelPlugin, music, mut, parallel, platformPlugin, play, popup, projection, ready, rendererPlugin, resolve, resource, scenesPlugin, schedule, screen, sequence, set, sfx, slot, spawn, spawned, sprite, stagger, stopSfx, system, tag, textPlugin, timePlugin, to, tr, tween, type, uiPlugin, use, wait, worldPlugin };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as uiPlugin, $t as animPlugin, A as defineEmitter, At as Pressed, B as types_exports$12, Bt as Emitter, C as hint, Cn as SaveUnreadableError, Ct as Draggable, D as tr, Dt as Pointer, E as defineScene, En as timePlugin, Et as Hovered, F as types_exports$17, Ft as Traced, G as types_exports$7, Gt as Glow, H as types_exports$10, Ht as Blur, I as types_exports$16, It as i18nPlugin, J as types_exports$4, Jt as defineFilter, K as types_exports$6, Kt as Noise, L as types_exports$15, Lt as messageArgument, M as defineBundles, Mt as Tappable, N as load, Nt as Touchable, O as defineFeature, Ot as PointerOver, P as ready, Pt as Traceable, Q as types_exports, Qt as assetsPlugin, R as types_exports$14, Rt as messageDuration, S as guide, Sn as modelPlugin, St as inputPlugin, T as projection, Tn as lifecyclePlugin, Tt as Held, U as types_exports$9, Ut as ColorMatrix, V as types_exports$11, Vt as Alpha, W as types_exports$8, Wt as Displacement, X as types_exports$2, Xt as audioPlugin, Y as types_exports$3, Yt as debugPlugin, Z as types_exports$1, Zt as scenesPlugin, _ as Dissolve, _n as contribution, _t as stagger, a as Wave, an as frameAt, at as defineAnimation, b as cubicBezier, bn as to, bt as use, c as Shadow, cn as PERF_GAP_BUCKETS, ct as haptic, d as Pixelate, dn as SHADER_WHATS, dt as play, en as AnimPlayer, et as resolve, f as Mirror, fn as CANVAS_RESTARTS, ft as sequence, g as Flash, gt as spawned, h as Fold, hn as flowPlugin, ht as spawn, i as screen, in as PASS_KINDS, it as HAPTIC_KINDS, j as music, jt as Swipeable, k as flattenFeatures, kt as Pressable, l as RevealRound, ln as PERF_LOG_VERSION, lt as mark, m as Grade, mn as worldPlugin, mt as sfx, n as createPlugin, nn as Frames, nt as textPlugin, o as Vignette, on as MONITOR_SECTIONS, ot as external, p as GradientMap, pn as DEMAND_REASONS, pt as set, q as types_exports$5, qt as Outline, r as defineGame, rn as rendererPlugin, rt as platformPlugin, s as Shine, sn as PERF_CAUSES, st as frames, t as createApp, tn as Animation, tt as defineMotion, u as RevealLine, un as PROBLEM_RULES, ut as parallel, v as Bloom, vn as exit, vt as stopSfx, w as schedule, wn as clockPlugin, wt as DropTarget, x as defineEffect, xn as type, xt as wait, y as Aura, yn as slot, yt as tween, z as types_exports$13, zt as effectsPlugin } from "./src-DBhsppmi.mjs";
1
+ import { $ as uiPlugin, $t as animPlugin, A as defineEmitter, At as Pressed, B as types_exports$12, Bt as Emitter, C as hint, Cn as SaveUnreadableError, Ct as Draggable, D as tr, Dt as Pointer, E as defineScene, En as timePlugin, Et as Hovered, F as types_exports$17, Ft as Traced, G as types_exports$7, Gt as Glow, H as types_exports$10, Ht as Blur, I as types_exports$16, It as i18nPlugin, J as types_exports$4, Jt as defineFilter, K as types_exports$6, Kt as Noise, L as types_exports$15, Lt as messageArgument, M as defineBundles, Mt as Tappable, N as load, Nt as Touchable, O as defineFeature, Ot as PointerOver, P as ready, Pt as Traceable, Q as types_exports, Qt as assetsPlugin, R as types_exports$14, Rt as messageDuration, S as guide, Sn as modelPlugin, St as inputPlugin, T as projection, Tn as lifecyclePlugin, Tt as Held, U as types_exports$9, Ut as ColorMatrix, V as types_exports$11, Vt as Alpha, W as types_exports$8, Wt as Displacement, X as types_exports$2, Xt as audioPlugin, Y as types_exports$3, Yt as debugPlugin, Z as types_exports$1, Zt as scenesPlugin, _ as Dissolve, _n as contribution, _t as stagger, a as Wave, an as frameAt, at as defineAnimation, b as cubicBezier, bn as to, bt as use, c as Shadow, cn as PERF_GAP_BUCKETS, ct as haptic, d as Pixelate, dn as SHADER_WHATS, dt as play, en as AnimPlayer, et as resolve, f as Mirror, fn as CANVAS_RESTARTS, ft as sequence, g as Flash, gt as spawned, h as Fold, hn as flowPlugin, ht as spawn, i as screen, in as PASS_KINDS, it as HAPTIC_KINDS, j as music, jt as Swipeable, k as flattenFeatures, kt as Pressable, l as RevealRound, ln as PERF_LOG_VERSION, lt as mark, m as Grade, mn as worldPlugin, mt as sfx, n as createPlugin, nn as Frames, nt as textPlugin, o as Vignette, on as MONITOR_SECTIONS, ot as external, p as GradientMap, pn as DEMAND_REASONS, pt as set, q as types_exports$5, qt as Outline, r as defineGame, rn as rendererPlugin, rt as platformPlugin, s as Shine, sn as PERF_CAUSES, st as frames, t as createApp, tn as Animation, tt as defineMotion, u as RevealLine, un as PROBLEM_RULES, ut as parallel, v as Bloom, vn as exit, vt as stopSfx, w as schedule, wn as clockPlugin, wt as DropTarget, x as defineEffect, xn as type, xt as wait, y as Aura, yn as slot, yt as tween, z as types_exports$13, zt as effectsPlugin } from "./src-CUi3Ytta.mjs";
2
2
  import { $ as Overlay, D as defineStyle, E as defineTokens, L as defineTextFormats, M as Countdown, N as Text, P as bind, Q as NineSlice, R as defineTextStyles, X as Display, Z as HudPart, _ as DebugTrigger, ct as Exiting, dt as Order, ft as Tree, gt as system, h as Box, ht as resource, it as Transform, lt as Layer, mt as mut, nt as Shape, pt as component, rt as Sprite, st as sprite, tt as Parent, ut as Now, vt as tag, w as popup, x as ScrollState, y as LocalWrite, z as label } from "./visual-x0TPowBE.mjs";
3
3
  import { t as defineComponent } from "./component-DGg5DqKK.mjs";
4
4
  export { Alpha, types_exports as Anim, AnimPlayer, Animation, types_exports$1 as Assets, types_exports$2 as Audio, Aura, Bloom, Blur, Box, CANVAS_RESTARTS, types_exports$3 as Clock, ColorMatrix, Countdown, DEMAND_REASONS, types_exports$4 as Debug, DebugTrigger, Displacement, Display, Dissolve, Draggable, DropTarget, types_exports$5 as Effects, Emitter, Exiting, Flash, types_exports$6 as Flow, Fold, Frames, Glow, Grade, GradientMap, HAPTIC_KINDS, Held, Hovered, HudPart, types_exports$7 as I18n, types_exports$8 as Input, Layer, types_exports$9 as Lifecycle, LocalWrite, MONITOR_SECTIONS, Mirror, types_exports$10 as Model, NineSlice, Noise, Now, Order, Outline, Overlay, PASS_KINDS, PERF_CAUSES, PERF_GAP_BUCKETS, PERF_LOG_VERSION, PROBLEM_RULES, Parent, Pixelate, types_exports$11 as Platform, Pointer, PointerOver, Pressable, Pressed, types_exports$12 as Renderer, RevealLine, RevealRound, SHADER_WHATS, SaveUnreadableError, types_exports$13 as Scenes, ScrollState, Shadow, Shape, Shine, Sprite, Swipeable, Tappable, Text, types_exports$14 as TextTypes, types_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_exports$16 as Ui, Vignette, Wave, types_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, defineTextFormats, defineTextStyles, defineTokens, effectsPlugin, exit, external, flattenFeatures, flowPlugin, frameAt, frames, guide, haptic, hint, i18nPlugin, inputPlugin, label, lifecyclePlugin, load, mark, messageArgument, messageDuration, modelPlugin, music, mut, parallel, platformPlugin, play, popup, projection, ready, rendererPlugin, resolve, resource, scenesPlugin, schedule, screen, sequence, set, sfx, slot, spawn, spawned, sprite, stagger, stopSfx, system, tag, textPlugin, timePlugin, to, tr, tween, type, uiPlugin, use, wait, worldPlugin };
@@ -1,9 +1,9 @@
1
- import { $r as Snapshot, Ar as Api$1, Ln as FlowGraph, Mr as Explained, Q as Api$2, Sr as FrameDiff, Vr as Api, _r as ComponentSchema, bn as Position, gt as RenderStats, h as Usage, t as Api$3, ut as Under, xr as EntitySnapshot, zn as JournalEntry } from "./types-DTkhpupa.mjs";
2
- import { i as UiNode, lt as TimelinesSnapshot, nt as AnimApi, s as UiApi } from "./types-C4d1Ptfc.mjs";
3
- import { d as EffectsApi, f as EffectsStats, o as SoundEntry, t as AudioApi } from "./types-dSup2_q9.mjs";
4
- import { t as HeadlessApp } from "./headless-PANjNy6-.mjs";
5
- import { a as InputArguments, d as WatchApp, f as WatchInput, l as Source, o as InputOf, s as InputSchema, t as CheatEntry } from "./types-BuN6rLDs.mjs";
6
- import { n as defineSource } from "./define-DSOTwTUY.mjs";
1
+ import { $r as Snapshot, Ar as Api$1, Ln as FlowGraph, Mr as Explained, Q as Api$2, Sr as FrameDiff, Vr as Api, _r as ComponentSchema, bn as Position, gt as RenderStats, h as Usage, t as Api$3, ut as Under, xr as EntitySnapshot, zn as JournalEntry } from "./types-B93wB7Sh.mjs";
2
+ import { i as UiNode, lt as TimelinesSnapshot, nt as AnimApi, s as UiApi } from "./types-Cs3a-2Km.mjs";
3
+ import { d as EffectsApi, f as EffectsStats, o as SoundEntry, t as AudioApi } from "./types-VZL87Yhu.mjs";
4
+ import { t as HeadlessApp } from "./headless-8XrFW9w1.mjs";
5
+ import { a as InputArguments, d as WatchApp, f as WatchInput, l as Source, o as InputOf, s as InputSchema, t as CheatEntry } from "./types-BEEPI3F3.mjs";
6
+ import { n as defineSource } from "./define-SHySD9Bw.mjs";
7
7
 
8
8
  //#region src/plugins/flow/doors/read.d.ts
9
9
  /**
@@ -1,2 +1,2 @@
1
- import { a as jsxs, i as jsxDEV, n as JSX, r as jsx, t as Fragment } from "./runtime-Bb5sNTGb.mjs";
1
+ import { a as jsxs, i as jsxDEV, n as JSX, r as jsx, t as Fragment } from "./runtime-JG7kE0RP.mjs";
2
2
  export { Fragment, type JSX, jsx, jsxDEV, jsxs };
@@ -1,2 +1,2 @@
1
- import { a as jsxs, n as JSX, r as jsx, t as Fragment } from "./runtime-Bb5sNTGb.mjs";
1
+ import { a as jsxs, n as JSX, r as jsx, t as Fragment } from "./runtime-JG7kE0RP.mjs";
2
2
  export { Fragment, type JSX, jsx, jsxs };
@@ -1,4 +1,4 @@
1
- import { g as UiIntrinsicElements, n as JsxChild, t as DescriptionNode } from "./types-C4d1Ptfc.mjs";
1
+ import { g as UiIntrinsicElements, n as JsxChild, t as DescriptionNode } from "./types-Cs3a-2Km.mjs";
2
2
 
3
3
  //#region src/plugins/ui/jsx/runtime.d.ts
4
4
  /** What the compiler passes as props: the children plus whatever the tag declared. */
@@ -3339,7 +3339,9 @@ function beginGuide(state, signal) {
3339
3339
  * gate opened. The spread keeps a payload-less answer without a `payload` key, and `at` replaces
3340
3340
  * one a caller put on the answer. In live mode the handler is called as well: it only shows the UI,
3341
3341
  * the answer comes through the gate, so its failure is logged and does not block the node. Its
3342
- * signal ends with the answer — that is how the popup layer knows to unmount what it showed.
3342
+ * signal ends with the answer — that is how the popup layer knows to unmount what it showed. In
3343
+ * fast mode the call waits in `state.unshown` until the answer: when the mode goes back to live
3344
+ * first (a walk rests at this gate), `setMode` shows the popup then.
3343
3345
  *
3344
3346
  * @param ctx - Domain context of the flow plugin.
3345
3347
  * @param gate - Internal gate API.
@@ -3349,13 +3351,23 @@ function beginGuide(state, signal) {
3349
3351
  * @returns The answer the gate accepted, with the moment it arrived.
3350
3352
  */
3351
3353
  function openForAnswers(ctx, gate, descriptor, answers, signal) {
3354
+ const state = ctx.state.fx;
3352
3355
  const answered = gate.open({ allowed: answers }).then((answer) => ({
3353
3356
  ...answer,
3354
3357
  at: ctx.deps.clock.now()
3355
3358
  }));
3356
- if (ctx.state.fx.mode !== "live") return answered;
3357
3359
  const shown = childOf$1(signal);
3358
- invoke(ctx.state.fx, ctx.log, descriptor, shown.signal);
3360
+ /**
3361
+ * Calls the handler with the signal that ends with the answer.
3362
+ */
3363
+ const show = () => {
3364
+ invoke(state, ctx.log, descriptor, shown.signal);
3365
+ };
3366
+ if (state.mode === "live") show();
3367
+ else if (!shown.signal.aborted) state.unshown = show;
3368
+ shown.signal.addEventListener("abort", () => {
3369
+ if (state.unshown === show) state.unshown = void 0;
3370
+ });
3359
3371
  return answered.finally(() => {
3360
3372
  shown.abort();
3361
3373
  });
@@ -3438,7 +3450,11 @@ function createFxApi(ctx, deps) {
3438
3450
  for (const controller of shown) controller.abort();
3439
3451
  },
3440
3452
  setMode: (mode) => {
3453
+ const unshown = state.unshown;
3441
3454
  state.mode = mode;
3455
+ if (mode !== "live" || unshown === void 0) return;
3456
+ state.unshown = void 0;
3457
+ unshown();
3442
3458
  }
3443
3459
  };
3444
3460
  }
@@ -7167,7 +7183,8 @@ async function playRoute(ctx, modules, route, running) {
7167
7183
  * after the switch, so it never starts live and never shows its popup. The mode of the caller
7168
7184
  * is put back afterwards, also when the bookmark is refused or a step rejects, and a
7169
7185
  * substitution the route never reached is disarmed: it must not skip a sub-flow in the live play
7170
- * that follows. Back in live mode, the guide of the node the walk ends at is shown.
7186
+ * that follows. Back in live mode, the guide of the node the walk ends at is shown, and `fx`
7187
+ * shows the popup whose gate the walk rests at.
7171
7188
  *
7172
7189
  * @param ctx - Domain context of the flow plugin.
7173
7190
  * @param modules - Injected sibling APIs: features, fx, gate, inbox.
@@ -7612,6 +7629,7 @@ function createFxState() {
7612
7629
  hintListeners: [],
7613
7630
  settled: [],
7614
7631
  guides: [],
7632
+ unshown: void 0,
7615
7633
  mode: "live"
7616
7634
  };
7617
7635
  }
@@ -1,7 +1,7 @@
1
- import { Bn as NodeTable, Ir as ClockSource, Jn as Hint, Mn as FeaturePlugin, Pn as AnyFlow, Rr as FakeClock, Wn as Descriptor, Wr as Json, Yn as NodeFx } from "./types-DTkhpupa.mjs";
2
- import { t as createApp } from "./index-oS9wiCoO.mjs";
3
- import { b as memory, x as saveOf, y as WithGameState } from "./types-SUCTOeQZ.mjs";
4
- import { a as createHeadless, i as ReproResult, n as HeadlessGame, o as runRepro, r as Repro, s as stepFrames, t as HeadlessApp } from "./headless-PANjNy6-.mjs";
1
+ import { Bn as NodeTable, Ir as ClockSource, Jn as Hint, Mn as FeaturePlugin, Pn as AnyFlow, Rr as FakeClock, Wn as Descriptor, Wr as Json, Yn as NodeFx } from "./types-B93wB7Sh.mjs";
2
+ import { t as createApp } from "./index-HsOHfkao.mjs";
3
+ import { b as memory, x as saveOf, y as WithGameState } from "./types-CZguGD6b.mjs";
4
+ import { a as createHeadless, i as ReproResult, n as HeadlessGame, o as runRepro, r as Repro, s as stepFrames, t as HeadlessApp } from "./headless-8XrFW9w1.mjs";
5
5
  import { AnyPluginInstance } from "@moku-labs/core";
6
6
 
7
7
  //#region src/plugins/clock/fake.d.ts
package/dist/testing.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { gn as refuseStart, k as flattenFeatures, t as createApp, vn as exit, xn as type } from "./src-DBhsppmi.mjs";
1
+ import { gn as refuseStart, k as flattenFeatures, t as createApp, vn as exit, xn as type } from "./src-CUi3Ytta.mjs";
2
2
  import { n as saveOf, t as memory } from "./memory-DeD9wis6.mjs";
3
3
  import { n as fakeClock } from "./fake-hnJcJeYf.mjs";
4
4
  import { i as stepFrames, r as runRepro, t as createHeadless } from "./headless-yi2XmYWC.mjs";
@@ -5416,7 +5416,8 @@ type FxState = {
5416
5416
  buffered: Hint[]; /** Listeners of released hints, in registration order. */
5417
5417
  hintListeners: HintListener[]; /** Completions waiting for the `signals` phase, in start order. */
5418
5418
  settled: Array<() => void>; /** The child controllers of the `guide` handlers that are showing something right now. */
5419
- guides: AbortController[];
5419
+ guides: AbortController[]; /** The handler of the answered effect whose gate opened in fast mode and still waits. */
5420
+ unshown: (() => void) | undefined;
5420
5421
  mode: "live" | "fast";
5421
5422
  };
5422
5423
  /**
@@ -6705,7 +6706,8 @@ type RunnerApi = {
6705
6706
  * before the switch to fast mode: its stages see the mode of the caller. A transit node is
6706
6707
  * entered after the switch and without the wait `restore` adds for it: its popup is not shown,
6707
6708
  * the route answers it. The mode of the caller is put back afterwards; when it is live, the guide
6708
- * of the node the walk ends at is shown, its lock and veil as on a live entry.
6709
+ * of the node the walk ends at is shown, its lock and veil as on a live entry, and so is the
6710
+ * popup whose gate the walk rests at (the popups the route answered on its way stay unshown).
6709
6711
  *
6710
6712
  * @param route - The player's answers and substituted sub-flow results, in order.
6711
6713
  * @param options - Walk options.
@@ -1,5 +1,5 @@
1
- import { $r as Snapshot, Wr as Json } from "./types-DTkhpupa.mjs";
2
- import { t as HeadlessApp } from "./headless-PANjNy6-.mjs";
1
+ import { $r as Snapshot, Wr as Json } from "./types-B93wB7Sh.mjs";
2
+ import { t as HeadlessApp } from "./headless-8XrFW9w1.mjs";
3
3
  import { Log } from "@moku-labs/common/browser";
4
4
 
5
5
  //#region src/plugins/flow/doors/types.d.ts
@@ -1,7 +1,7 @@
1
- import { $ as Config$2, Hr as Config, Ir as ClockSource, Mn as FeaturePlugin, Pn as AnyFlow, Rr as FakeClock, Un as TypeTag, Wr as Json, Xr as ProviderCall, Yr as PlayerStateProvider, Zr as SaveDoc, _t as Orientation, a as Config$3, d as Manifest, ei as SnapshotOf, gn as Config$1, it as PixiModule, n as AssetsIo } from "./types-DTkhpupa.mjs";
2
- import { H as I18nApi, J as TextKey, q as StringTable } from "./types-C4d1Ptfc.mjs";
3
- import { n as AudioContextLike, r as Config$4 } from "./types-dSup2_q9.mjs";
4
- import { Rt as effectsPlugin, Vt as audioPlugin, i as screen, jt as PlatformProvider, kt as platformPlugin, t as createApp } from "./index-oS9wiCoO.mjs";
1
+ import { $ as Config$2, Hr as Config, Ir as ClockSource, Mn as FeaturePlugin, Pn as AnyFlow, Rr as FakeClock, Un as TypeTag, Wr as Json, Xr as ProviderCall, Yr as PlayerStateProvider, Zr as SaveDoc, _t as Orientation, a as Config$3, d as Manifest, ei as SnapshotOf, gn as Config$1, it as PixiModule, n as AssetsIo } from "./types-B93wB7Sh.mjs";
2
+ import { H as I18nApi, J as TextKey, q as StringTable } from "./types-Cs3a-2Km.mjs";
3
+ import { n as AudioContextLike, r as Config$4 } from "./types-VZL87Yhu.mjs";
4
+ import { Rt as effectsPlugin, Vt as audioPlugin, i as screen, jt as PlatformProvider, kt as platformPlugin, t as createApp } from "./index-HsOHfkao.mjs";
5
5
  import { AnyPluginInstance } from "@moku-labs/core";
6
6
 
7
7
  //#region src/plugins/model/store/providers/memory.d.ts
@@ -1,4 +1,4 @@
1
- import { $n as ChangeHook, Ar as Api$3, D as AxisPose, Fr as Api$6, Jn as Hint, M as SyncApi, Q as Api$4, Qn as AnchorTarget, Un as TypeTag, Wn as Descriptor, Wr as Json, Y as TransformValue, Zn as Answered, ar as NumericFields, bi as Require, br as Entity, cr as ReducedMotion, dr as TrackSegment, fr as ViewHandle, gr as ComponentHandle, hr as AnyComponentValue, ir as MotionHandle, it as PixiModule, kr as TagType, mn as Api$2, mr as AnyComponentType, nr as Motion, or as ProjectionMotion, pr as AnyComponent, rr as MotionCause, s as Events$2, t as Api$5, tr as Ease, tt as PixiContainer, ui as Api$1, ur as TrackOptions, vr as ComponentType, yi as Events$3, yt as ViewportSize } from "./types-DTkhpupa.mjs";
1
+ import { $n as ChangeHook, Ar as Api$3, D as AxisPose, Fr as Api$6, Jn as Hint, M as SyncApi, Q as Api$4, Qn as AnchorTarget, Un as TypeTag, Wn as Descriptor, Wr as Json, Y as TransformValue, Zn as Answered, ar as NumericFields, bi as Require, br as Entity, cr as ReducedMotion, dr as TrackSegment, fr as ViewHandle, gr as ComponentHandle, hr as AnyComponentValue, ir as MotionHandle, it as PixiModule, kr as TagType, mn as Api$2, mr as AnyComponentType, nr as Motion, or as ProjectionMotion, pr as AnyComponent, rr as MotionCause, s as Events$2, t as Api$5, tr as Ease, tt as PixiContainer, ui as Api$1, ur as TrackOptions, vr as ComponentType, yi as Events$3, yt as ViewportSize } from "./types-B93wB7Sh.mjs";
2
2
  import { Log } from "@moku-labs/common/browser";
3
3
  import { PluginCtx } from "@moku-labs/core";
4
4
  import { Align, Justify, Node, Overflow, Yoga } from "yoga-layout/load";
@@ -1,5 +1,5 @@
1
- import { A as FilterSlotInputs, Ar as Api$1, Q as Api$2, Ur as Events$2, Vr as Api$4, Wn as Descriptor, Wr as Json, at as PixiSprite, b as Events$3, bi as Require, br as Entity, bt as FilterCache, gr as ComponentHandle, it as PixiModule, j as FilterSlotQuad, k as FilterSlot, mn as Api, nt as PixiFilter, oi as Events$4, ot as PixiTexture, rt as PixiGpuProgram, s as Events, st as PixiUniformGroup, t as Api$3, ui as Api$5, vr as ComponentType, vt as Point, yi as Events$1 } from "./types-DTkhpupa.mjs";
2
- import { nt as AnimApi } from "./types-C4d1Ptfc.mjs";
1
+ import { A as FilterSlotInputs, Ar as Api$1, Q as Api$2, Ur as Events$2, Vr as Api$4, Wn as Descriptor, Wr as Json, at as PixiSprite, b as Events$3, bi as Require, br as Entity, bt as FilterCache, gr as ComponentHandle, it as PixiModule, j as FilterSlotQuad, k as FilterSlot, mn as Api, nt as PixiFilter, oi as Events$4, ot as PixiTexture, rt as PixiGpuProgram, s as Events, st as PixiUniformGroup, t as Api$3, ui as Api$5, vr as ComponentType, vt as Point, yi as Events$1 } from "./types-B93wB7Sh.mjs";
2
+ import { nt as AnimApi } from "./types-Cs3a-2Km.mjs";
3
3
  import { Log } from "@moku-labs/common/browser";
4
4
  import { PluginCtx } from "@moku-labs/core";
5
5
 
@@ -1,8 +1,8 @@
1
- import { Ar as Api$1, Fr as Api$4, Q as Api, Vr as Api$2, ii as Api$3 } from "./types-DTkhpupa.mjs";
2
- import { L as InputApi, nt as AnimApi, s as UiApi } from "./types-C4d1Ptfc.mjs";
3
- import { r as Repro } from "./headless-PANjNy6-.mjs";
4
- import { i as ControlApp, o as InputOf } from "./types-BuN6rLDs.mjs";
5
- import { t as commands } from "./commands-CAvCuLaL.mjs";
1
+ import { Ar as Api$1, Fr as Api$4, Q as Api, Vr as Api$2, ii as Api$3 } from "./types-B93wB7Sh.mjs";
2
+ import { L as InputApi, nt as AnimApi, s as UiApi } from "./types-Cs3a-2Km.mjs";
3
+ import { r as Repro } from "./headless-8XrFW9w1.mjs";
4
+ import { i as ControlApp, o as InputOf } from "./types-BEEPI3F3.mjs";
5
+ import { t as commands } from "./commands-D5MG6t52.mjs";
6
6
 
7
7
  //#region src/visual/types.d.ts
8
8
  /** The base commands of the `/control` door, keyed by their short names. */
package/dist/visual.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as VisualApp, c as VisualRenderer, d as VisualStart, f as VisualStep, h as VisualTolerance, i as CheckpointResult, l as VisualReport, m as VisualTestResult, n as runVisualTests, o as VisualOptions, p as VisualTest, r as defineVisualTest, s as VisualPage, t as parseVisualArgv, u as VisualSetup } from "./visual-BZrQT1r1.mjs";
1
+ import { a as VisualApp, c as VisualRenderer, d as VisualStart, f as VisualStep, h as VisualTolerance, i as CheckpointResult, l as VisualReport, m as VisualTestResult, n as runVisualTests, o as VisualOptions, p as VisualTest, r as defineVisualTest, s as VisualPage, t as parseVisualArgv, u as VisualSetup } from "./visual-BrvFv5pU.mjs";
2
2
  export { type CheckpointResult, type VisualApp, type VisualOptions, type VisualPage, type VisualRenderer, type VisualReport, type VisualSetup, type VisualStart, type VisualStep, type VisualTest, type VisualTestResult, type VisualTolerance, defineVisualTest, parseVisualArgv, runVisualTests };
package/llms.txt CHANGED
@@ -539,7 +539,7 @@ The editor's overlay from the game, in every app. The plugin name `debug` is res
539
539
  ### flow (Very Complex, depends on time, lifecycle, model, clock)
540
540
 
541
541
  The graph. Modules `runner`, `gate`, `inbox`, `fx`, `features`. Runner methods sit on the plugin root.
542
- - Runner: `run(): Promise<void>`, `onEnter(stage: "begin" | "load" | "scene", callback): () => void` (stages run in that order, each awaited; a `"begin"` callback must not wait: `scenes` shows the veil there before `assets` downloads at `"load"`), `walk(route, options?: { from?: Bookmark }): Promise<FlowState>`, `bookmark(): Bookmark`, `restore(bookmark): Promise<void>`, `describe(): FlowGraph`, `state(): FlowState`, `history(): readonly JournalEntry[]`, `setMode("live" | "fast")`.
542
+ - Runner: `run(): Promise<void>`, `onEnter(stage: "begin" | "load" | "scene", callback): () => void` (stages run in that order, each awaited; a `"begin"` callback must not wait: `scenes` shows the veil there before `assets` downloads at `"load"`), `walk(route, options?: { from?: Bookmark }): Promise<FlowState>` (on a live app the popup whose gate the walk rests at is shown once live mode is back; popups the route answered stay unshown), `bookmark(): Bookmark`, `restore(bookmark): Promise<void>`, `describe(): FlowGraph`, `state(): FlowState`, `history(): readonly JournalEntry[]`, `setMode("live" | "fast")`.
543
543
  - `gate.answer({ intent, payload? }): boolean` is the one entry of player answers. `gate.pointer(active)`. `gate.state(): { open, allowed, narrowed, blocked? }` (`blocked` while a guide names the answer of a press outside its window).
544
544
  - `inbox.post({ type, payload? })` queues a world event. One entry per type. It is delivered only to a rest node whose `inbox` lists the type.
545
545
  - `fx.handle(kind, handler, options?: { runInFast?: boolean }): () => void` registers the single handler of one effect kind. `fx.dispatch(descriptor)` is fire-and-forget. An awaited effect without a handler resolves `undefined` at once.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moku-labs/game",
3
- "version": "0.15.163",
3
+ "version": "0.15.164",
4
4
  "description": "2D puzzle game engine on TypeScript and PixiJS, built on @moku-labs/core.",
5
5
  "type": "module",
6
6
  "sideEffects": [