handler-playable-sdk 0.3.7 → 0.3.9

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/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Graphics } from 'pixi.js';
2
- import { O as ObjectCentricConfig } from './loader-object-centric-Ce6MVkQw.cjs';
3
- export { g as applyDefaults, c as loadAllObjectConfigs, a as loadComponentSchemas, d as loadEngineConfig, e as loadGamePromptConfig, l as loadObjectCentricConfig, b as loadObjectConfig, f as loadSceneConfig, t as toLegacyFormat, v as validateObjectConfig } from './loader-object-centric-Ce6MVkQw.cjs';
2
+ import { O as ObjectCentricConfig } from './loader-object-centric-BeVsUAXI.cjs';
3
+ export { g as applyDefaults, c as loadAllObjectConfigs, a as loadComponentSchemas, d as loadEngineConfig, e as loadGamePromptConfig, l as loadObjectCentricConfig, b as loadObjectConfig, f as loadSceneConfig, t as toLegacyFormat, v as validateObjectConfig } from './loader-object-centric-BeVsUAXI.cjs';
4
4
 
5
5
  type TelemetryConfig = {
6
6
  endpoint: string;
@@ -175,7 +175,8 @@ declare class SceneObjectsPanel {
175
175
  private selectedId;
176
176
  private options;
177
177
  private retryTimer;
178
- private filterMode;
178
+ private screenFilter;
179
+ private getScreenFilterStorageKey;
179
180
  render(): string;
180
181
  initialize(container: HTMLElement, options: SceneObjectsPanelOptions): void;
181
182
  setSelected(objectId: string | null): void;
@@ -184,6 +185,7 @@ declare class SceneObjectsPanel {
184
185
  * Format display name: removes json. prefix, converts underscores to spaces, title case
185
186
  */
186
187
  private formatDisplayName;
188
+ private inferScreen;
187
189
  /**
188
190
  * Get object type for icon display
189
191
  */
@@ -490,7 +492,27 @@ declare class CustomizeSettingsPanel {
490
492
  private loadImageForValue;
491
493
  }
492
494
 
493
- type WorkbenchTab = 'hierarchy' | 'inspector' | 'library' | 'ai' | 'changes';
495
+ /**
496
+ * Loading Screen Panel
497
+ *
498
+ * Dedicated panel for editing loading screen settings.
499
+ * Separate from other scene tools for clean organization.
500
+ */
501
+ type LoadingScreenPanelOptions = {
502
+ onShowLoadingScreen?: () => void;
503
+ onHideLoadingScreen?: () => void;
504
+ onUpdateLoading?: (patch: Record<string, any>) => void;
505
+ };
506
+ declare class LoadingScreenPanel {
507
+ private root;
508
+ private options;
509
+ render(): string;
510
+ initialize(container: HTMLElement, options: LoadingScreenPanelOptions): void;
511
+ private updateFieldVisibility;
512
+ refresh(): void;
513
+ }
514
+
515
+ type WorkbenchTab = 'hierarchy' | 'inspector' | 'library' | 'ai' | 'loading' | 'changes';
494
516
  /**
495
517
  * DebugPanel context interface - used to pass 'this' context to modular functions
496
518
  */
@@ -549,6 +571,7 @@ declare class DebugPanel implements DebugPanelContext {
549
571
  brandVisionPanel: BrandVisionPanel;
550
572
  customizeSettingsPanel: CustomizeSettingsPanel;
551
573
  configPersistencePanel: ConfigPersistencePanel;
574
+ loadingScreenPanel: LoadingScreenPanel;
552
575
  private applyAssetChange;
553
576
  private resetAsset;
554
577
  private applySlotAsset;
@@ -776,7 +799,7 @@ declare function getConfigStateSummary(): {
776
799
  * Apply configs to disk (Safeguard #2)
777
800
  * CRITICAL: Clear cache ONLY after successful API response
778
801
  */
779
- declare function applyConfigsToDisk(): Promise<void>;
802
+ declare function applyConfigsToDisk(versionName: string): Promise<void>;
780
803
  /**
781
804
  * Reset to applied state (clear cache, reload)
782
805
  */
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Graphics } from 'pixi.js';
2
- import { O as ObjectCentricConfig } from './loader-object-centric-Ce6MVkQw.js';
3
- export { g as applyDefaults, c as loadAllObjectConfigs, a as loadComponentSchemas, d as loadEngineConfig, e as loadGamePromptConfig, l as loadObjectCentricConfig, b as loadObjectConfig, f as loadSceneConfig, t as toLegacyFormat, v as validateObjectConfig } from './loader-object-centric-Ce6MVkQw.js';
2
+ import { O as ObjectCentricConfig } from './loader-object-centric-BeVsUAXI.js';
3
+ export { g as applyDefaults, c as loadAllObjectConfigs, a as loadComponentSchemas, d as loadEngineConfig, e as loadGamePromptConfig, l as loadObjectCentricConfig, b as loadObjectConfig, f as loadSceneConfig, t as toLegacyFormat, v as validateObjectConfig } from './loader-object-centric-BeVsUAXI.js';
4
4
 
5
5
  type TelemetryConfig = {
6
6
  endpoint: string;
@@ -175,7 +175,8 @@ declare class SceneObjectsPanel {
175
175
  private selectedId;
176
176
  private options;
177
177
  private retryTimer;
178
- private filterMode;
178
+ private screenFilter;
179
+ private getScreenFilterStorageKey;
179
180
  render(): string;
180
181
  initialize(container: HTMLElement, options: SceneObjectsPanelOptions): void;
181
182
  setSelected(objectId: string | null): void;
@@ -184,6 +185,7 @@ declare class SceneObjectsPanel {
184
185
  * Format display name: removes json. prefix, converts underscores to spaces, title case
185
186
  */
186
187
  private formatDisplayName;
188
+ private inferScreen;
187
189
  /**
188
190
  * Get object type for icon display
189
191
  */
@@ -490,7 +492,27 @@ declare class CustomizeSettingsPanel {
490
492
  private loadImageForValue;
491
493
  }
492
494
 
493
- type WorkbenchTab = 'hierarchy' | 'inspector' | 'library' | 'ai' | 'changes';
495
+ /**
496
+ * Loading Screen Panel
497
+ *
498
+ * Dedicated panel for editing loading screen settings.
499
+ * Separate from other scene tools for clean organization.
500
+ */
501
+ type LoadingScreenPanelOptions = {
502
+ onShowLoadingScreen?: () => void;
503
+ onHideLoadingScreen?: () => void;
504
+ onUpdateLoading?: (patch: Record<string, any>) => void;
505
+ };
506
+ declare class LoadingScreenPanel {
507
+ private root;
508
+ private options;
509
+ render(): string;
510
+ initialize(container: HTMLElement, options: LoadingScreenPanelOptions): void;
511
+ private updateFieldVisibility;
512
+ refresh(): void;
513
+ }
514
+
515
+ type WorkbenchTab = 'hierarchy' | 'inspector' | 'library' | 'ai' | 'loading' | 'changes';
494
516
  /**
495
517
  * DebugPanel context interface - used to pass 'this' context to modular functions
496
518
  */
@@ -549,6 +571,7 @@ declare class DebugPanel implements DebugPanelContext {
549
571
  brandVisionPanel: BrandVisionPanel;
550
572
  customizeSettingsPanel: CustomizeSettingsPanel;
551
573
  configPersistencePanel: ConfigPersistencePanel;
574
+ loadingScreenPanel: LoadingScreenPanel;
552
575
  private applyAssetChange;
553
576
  private resetAsset;
554
577
  private applySlotAsset;
@@ -776,7 +799,7 @@ declare function getConfigStateSummary(): {
776
799
  * Apply configs to disk (Safeguard #2)
777
800
  * CRITICAL: Clear cache ONLY after successful API response
778
801
  */
779
- declare function applyConfigsToDisk(): Promise<void>;
802
+ declare function applyConfigsToDisk(versionName: string): Promise<void>;
780
803
  /**
781
804
  * Reset to applied state (clear cache, reload)
782
805
  */
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{E as F,F as G,G as H,H as I,I as J,J as K,K as L,L as M,M as N,N as O,O as P,P as Q,Q as R,a}from"./chunk-BC5GBAMY.js";import"./chunk-J2CL6VOZ.js";import{a as q,b as r,c as s,d as t,e as u,f as v,g as w,h as x,i as y,j as z,k as A,l as B,m as C,n as D,o as E}from"./chunk-DHSGG7NF.js";import{a as b,b as c,c as d,d as e,e as f,f as g,g as h,h as i,i as j,j as k,k as l,l as m,m as n,n as o,o as p}from"./chunk-PWGHKK3J.js";import"./chunk-E6WJCS24.js";import"./chunk-Q7FPWOA3.js";export{B as ConfigWatcher,K as DebugPanel,A as DefaultReloadStrategy,Q as Handler,L as PreviewShell,d as applyConfigOverride,e as applyConfigOverrides,n as applyConfigsToDisk,x as applyDefaults,a as baseLottie,P as bootstrap,f as clearConfigOverrides,g as clearConfigOverridesForObject,j as configOverrideManager,M as createPreviewShell,k as deepClone,R as default,H as defaultPreset,G as deviceGroups,F as devicePresets,C as diffConfigs,l as exportConfigsAsJSON,i as getConfigOverrides,m as getConfigStateSummary,b as getOverrideMode,I as getPresetById,J as getPresetsByCategory,s as loadAllObjectConfigs,q as loadComponentSchemas,t as loadEngineConfig,u as loadGamePromptConfig,y as loadObjectCentricConfig,r as loadObjectConfig,v as loadSceneConfig,D as rehydrateObject,h as removeConfigOverride,o as resetToApplied,p as resetToOriginal,O as setBootstrapDependencies,c as setOverrideMode,E as setupHotReload,N as setupLiveEditBridge,z as toLegacyFormat,w as validateObjectConfig};
1
+ import{E as F,F as G,G as H,H as I,I as J,J as K,K as L,L as M,M as N,N as O,O as P,P as Q,Q as R,a}from"./chunk-OPT6F3HO.js";import"./chunk-V636YM4S.js";import{a as q,b as r,c as s,d as t,e as u,f as v,g as w,h as x,i as y,j as z,k as A,l as B,m as C,n as D,o as E}from"./chunk-ES3S33UP.js";import{a as b,b as c,c as d,d as e,e as f,f as g,g as h,h as i,i as j,j as k,k as l,l as m,m as n,n as o,o as p}from"./chunk-RXI7YH7M.js";import"./chunk-E6WJCS24.js";import"./chunk-Q7FPWOA3.js";export{B as ConfigWatcher,K as DebugPanel,A as DefaultReloadStrategy,Q as Handler,L as PreviewShell,d as applyConfigOverride,e as applyConfigOverrides,n as applyConfigsToDisk,x as applyDefaults,a as baseLottie,P as bootstrap,f as clearConfigOverrides,g as clearConfigOverridesForObject,j as configOverrideManager,M as createPreviewShell,k as deepClone,R as default,H as defaultPreset,G as deviceGroups,F as devicePresets,C as diffConfigs,l as exportConfigsAsJSON,i as getConfigOverrides,m as getConfigStateSummary,b as getOverrideMode,I as getPresetById,J as getPresetsByCategory,s as loadAllObjectConfigs,q as loadComponentSchemas,t as loadEngineConfig,u as loadGamePromptConfig,y as loadObjectCentricConfig,r as loadObjectConfig,v as loadSceneConfig,D as rehydrateObject,h as removeConfigOverride,o as resetToApplied,p as resetToOriginal,O as setBootstrapDependencies,c as setOverrideMode,E as setupHotReload,N as setupLiveEditBridge,z as toLegacyFormat,w as validateObjectConfig};
@@ -57,6 +57,10 @@ interface ObjectCentricConfig {
57
57
  runtime: any;
58
58
  assets: any;
59
59
  splash?: any;
60
+ loading?: any;
61
+ start?: any;
62
+ tutorial?: any;
63
+ endgame?: any;
60
64
  };
61
65
  scene: any;
62
66
  schemas: Map<string, any>;
@@ -57,6 +57,10 @@ interface ObjectCentricConfig {
57
57
  runtime: any;
58
58
  assets: any;
59
59
  splash?: any;
60
+ loading?: any;
61
+ start?: any;
62
+ tutorial?: any;
63
+ endgame?: any;
60
64
  };
61
65
  scene: any;
62
66
  schemas: Map<string, any>;