@konitif/workbench 0.284.1
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/LICENSE.md +21 -0
- package/README.md +54 -0
- package/dist/application/boot/applicationBoot.d.ts +48 -0
- package/dist/application/boot/applicationBoot.js +174 -0
- package/dist/application/experiment/ControlledExperimentCampaign.d.ts +12 -0
- package/dist/application/experiment/ControlledExperimentCampaign.js +159 -0
- package/dist/application/experiment/ControlledExperimentRecorder.d.ts +17 -0
- package/dist/application/experiment/ControlledExperimentRecorder.js +215 -0
- package/dist/application/i18n/WorkbenchTranslationRegistry.d.ts +19 -0
- package/dist/application/i18n/WorkbenchTranslationRegistry.js +179 -0
- package/dist/application/layout/surfaceCommandRouter.d.ts +18 -0
- package/dist/application/layout/surfaceCommandRouter.js +247 -0
- package/dist/application/physics/NoopPhysicsBackend.d.ts +2 -0
- package/dist/application/physics/NoopPhysicsBackend.js +2 -0
- package/dist/application/physics/PhysicsService.d.ts +2 -0
- package/dist/application/physics/PhysicsService.js +2 -0
- package/dist/application/project/ProjectManifest.d.ts +15 -0
- package/dist/application/project/ProjectManifest.js +107 -0
- package/dist/application/repository/RepositoryPreflightEngine.d.ts +6 -0
- package/dist/application/repository/RepositoryPreflightEngine.js +301 -0
- package/dist/application/runtime/RuntimeBackendConnection.d.ts +9 -0
- package/dist/application/runtime/RuntimeBackendConnection.js +34 -0
- package/dist/application/runtime/RuntimeBackendSubscription.d.ts +8 -0
- package/dist/application/runtime/RuntimeBackendSubscription.js +52 -0
- package/dist/application/runtime/RuntimeCheckpointStore.d.ts +20 -0
- package/dist/application/runtime/RuntimeCheckpointStore.js +65 -0
- package/dist/application/runtime/RuntimeLaunchProgress.d.ts +3 -0
- package/dist/application/runtime/RuntimeLaunchProgress.js +38 -0
- package/dist/application/runtime/RuntimeLaunchStateSnapshot.d.ts +48 -0
- package/dist/application/runtime/RuntimeLaunchStateSnapshot.js +73 -0
- package/dist/application/runtime/RuntimeObservabilityHub.d.ts +28 -0
- package/dist/application/runtime/RuntimeObservabilityHub.js +262 -0
- package/dist/application/runtime/RuntimeObservationEvents.d.ts +15 -0
- package/dist/application/runtime/RuntimeObservationEvents.js +18 -0
- package/dist/application/runtime/RuntimeOffloadManager.d.ts +24 -0
- package/dist/application/runtime/RuntimeOffloadManager.js +96 -0
- package/dist/application/runtime/RuntimePlanEngine.d.ts +11 -0
- package/dist/application/runtime/RuntimePlanEngine.js +67 -0
- package/dist/application/runtime/RuntimeProjectionCatalog.d.ts +5 -0
- package/dist/application/runtime/RuntimeProjectionCatalog.js +48 -0
- package/dist/application/runtime/RuntimeProjectionSession.d.ts +5 -0
- package/dist/application/runtime/RuntimeProjectionSession.js +4 -0
- package/dist/application/runtime/RuntimeProjectionSessionKeys.d.ts +5 -0
- package/dist/application/runtime/RuntimeProjectionSessionKeys.js +10 -0
- package/dist/application/runtime/RuntimeProjectionSessionReducers.d.ts +7 -0
- package/dist/application/runtime/RuntimeProjectionSessionReducers.js +101 -0
- package/dist/application/runtime/RuntimeProjectionSessionSerialization.d.ts +5 -0
- package/dist/application/runtime/RuntimeProjectionSessionSerialization.js +89 -0
- package/dist/application/runtime/RuntimeProjectionSessionSharedState.d.ts +3 -0
- package/dist/application/runtime/RuntimeProjectionSessionSharedState.js +53 -0
- package/dist/application/runtime/RuntimeProjectionSessionTypes.d.ts +38 -0
- package/dist/application/runtime/RuntimeProjectionSessionTypes.js +1 -0
- package/dist/application/runtime/RuntimeProjectionViewerSessionSync.d.ts +29 -0
- package/dist/application/runtime/RuntimeProjectionViewerSessionSync.js +39 -0
- package/dist/application/runtime/RuntimeProjectionViewerSessionUpdates.d.ts +27 -0
- package/dist/application/runtime/RuntimeProjectionViewerSessionUpdates.js +38 -0
- package/dist/application/runtime/RuntimeRegistryOwner.d.ts +20 -0
- package/dist/application/runtime/RuntimeRegistryOwner.js +71 -0
- package/dist/application/runtime/RuntimeRegistrySnapshots.d.ts +6 -0
- package/dist/application/runtime/RuntimeRegistrySnapshots.js +51 -0
- package/dist/application/runtime/RuntimeRegistryTypes.d.ts +29 -0
- package/dist/application/runtime/RuntimeRegistryTypes.js +1 -0
- package/dist/application/runtime/RuntimeSharedState.d.ts +6 -0
- package/dist/application/runtime/RuntimeSharedState.js +47 -0
- package/dist/application/runtime/WorkbenchRuntimeCore.d.ts +82 -0
- package/dist/application/runtime/WorkbenchRuntimeCore.js +463 -0
- package/dist/application/runtime/WorkbenchRuntimeSanitizers.d.ts +9 -0
- package/dist/application/runtime/WorkbenchRuntimeSanitizers.js +62 -0
- package/dist/application/shell/state.d.ts +22 -0
- package/dist/application/shell/state.js +308 -0
- package/dist/application/widgets/createWorkbenchWidgetAdapter.d.ts +9 -0
- package/dist/application/widgets/createWorkbenchWidgetAdapter.js +30 -0
- package/dist/application/workspace/canonicalizeLayout.d.ts +2 -0
- package/dist/application/workspace/canonicalizeLayout.js +91 -0
- package/dist/application/workspace/closePanel.d.ts +6 -0
- package/dist/application/workspace/closePanel.js +43 -0
- package/dist/application/workspace/collapseSplit.d.ts +7 -0
- package/dist/application/workspace/collapseSplit.js +45 -0
- package/dist/application/workspace/collapseSplitBoundary.d.ts +8 -0
- package/dist/application/workspace/collapseSplitBoundary.js +106 -0
- package/dist/application/workspace/commands.d.ts +71 -0
- package/dist/application/workspace/commands.js +216 -0
- package/dist/application/workspace/createPeripheralBands.d.ts +14 -0
- package/dist/application/workspace/createPeripheralBands.js +62 -0
- package/dist/application/workspace/createWorkspace.d.ts +7 -0
- package/dist/application/workspace/createWorkspace.js +12 -0
- package/dist/application/workspace/detachPanelToWindow.d.ts +12 -0
- package/dist/application/workspace/detachPanelToWindow.js +57 -0
- package/dist/application/workspace/dockPanel.d.ts +10 -0
- package/dist/application/workspace/dockPanel.js +399 -0
- package/dist/application/workspace/finalizeWorkspace.d.ts +4 -0
- package/dist/application/workspace/finalizeWorkspace.js +23 -0
- package/dist/application/workspace/focusPanel.d.ts +2 -0
- package/dist/application/workspace/focusPanel.js +19 -0
- package/dist/application/workspace/joinPanelArea.d.ts +13 -0
- package/dist/application/workspace/joinPanelArea.js +281 -0
- package/dist/application/workspace/layoutInteraction.d.ts +176 -0
- package/dist/application/workspace/layoutInteraction.js +852 -0
- package/dist/application/workspace/layoutTree.d.ts +34 -0
- package/dist/application/workspace/layoutTree.js +135 -0
- package/dist/application/workspace/openTool.d.ts +15 -0
- package/dist/application/workspace/openTool.js +89 -0
- package/dist/application/workspace/presetArtifacts.d.ts +60 -0
- package/dist/application/workspace/presetArtifacts.js +231 -0
- package/dist/application/workspace/presets.d.ts +5 -0
- package/dist/application/workspace/presets.js +12 -0
- package/dist/application/workspace/reattachWorkspaceWindow.d.ts +7 -0
- package/dist/application/workspace/reattachWorkspaceWindow.js +24 -0
- package/dist/application/workspace/resizeSplit.d.ts +7 -0
- package/dist/application/workspace/resizeSplit.js +12 -0
- package/dist/application/workspace/resizeSplitBoundary.d.ts +10 -0
- package/dist/application/workspace/resizeSplitBoundary.js +115 -0
- package/dist/application/workspace/runToolShellCommand.d.ts +11 -0
- package/dist/application/workspace/runToolShellCommand.js +133 -0
- package/dist/application/workspace/session.d.ts +9 -0
- package/dist/application/workspace/session.js +36 -0
- package/dist/application/workspace/setActiveStackChild.d.ts +7 -0
- package/dist/application/workspace/setActiveStackChild.js +12 -0
- package/dist/application/workspace/setDesignSystemThemeSession.d.ts +3 -0
- package/dist/application/workspace/setDesignSystemThemeSession.js +12 -0
- package/dist/application/workspace/setPanelFullscreenToggleVisibility.d.ts +7 -0
- package/dist/application/workspace/setPanelFullscreenToggleVisibility.js +7 -0
- package/dist/application/workspace/setStackHeaderVisibility.d.ts +7 -0
- package/dist/application/workspace/setStackHeaderVisibility.js +7 -0
- package/dist/application/workspace/setToolPanelTitleOverride.d.ts +9 -0
- package/dist/application/workspace/setToolPanelTitleOverride.js +33 -0
- package/dist/application/workspace/setToolShellStatus.d.ts +8 -0
- package/dist/application/workspace/setToolShellStatus.js +32 -0
- package/dist/application/workspace/setWorkspaceFullscreenPanel.d.ts +3 -0
- package/dist/application/workspace/setWorkspaceFullscreenPanel.js +26 -0
- package/dist/application/workspace/snapshots.d.ts +10 -0
- package/dist/application/workspace/snapshots.js +34 -0
- package/dist/application/workspace/splitPanel.d.ts +10 -0
- package/dist/application/workspace/splitPanel.js +21 -0
- package/dist/application/workspace/subdividePanel.d.ts +39 -0
- package/dist/application/workspace/subdividePanel.js +128 -0
- package/dist/application/workspace/swapPanelArea.d.ts +11 -0
- package/dist/application/workspace/swapPanelArea.js +163 -0
- package/dist/application/workspace/targetWindow.d.ts +4 -0
- package/dist/application/workspace/targetWindow.js +22 -0
- package/dist/application/workspace/toolCapabilities.d.ts +11 -0
- package/dist/application/workspace/toolCapabilities.js +59 -0
- package/dist/application/workspace/toolRuntime.d.ts +32 -0
- package/dist/application/workspace/toolRuntime.js +65 -0
- package/dist/application/workspace/updateToolState.d.ts +8 -0
- package/dist/application/workspace/updateToolState.js +20 -0
- package/dist/boot/applicationBoot.d.ts +1 -0
- package/dist/boot/applicationBoot.js +2 -0
- package/dist/boot/events.d.ts +43 -0
- package/dist/boot/events.js +16 -0
- package/dist/boot/executor.d.ts +13 -0
- package/dist/boot/executor.js +210 -0
- package/dist/boot/graph.d.ts +16 -0
- package/dist/boot/graph.js +126 -0
- package/dist/boot/index.d.ts +2 -0
- package/dist/boot/index.js +3 -0
- package/dist/boot/mechanism.d.ts +5 -0
- package/dist/boot/mechanism.js +6 -0
- package/dist/boot/projection.d.ts +72 -0
- package/dist/boot/projection.js +398 -0
- package/dist/boot/types.d.ts +80 -0
- package/dist/boot/types.js +46 -0
- package/dist/domain/composition/dockArrangement.d.ts +57 -0
- package/dist/domain/composition/dockArrangement.js +304 -0
- package/dist/domain/composition/docking.d.ts +68 -0
- package/dist/domain/composition/docking.js +187 -0
- package/dist/domain/design-system/themeSession.d.ts +12 -0
- package/dist/domain/design-system/themeSession.js +42 -0
- package/dist/domain/experiment/model.d.ts +149 -0
- package/dist/domain/experiment/model.js +1 -0
- package/dist/domain/i18n/languageRegistry.d.ts +57 -0
- package/dist/domain/i18n/languageRegistry.js +1 -0
- package/dist/domain/i18n/model.d.ts +31 -0
- package/dist/domain/i18n/model.js +1 -0
- package/dist/domain/icon/model.d.ts +8 -0
- package/dist/domain/icon/model.js +1 -0
- package/dist/domain/input/interactionBindings.d.ts +2 -0
- package/dist/domain/input/interactionBindings.js +2 -0
- package/dist/domain/launch/model.d.ts +58 -0
- package/dist/domain/launch/model.js +109 -0
- package/dist/domain/layout/interaction.d.ts +90 -0
- package/dist/domain/layout/interaction.js +1 -0
- package/dist/domain/layout/model.d.ts +28 -0
- package/dist/domain/layout/model.js +1 -0
- package/dist/domain/layout/selectors.d.ts +12 -0
- package/dist/domain/layout/selectors.js +84 -0
- package/dist/domain/layout/surfaceProjection.d.ts +56 -0
- package/dist/domain/layout/surfaceProjection.js +249 -0
- package/dist/domain/layout/validation.d.ts +9 -0
- package/dist/domain/layout/validation.js +71 -0
- package/dist/domain/panel/model.d.ts +9 -0
- package/dist/domain/panel/model.js +1 -0
- package/dist/domain/physics/colliderGeometry.d.ts +2 -0
- package/dist/domain/physics/colliderGeometry.js +1 -0
- package/dist/domain/physics/contracts.d.ts +2 -0
- package/dist/domain/physics/contracts.js +1 -0
- package/dist/domain/physics/kinematicBinding.d.ts +22 -0
- package/dist/domain/physics/kinematicBinding.js +1 -0
- package/dist/domain/physics/model.d.ts +4 -0
- package/dist/domain/physics/model.js +1 -0
- package/dist/domain/physics/mujoco.d.ts +5 -0
- package/dist/domain/physics/mujoco.js +1 -0
- package/dist/domain/physics/observationProfile.d.ts +2 -0
- package/dist/domain/physics/observationProfile.js +1 -0
- package/dist/domain/physics/presentationBinding.d.ts +6 -0
- package/dist/domain/physics/presentationBinding.js +1 -0
- package/dist/domain/physics/simulationProfile.d.ts +2 -0
- package/dist/domain/physics/simulationProfile.js +1 -0
- package/dist/domain/physics/visualAlignment.d.ts +17 -0
- package/dist/domain/physics/visualAlignment.js +1 -0
- package/dist/domain/presentation/readingLevel.d.ts +12 -0
- package/dist/domain/presentation/readingLevel.js +29 -0
- package/dist/domain/project/model.d.ts +55 -0
- package/dist/domain/project/model.js +1 -0
- package/dist/domain/repo-quality/model.d.ts +111 -0
- package/dist/domain/repo-quality/model.js +1 -0
- package/dist/domain/repository/model.d.ts +110 -0
- package/dist/domain/repository/model.js +1 -0
- package/dist/domain/runtime/checkpoint.d.ts +37 -0
- package/dist/domain/runtime/checkpoint.js +87 -0
- package/dist/domain/runtime/hydration.d.ts +26 -0
- package/dist/domain/runtime/hydration.js +92 -0
- package/dist/domain/runtime/initialization.d.ts +25 -0
- package/dist/domain/runtime/initialization.js +87 -0
- package/dist/domain/runtime/lifecycle.d.ts +51 -0
- package/dist/domain/runtime/lifecycle.js +118 -0
- package/dist/domain/runtime/model.d.ts +252 -0
- package/dist/domain/runtime/model.js +13 -0
- package/dist/domain/runtime/observability.d.ts +142 -0
- package/dist/domain/runtime/observability.js +1 -0
- package/dist/domain/runtime/offload.d.ts +56 -0
- package/dist/domain/runtime/offload.js +129 -0
- package/dist/domain/runtime/plan.d.ts +26 -0
- package/dist/domain/runtime/plan.js +1 -0
- package/dist/domain/runtime/qualityPolicy.d.ts +28 -0
- package/dist/domain/runtime/qualityPolicy.js +97 -0
- package/dist/domain/runtime/recovery.d.ts +61 -0
- package/dist/domain/runtime/recovery.js +129 -0
- package/dist/domain/runtime/suspension.d.ts +32 -0
- package/dist/domain/runtime/suspension.js +107 -0
- package/dist/domain/runtime/teardown.d.ts +33 -0
- package/dist/domain/runtime/teardown.js +109 -0
- package/dist/domain/shared/id.d.ts +1 -0
- package/dist/domain/shared/id.js +5 -0
- package/dist/domain/shared/json.d.ts +9 -0
- package/dist/domain/shared/json.js +24 -0
- package/dist/domain/shell/model.d.ts +40 -0
- package/dist/domain/shell/model.js +1 -0
- package/dist/domain/shell/runtime.d.ts +76 -0
- package/dist/domain/shell/runtime.js +40 -0
- package/dist/domain/surface/model.d.ts +97 -0
- package/dist/domain/surface/model.js +71 -0
- package/dist/domain/temporal/model.d.ts +95 -0
- package/dist/domain/temporal/model.js +45 -0
- package/dist/domain/tool/internalTab.d.ts +11 -0
- package/dist/domain/tool/internalTab.js +20 -0
- package/dist/domain/tool/model.d.ts +207 -0
- package/dist/domain/tool/model.js +1 -0
- package/dist/domain/tool/runtime.d.ts +122 -0
- package/dist/domain/tool/runtime.js +2 -0
- package/dist/domain/tool/shell.d.ts +38 -0
- package/dist/domain/tool/shell.js +175 -0
- package/dist/domain/widget/composition.d.ts +79 -0
- package/dist/domain/widget/composition.js +250 -0
- package/dist/domain/widget/model.d.ts +35 -0
- package/dist/domain/widget/model.js +8 -0
- package/dist/domain/widget/toolDock.d.ts +30 -0
- package/dist/domain/widget/toolDock.js +52 -0
- package/dist/domain/workbench/model.d.ts +35 -0
- package/dist/domain/workbench/model.js +1 -0
- package/dist/domain/workbench/routing.d.ts +17 -0
- package/dist/domain/workbench/routing.js +72 -0
- package/dist/domain/workspace/factories.d.ts +9 -0
- package/dist/domain/workspace/factories.js +47 -0
- package/dist/domain/workspace/model.d.ts +23 -0
- package/dist/domain/workspace/model.js +1 -0
- package/dist/domain/workspace/persistence.d.ts +5 -0
- package/dist/domain/workspace/persistence.js +1 -0
- package/dist/domain/workspace/selectors.d.ts +19 -0
- package/dist/domain/workspace/selectors.js +90 -0
- package/dist/domain/workspace/session.d.ts +9 -0
- package/dist/domain/workspace/session.js +1 -0
- package/dist/domain/workspace/validation.d.ts +10 -0
- package/dist/domain/workspace/validation.js +231 -0
- package/dist/hosting.d.ts +15 -0
- package/dist/hosting.js +12 -0
- package/dist/index.d.ts +111 -0
- package/dist/index.js +111 -0
- package/dist/infrastructure/audio/WorkbenchAudioManager.d.ts +36 -0
- package/dist/infrastructure/audio/WorkbenchAudioManager.js +100 -0
- package/dist/infrastructure/backend/HttpWorkbenchBackendClient.d.ts +30 -0
- package/dist/infrastructure/backend/HttpWorkbenchBackendClient.js +314 -0
- package/dist/infrastructure/persistence/LocalWorkspacePersistence.d.ts +8 -0
- package/dist/infrastructure/persistence/LocalWorkspacePersistence.js +29 -0
- package/dist/infrastructure/surfaces/InMemorySurfaceViewerRegistry.d.ts +58 -0
- package/dist/infrastructure/surfaces/InMemorySurfaceViewerRegistry.js +121 -0
- package/dist/infrastructure/temporal/InMemoryTemporalDialectRegistry.d.ts +8 -0
- package/dist/infrastructure/temporal/InMemoryTemporalDialectRegistry.js +38 -0
- package/dist/infrastructure/tools/InMemoryToolRegistry.d.ts +46 -0
- package/dist/infrastructure/tools/InMemoryToolRegistry.js +82 -0
- package/dist/infrastructure/widgets/InMemoryShellWidgetRegistry.d.ts +42 -0
- package/dist/infrastructure/widgets/InMemoryShellWidgetRegistry.js +66 -0
- package/dist/infrastructure/widgets/InMemoryWorkbenchWidgetRegistry.d.ts +20 -0
- package/dist/infrastructure/widgets/InMemoryWorkbenchWidgetRegistry.js +35 -0
- package/dist/infrastructure/workbenches/InMemoryWorkbenchRegistry.d.ts +7 -0
- package/dist/infrastructure/workbenches/InMemoryWorkbenchRegistry.js +28 -0
- package/dist/physics-runtime.d.ts +4 -0
- package/dist/physics-runtime.js +2 -0
- package/dist/stage/easing.d.ts +5 -0
- package/dist/stage/easing.js +15 -0
- package/dist/stage/index.d.ts +6 -0
- package/dist/stage/index.js +6 -0
- package/dist/stage/projection.d.ts +4 -0
- package/dist/stage/projection.js +74 -0
- package/dist/stage/stageRuntime.d.ts +2 -0
- package/dist/stage/stageRuntime.js +32 -0
- package/dist/stage/timeline.d.ts +3 -0
- package/dist/stage/timeline.js +69 -0
- package/dist/stage/tween.d.ts +3 -0
- package/dist/stage/tween.js +104 -0
- package/dist/stage/types.d.ts +104 -0
- package/dist/stage/types.js +30 -0
- package/dist/temporal/clock/audioClock.d.ts +1 -0
- package/dist/temporal/clock/audioClock.js +1 -0
- package/dist/temporal/clock/clockGraph.d.ts +1 -0
- package/dist/temporal/clock/clockGraph.js +1 -0
- package/dist/temporal/clock/clockTypes.d.ts +1 -0
- package/dist/temporal/clock/clockTypes.js +1 -0
- package/dist/temporal/clock/fixedStepClock.d.ts +1 -0
- package/dist/temporal/clock/fixedStepClock.js +1 -0
- package/dist/temporal/clock/musicalClock.d.ts +7 -0
- package/dist/temporal/clock/musicalClock.js +35 -0
- package/dist/temporal/clock/rootClock.d.ts +1 -0
- package/dist/temporal/clock/rootClock.js +1 -0
- package/dist/temporal/clock/videoClock.d.ts +1 -0
- package/dist/temporal/clock/videoClock.js +1 -0
- package/dist/temporal/easing/easingFunctions.d.ts +2 -0
- package/dist/temporal/easing/easingFunctions.js +19 -0
- package/dist/temporal/easing/easingRegistry.d.ts +10 -0
- package/dist/temporal/easing/easingRegistry.js +32 -0
- package/dist/temporal/easing/easingShaderSource.d.ts +2 -0
- package/dist/temporal/easing/easingShaderSource.js +16 -0
- package/dist/temporal/easing/easingTypes.d.ts +9 -0
- package/dist/temporal/easing/easingTypes.js +1 -0
- package/dist/temporal/history/runtimeHistory.d.ts +77 -0
- package/dist/temporal/history/runtimeHistory.js +5 -0
- package/dist/temporal/history/temporalHistoryCore.d.ts +1 -0
- package/dist/temporal/history/temporalHistoryCore.js +1 -0
- package/dist/temporal/index.d.ts +20 -0
- package/dist/temporal/index.js +20 -0
- package/dist/temporal/invalidation/invalidationController.d.ts +1 -0
- package/dist/temporal/invalidation/invalidationController.js +1 -0
- package/dist/temporal/scheduler/browserSchedulerHost.d.ts +3 -0
- package/dist/temporal/scheduler/browserSchedulerHost.js +19 -0
- package/dist/temporal/scheduler/frameBudget.d.ts +1 -0
- package/dist/temporal/scheduler/frameBudget.js +1 -0
- package/dist/temporal/scheduler/temporalScheduler.d.ts +4 -0
- package/dist/temporal/scheduler/temporalScheduler.js +6 -0
- package/dist/temporal/scheduler/temporalSchedulerCore.d.ts +1 -0
- package/dist/temporal/scheduler/temporalSchedulerCore.js +1 -0
- package/dist/temporal/scheduler/visibilityPolicy.d.ts +2 -0
- package/dist/temporal/scheduler/visibilityPolicy.js +1 -0
- package/dist/temporal/transport/temporalTransport.d.ts +1 -0
- package/dist/temporal/transport/temporalTransport.js +1 -0
- package/dist/temporal/transport/transportScope.d.ts +7 -0
- package/dist/temporal/transport/transportScope.js +3 -0
- package/dist/temporal/transport/transportTimeline.d.ts +22 -0
- package/dist/temporal/transport/transportTimeline.js +36 -0
- package/dist/temporal/transport/transportTypes.d.ts +1 -0
- package/dist/temporal/transport/transportTypes.js +1 -0
- package/dist/workspace-contracts.d.ts +36 -0
- package/dist/workspace-contracts.js +28 -0
- package/package.json +57 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { TemporalTransport } from "./temporalTransport.js";
|
|
2
|
+
export interface TimelineLabel {
|
|
3
|
+
id: string;
|
|
4
|
+
seconds: number;
|
|
5
|
+
}
|
|
6
|
+
export interface TimelineCallback {
|
|
7
|
+
id: string;
|
|
8
|
+
seconds: number;
|
|
9
|
+
once?: boolean;
|
|
10
|
+
fired?: boolean;
|
|
11
|
+
call: () => void;
|
|
12
|
+
}
|
|
13
|
+
export interface TransportTimeline {
|
|
14
|
+
label(id: string, seconds: number): TransportTimeline;
|
|
15
|
+
call(id: string, seconds: number, callback: () => void, options?: {
|
|
16
|
+
once?: boolean;
|
|
17
|
+
}): TransportTimeline;
|
|
18
|
+
seekLabel(id: string): void;
|
|
19
|
+
tick(): void;
|
|
20
|
+
labels(): TimelineLabel[];
|
|
21
|
+
}
|
|
22
|
+
export declare function createTransportTimeline(transport: TemporalTransport): TransportTimeline;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export function createTransportTimeline(transport) {
|
|
2
|
+
const labelsMap = new Map();
|
|
3
|
+
const callbacks = [];
|
|
4
|
+
return {
|
|
5
|
+
label(id, seconds) {
|
|
6
|
+
labelsMap.set(id, { id, seconds });
|
|
7
|
+
return this;
|
|
8
|
+
},
|
|
9
|
+
call(id, seconds, callback, options) {
|
|
10
|
+
callbacks.push({ id, seconds, call: callback, once: options?.once ?? true });
|
|
11
|
+
return this;
|
|
12
|
+
},
|
|
13
|
+
seekLabel(id) {
|
|
14
|
+
const label = labelsMap.get(id);
|
|
15
|
+
if (!label)
|
|
16
|
+
throw new Error(`[TransportTimeline] Unknown label "${id}"`);
|
|
17
|
+
transport.seek({ value: label.seconds, unit: 'seconds' });
|
|
18
|
+
},
|
|
19
|
+
tick() {
|
|
20
|
+
const snapshot = transport.tick();
|
|
21
|
+
const clock = transport.clockGraph.get(snapshot.position.clockId);
|
|
22
|
+
const seconds = clock?.toSeconds(snapshot.position) ?? snapshot.position.value;
|
|
23
|
+
for (const callback of callbacks) {
|
|
24
|
+
if (callback.once && callback.fired)
|
|
25
|
+
continue;
|
|
26
|
+
if (seconds >= callback.seconds) {
|
|
27
|
+
callback.fired = true;
|
|
28
|
+
callback.call();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
labels() {
|
|
33
|
+
return [...labelsMap.values()].sort((a, b) => a.seconds - b.seconds);
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@konitif/temporal/transport/transportTypes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@konitif/temporal/transport/transportTypes';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export { setShellRegionArrangement, createShellState, setShellRegionVisible, setShellRegionOpen, setShellRegionSize, activateShellWidget, setShellRegionWidgetVisible, addShellWidgetToRegion, moveShellWidgetToRegion, removeShellWidgetFromRegion } from "./application/shell/state.js";
|
|
2
|
+
export { collapseSplit } from "./application/workspace/collapseSplit.js";
|
|
3
|
+
export { collapseSplitBoundary } from "./application/workspace/collapseSplitBoundary.js";
|
|
4
|
+
export { dispatchWorkspaceCommand, type WorkspaceCommand } from "./application/workspace/commands.js";
|
|
5
|
+
export { createPeripheralBands } from "./application/workspace/createPeripheralBands.js";
|
|
6
|
+
export { createWorkspace } from "./application/workspace/createWorkspace.js";
|
|
7
|
+
export { detachPanelToWindow } from "./application/workspace/detachPanelToWindow.js";
|
|
8
|
+
export { reattachWorkspaceWindow } from "./application/workspace/reattachWorkspaceWindow.js";
|
|
9
|
+
export { dockPanel } from "./application/workspace/dockPanel.js";
|
|
10
|
+
export { joinPanelArea } from "./application/workspace/joinPanelArea.js";
|
|
11
|
+
export { createLayoutInteractionState, openLayoutSplitMenu, dismissLayoutInteraction, startPanelDrag, updatePanelDrag, commitPanelDock, selectLayoutMenuAction, selectLayoutSplitOrientation, updateLayoutSplitPreview, startLayoutSplitPreview, startBoundaryPull, updateBoundaryPull, commitBoundaryPull, startIntersectionResize, updateIntersectionResize, commitIntersectionResize, adjustLayoutSplitPreviewCuts, commitLayoutSplitPreview, commitLayoutSubdivideSelection, previewLayoutSplitSide, confirmLayoutSplitSide, type LayoutMenuActionSelection, type LayoutInteractionResolution } from "./application/workspace/layoutInteraction.js";
|
|
12
|
+
export { createWorkspaceSessionFromPreset, type WorkspacePresetId } from "./application/workspace/presets.js";
|
|
13
|
+
export { type WorkspacePresetArtifact } from "./application/workspace/presetArtifacts.js";
|
|
14
|
+
export { resizeSplit } from "./application/workspace/resizeSplit.js";
|
|
15
|
+
export { resizeSplitBoundary } from "./application/workspace/resizeSplitBoundary.js";
|
|
16
|
+
export { runToolShellCommand } from "./application/workspace/runToolShellCommand.js";
|
|
17
|
+
export { createWorkspaceSessionState, type WorkspaceFocus, type WorkspaceSessionState } from "./application/workspace/session.js";
|
|
18
|
+
export { setDesignSystemThemeSession } from "./application/workspace/setDesignSystemThemeSession.js";
|
|
19
|
+
export { normalizeWorkspaceFullscreenPanel, setWorkspaceFullscreenPanel } from "./application/workspace/setWorkspaceFullscreenPanel.js";
|
|
20
|
+
export { setToolPanelTitleOverride } from "./application/workspace/setToolPanelTitleOverride.js";
|
|
21
|
+
export { exportWorkspaceSnapshot, importWorkspaceSnapshot, type WorkspaceSnapshotImportResult } from "./application/workspace/snapshots.js";
|
|
22
|
+
export { subdividePanel } from "./application/workspace/subdividePanel.js";
|
|
23
|
+
export { swapPanelArea } from "./application/workspace/swapPanelArea.js";
|
|
24
|
+
export { type ToolRuntimeHostActions } from "./application/workspace/toolRuntime.js";
|
|
25
|
+
export { updateToolState } from "./application/workspace/updateToolState.js";
|
|
26
|
+
export { type SplitOrientation } from "./domain/layout/model.js";
|
|
27
|
+
export { type LayoutEdge, type LayoutDockSide, type LayoutMenuActionId, type LayoutMenuTarget, type LayoutDockTarget, type LayoutInteractionState } from "./domain/layout/interaction.js";
|
|
28
|
+
export { type DesignSystemThemeSession } from "./domain/design-system/themeSession.js";
|
|
29
|
+
export { type ShellRegionId, type ShellRegionPresentation, type ShellRegionAxis, type ShellState, type ShellWidgetPlacement, type ShellWidgetCatalog } from "./domain/shell/model.js";
|
|
30
|
+
export { type JsonObject } from "./domain/shared/json.js";
|
|
31
|
+
export { type ToolShellStatus, type ToolPanelLoadingState, type ToolResourceLoadingState, type ToolCatalog } from "./domain/tool/model.js";
|
|
32
|
+
export { normalizeToolShellStatus, normalizeToolPanelLoadingState, normalizeToolResourceLoadingState } from "./domain/tool/runtime.js";
|
|
33
|
+
export { type Workspace } from "./domain/workspace/model.js";
|
|
34
|
+
export { type WorkspacePersistencePort } from "./domain/workspace/persistence.js";
|
|
35
|
+
export { findPanelInWorkspace, getPreferredFocusedPanelId } from "./domain/workspace/selectors.js";
|
|
36
|
+
export { validateWorkspace } from "./domain/workspace/validation.js";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// Explicit workspace contracts for state orchestration. No host adapters.
|
|
2
|
+
// Reexports preserve the authority and identity of the existing implementations.
|
|
3
|
+
export { setShellRegionArrangement, createShellState, setShellRegionVisible, setShellRegionOpen, setShellRegionSize, activateShellWidget, setShellRegionWidgetVisible, addShellWidgetToRegion, moveShellWidgetToRegion, removeShellWidgetFromRegion } from "./application/shell/state.js";
|
|
4
|
+
export { collapseSplit } from "./application/workspace/collapseSplit.js";
|
|
5
|
+
export { collapseSplitBoundary } from "./application/workspace/collapseSplitBoundary.js";
|
|
6
|
+
export { dispatchWorkspaceCommand } from "./application/workspace/commands.js";
|
|
7
|
+
export { createPeripheralBands } from "./application/workspace/createPeripheralBands.js";
|
|
8
|
+
export { createWorkspace } from "./application/workspace/createWorkspace.js";
|
|
9
|
+
export { detachPanelToWindow } from "./application/workspace/detachPanelToWindow.js";
|
|
10
|
+
export { reattachWorkspaceWindow } from "./application/workspace/reattachWorkspaceWindow.js";
|
|
11
|
+
export { dockPanel } from "./application/workspace/dockPanel.js";
|
|
12
|
+
export { joinPanelArea } from "./application/workspace/joinPanelArea.js";
|
|
13
|
+
export { createLayoutInteractionState, openLayoutSplitMenu, dismissLayoutInteraction, startPanelDrag, updatePanelDrag, commitPanelDock, selectLayoutMenuAction, selectLayoutSplitOrientation, updateLayoutSplitPreview, startLayoutSplitPreview, startBoundaryPull, updateBoundaryPull, commitBoundaryPull, startIntersectionResize, updateIntersectionResize, commitIntersectionResize, adjustLayoutSplitPreviewCuts, commitLayoutSplitPreview, commitLayoutSubdivideSelection, previewLayoutSplitSide, confirmLayoutSplitSide } from "./application/workspace/layoutInteraction.js";
|
|
14
|
+
export { createWorkspaceSessionFromPreset } from "./application/workspace/presets.js";
|
|
15
|
+
export { resizeSplit } from "./application/workspace/resizeSplit.js";
|
|
16
|
+
export { resizeSplitBoundary } from "./application/workspace/resizeSplitBoundary.js";
|
|
17
|
+
export { runToolShellCommand } from "./application/workspace/runToolShellCommand.js";
|
|
18
|
+
export { createWorkspaceSessionState } from "./application/workspace/session.js";
|
|
19
|
+
export { setDesignSystemThemeSession } from "./application/workspace/setDesignSystemThemeSession.js";
|
|
20
|
+
export { normalizeWorkspaceFullscreenPanel, setWorkspaceFullscreenPanel } from "./application/workspace/setWorkspaceFullscreenPanel.js";
|
|
21
|
+
export { setToolPanelTitleOverride } from "./application/workspace/setToolPanelTitleOverride.js";
|
|
22
|
+
export { exportWorkspaceSnapshot, importWorkspaceSnapshot } from "./application/workspace/snapshots.js";
|
|
23
|
+
export { subdividePanel } from "./application/workspace/subdividePanel.js";
|
|
24
|
+
export { swapPanelArea } from "./application/workspace/swapPanelArea.js";
|
|
25
|
+
export { updateToolState } from "./application/workspace/updateToolState.js";
|
|
26
|
+
export { normalizeToolShellStatus, normalizeToolPanelLoadingState, normalizeToolResourceLoadingState } from "./domain/tool/runtime.js";
|
|
27
|
+
export { findPanelInWorkspace, getPreferredFocusedPanelId } from "./domain/workspace/selectors.js";
|
|
28
|
+
export { validateWorkspace } from "./domain/workspace/validation.js";
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@konitif/workbench",
|
|
3
|
+
"license": "PolyForm-Noncommercial-1.0.0",
|
|
4
|
+
"version": "0.284.1",
|
|
5
|
+
"description": "Product-neutral workspace composition, docking, registries and hosting contracts for KONITIF.",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/LeMouf/konitif-workbench.git"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public",
|
|
12
|
+
"registry": "https://registry.npmjs.org/"
|
|
13
|
+
},
|
|
14
|
+
"private": false,
|
|
15
|
+
"type": "module",
|
|
16
|
+
"main": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"import": "./dist/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./hosting": {
|
|
24
|
+
"types": "./dist/hosting.d.ts",
|
|
25
|
+
"import": "./dist/hosting.js"
|
|
26
|
+
},
|
|
27
|
+
"./physics-runtime": {
|
|
28
|
+
"types": "./dist/physics-runtime.d.ts",
|
|
29
|
+
"import": "./dist/physics-runtime.js"
|
|
30
|
+
},
|
|
31
|
+
"./workspace-contracts": {
|
|
32
|
+
"types": "./dist/workspace-contracts.d.ts",
|
|
33
|
+
"import": "./dist/workspace-contracts.js"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"dist",
|
|
38
|
+
"LICENSE.md",
|
|
39
|
+
"README.md",
|
|
40
|
+
"package.json"
|
|
41
|
+
],
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "node scripts/build.mjs",
|
|
44
|
+
"test": "node --test tests/*.test.mjs",
|
|
45
|
+
"verify:package": "node scripts/verify-package.mjs"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@konitif/tools": "0.284.3",
|
|
49
|
+
"@konitif/physics": "0.284.1",
|
|
50
|
+
"@konitif/widgets": "0.285.0",
|
|
51
|
+
"@konitif/temporal": "0.284.1",
|
|
52
|
+
"@konitif/core": "0.284.2"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"typescript": "5.9.3"
|
|
56
|
+
}
|
|
57
|
+
}
|