@solazah/solazah-runtime 0.2.39 → 0.2.40

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solazah/solazah-runtime",
3
- "version": "0.2.39",
3
+ "version": "0.2.40",
4
4
  "main": "index.cjs",
5
5
  "module": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -210,6 +210,9 @@ export default class Copilot {
210
210
  /** 轮次事件在本进程里的全部订阅者。端口只开一条,见 onRunEvent。 */
211
211
  private readonly runEventSubscribers;
212
212
  private runPortRequested;
213
+ private runPort?;
214
+ /** 同一页面切回本机时,在现有有序通道上补运行中快照,不重开端口。 */
215
+ replayRunEvents: () => void;
213
216
  /**
214
217
  * 订阅轮次事件。**所有轮次都从这一条端口来**,按 threadId / requestId 自己认领;**多个订阅者互不影响**。
215
218
  *