@endge/core 1.2.11 → 1.2.12

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.
@@ -50,6 +50,7 @@ export declare abstract class RuntimeHostBase<TType extends RuntimeEntityType, T
50
50
  private _updateBindings;
51
51
  private _updateDisposers;
52
52
  private _updateTimers;
53
+ private _quiesced;
53
54
  /** Read-only доступ к compiled artifacts, если host связан с program artifact. */
54
55
  private _artifactReader;
55
56
  /** Ссылка на compiled artifact, связанный с host. */
@@ -95,6 +96,8 @@ export declare abstract class RuntimeHostBase<TType extends RuntimeEntityType, T
95
96
  reconcile(): void;
96
97
  stop(): void;
97
98
  unmount(): void;
99
+ /** Останавливает доставку новых updates, не освобождая данные host-а. */
100
+ quiesce(): void;
98
101
  /**
99
102
  * LIFECYCLE
100
103
  */
@@ -86,6 +86,7 @@ export declare class CompositionRuntimeHost extends RuntimeHostBase<'composition
86
86
  private _requireOutputBridge;
87
87
  private _connectRuntimeOutputs;
88
88
  private _disconnectRuntimeOutputs;
89
+ quiesce(): void;
89
90
  destroy(): Promise<void>;
90
91
  /** Строит effective catalogs по той же иерархии, что и lifecycle scopes. */
91
92
  private _buildI18nCatalogs;
@@ -47,6 +47,7 @@ export declare class QueryRuntimeHost extends RuntimeHostBase<'query', RuntimeHo
47
47
  pause(): void;
48
48
  stop(): void;
49
49
  reconcile(): Promise<void>;
50
+ quiesce(): void;
50
51
  destroy(): void;
51
52
  protected onUpdate(ctx: RuntimeHostUpdateContext): void;
52
53
  /** Монтирует compiled output graph как runtime-scoped Raph materialized dependencies. */
@@ -25,6 +25,7 @@ export declare class StreamRuntimeHost extends RuntimeHostBase<'stream', Runtime
25
25
  }): StreamRuntimeHost | null;
26
26
  start(): void;
27
27
  stop(): void;
28
+ quiesce(): void;
28
29
  destroy(): void;
29
30
  private _receive;
30
31
  }
@@ -165,6 +165,8 @@ export interface RuntimeHostLifecycle {
165
165
  reconcile: () => Promise<void> | void;
166
166
  stop: () => Promise<void> | void;
167
167
  unmount: () => Promise<void> | void;
168
+ /** Синхронно запрещает новые updates перед освобождением runtime tree. */
169
+ quiesce: () => Promise<void> | void;
168
170
  /** Корректно остановить host и освободить ресурсы. */
169
171
  destroy: () => Promise<void> | void;
170
172
  /** Обработать runtime update, пришедший из логической либо boundary Raph-фазы. */
@@ -13,7 +13,7 @@ export declare class ConsoleDiagnosticsAdapter implements DiagnosticsAdapter {
13
13
  constructor(output: EndgeDiagnosticsOutputConfiguration);
14
14
  /** Выводит одну routed record в pretty или JSON формате. */
15
15
  acceptRecord(record: DiagnosticsRecord, context: DiagnosticsAdapterRecordContext): void;
16
- /** Выводит полный snapshot одной JSON-записью, пригодной для копирования. */
16
+ /** Выводит bounded summary снимка, не сериализуя telemetry history целиком. */
17
17
  acceptSnapshot(snapshot: DiagnosticsSnapshot, context: DiagnosticsAdapterSnapshotContext): void;
18
18
  /** Пишет безопасную тестовую строку без добавления record в diagnostics history. */
19
19
  test(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@endge/core",
3
- "version": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "@babel/parser": "^7.27.2",
30
30
  "@babel/types": "^7.27.1",
31
- "@endge/utils": "^0.24.6",
31
+ "@endge/utils": "^0.24.7",
32
32
  "@vue/compiler-dom": "^3.5.24",
33
33
  "@vue/compiler-sfc": "^3.5.24",
34
34
  "axios": "^1.13.2",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@endge/raph": "^3.0.5",
48
- "@endge/utils": "^0.24.6",
48
+ "@endge/utils": "^0.24.7",
49
49
  "@primevue/themes": "^4.0.0-rc.1",
50
50
  "class-transformer": "^0.5.1",
51
51
  "class-validator": "^0.14.1",