@fluidframework/container-runtime 2.0.0-rc.1.0.3 → 2.0.0-rc.2.0.0

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.
Files changed (690) hide show
  1. package/{.eslintrc.js → .eslintrc.cjs} +5 -5
  2. package/{.mocharc.js → .mocharc.cjs} +1 -1
  3. package/CHANGELOG.md +54 -0
  4. package/README.md +45 -0
  5. package/{api-extractor-esm.json → api-extractor-cjs.json} +5 -1
  6. package/api-extractor-lint.json +1 -1
  7. package/api-extractor.json +1 -1
  8. package/api-report/container-runtime.api.md +68 -30
  9. package/dist/batchTracker.d.ts +1 -2
  10. package/dist/batchTracker.d.ts.map +1 -1
  11. package/dist/batchTracker.js.map +1 -1
  12. package/dist/blobManager.js.map +1 -1
  13. package/dist/channelCollection.d.ts +223 -0
  14. package/dist/channelCollection.d.ts.map +1 -0
  15. package/dist/{dataStores.js → channelCollection.js} +399 -83
  16. package/dist/channelCollection.js.map +1 -0
  17. package/dist/connectionTelemetry.d.ts +11 -1
  18. package/dist/connectionTelemetry.d.ts.map +1 -1
  19. package/dist/connectionTelemetry.js +42 -4
  20. package/dist/connectionTelemetry.js.map +1 -1
  21. package/dist/container-runtime-alpha.d.ts +98 -40
  22. package/dist/container-runtime-beta.d.ts +27 -9
  23. package/dist/container-runtime-public.d.ts +27 -9
  24. package/dist/container-runtime-untrimmed.d.ts +123 -40
  25. package/dist/containerHandleContext.d.ts +1 -1
  26. package/dist/containerHandleContext.d.ts.map +1 -1
  27. package/dist/containerHandleContext.js.map +1 -1
  28. package/dist/containerRuntime.d.ts +79 -55
  29. package/dist/containerRuntime.d.ts.map +1 -1
  30. package/dist/containerRuntime.js +541 -411
  31. package/dist/containerRuntime.js.map +1 -1
  32. package/dist/dataStore.d.ts +2 -3
  33. package/dist/dataStore.d.ts.map +1 -1
  34. package/dist/dataStore.js +12 -11
  35. package/dist/dataStore.js.map +1 -1
  36. package/dist/dataStoreContext.d.ts +71 -30
  37. package/dist/dataStoreContext.d.ts.map +1 -1
  38. package/dist/dataStoreContext.js +182 -141
  39. package/dist/dataStoreContext.js.map +1 -1
  40. package/dist/dataStoreContexts.d.ts +1 -1
  41. package/dist/dataStoreContexts.d.ts.map +1 -1
  42. package/dist/dataStoreContexts.js.map +1 -1
  43. package/dist/deltaManagerSummarizerProxy.d.ts +29 -4
  44. package/dist/deltaManagerSummarizerProxy.d.ts.map +1 -1
  45. package/dist/deltaManagerSummarizerProxy.js +91 -5
  46. package/dist/deltaManagerSummarizerProxy.js.map +1 -1
  47. package/dist/gc/garbageCollection.d.ts +22 -5
  48. package/dist/gc/garbageCollection.d.ts.map +1 -1
  49. package/dist/gc/garbageCollection.js +134 -75
  50. package/dist/gc/garbageCollection.js.map +1 -1
  51. package/dist/gc/gcConfigs.d.ts +2 -2
  52. package/dist/gc/gcConfigs.d.ts.map +1 -1
  53. package/dist/gc/gcConfigs.js +21 -21
  54. package/dist/gc/gcConfigs.js.map +1 -1
  55. package/dist/gc/gcDefinitions.d.ts +29 -6
  56. package/dist/gc/gcDefinitions.d.ts.map +1 -1
  57. package/dist/gc/gcDefinitions.js +5 -1
  58. package/dist/gc/gcDefinitions.js.map +1 -1
  59. package/dist/gc/gcHelpers.d.ts +2 -2
  60. package/dist/gc/gcHelpers.d.ts.map +1 -1
  61. package/dist/gc/gcHelpers.js.map +1 -1
  62. package/dist/gc/gcReferenceGraphAlgorithm.d.ts +1 -1
  63. package/dist/gc/gcReferenceGraphAlgorithm.d.ts.map +1 -1
  64. package/dist/gc/gcReferenceGraphAlgorithm.js.map +1 -1
  65. package/dist/gc/gcSummaryStateTracker.d.ts +12 -5
  66. package/dist/gc/gcSummaryStateTracker.d.ts.map +1 -1
  67. package/dist/gc/gcSummaryStateTracker.js +18 -6
  68. package/dist/gc/gcSummaryStateTracker.js.map +1 -1
  69. package/dist/gc/gcTelemetry.d.ts +7 -7
  70. package/dist/gc/gcTelemetry.d.ts.map +1 -1
  71. package/dist/gc/gcTelemetry.js +20 -20
  72. package/dist/gc/gcTelemetry.js.map +1 -1
  73. package/dist/gc/gcUnreferencedStateTracker.d.ts +6 -1
  74. package/dist/gc/gcUnreferencedStateTracker.d.ts.map +1 -1
  75. package/dist/gc/gcUnreferencedStateTracker.js +22 -11
  76. package/dist/gc/gcUnreferencedStateTracker.js.map +1 -1
  77. package/dist/gc/index.d.ts +8 -8
  78. package/dist/gc/index.d.ts.map +1 -1
  79. package/dist/gc/index.js +40 -38
  80. package/dist/gc/index.js.map +1 -1
  81. package/dist/index.d.ts +8 -20
  82. package/dist/index.d.ts.map +1 -1
  83. package/dist/index.js +28 -40
  84. package/dist/index.js.map +1 -1
  85. package/dist/messageTypes.d.ts +4 -4
  86. package/dist/messageTypes.d.ts.map +1 -1
  87. package/dist/messageTypes.js.map +1 -1
  88. package/dist/opLifecycle/batchManager.d.ts +2 -2
  89. package/dist/opLifecycle/batchManager.d.ts.map +1 -1
  90. package/dist/opLifecycle/batchManager.js.map +1 -1
  91. package/dist/opLifecycle/definitions.d.ts +2 -2
  92. package/dist/opLifecycle/definitions.d.ts.map +1 -1
  93. package/dist/opLifecycle/definitions.js.map +1 -1
  94. package/dist/opLifecycle/index.d.ts +8 -8
  95. package/dist/opLifecycle/index.d.ts.map +1 -1
  96. package/dist/opLifecycle/index.js +18 -18
  97. package/dist/opLifecycle/index.js.map +1 -1
  98. package/dist/opLifecycle/opCompressor.d.ts +1 -1
  99. package/dist/opLifecycle/opCompressor.d.ts.map +1 -1
  100. package/dist/opLifecycle/opCompressor.js +4 -4
  101. package/dist/opLifecycle/opCompressor.js.map +1 -1
  102. package/dist/opLifecycle/opDecompressor.d.ts +1 -1
  103. package/dist/opLifecycle/opDecompressor.d.ts.map +1 -1
  104. package/dist/opLifecycle/opDecompressor.js +3 -3
  105. package/dist/opLifecycle/opDecompressor.js.map +1 -1
  106. package/dist/opLifecycle/opGroupingManager.d.ts +1 -1
  107. package/dist/opLifecycle/opGroupingManager.d.ts.map +1 -1
  108. package/dist/opLifecycle/opGroupingManager.js +1 -10
  109. package/dist/opLifecycle/opGroupingManager.js.map +1 -1
  110. package/dist/opLifecycle/opSplitter.d.ts +1 -1
  111. package/dist/opLifecycle/opSplitter.d.ts.map +1 -1
  112. package/dist/opLifecycle/opSplitter.js +5 -5
  113. package/dist/opLifecycle/opSplitter.js.map +1 -1
  114. package/dist/opLifecycle/outbox.d.ts +7 -7
  115. package/dist/opLifecycle/outbox.d.ts.map +1 -1
  116. package/dist/opLifecycle/outbox.js +20 -12
  117. package/dist/opLifecycle/outbox.js.map +1 -1
  118. package/dist/opLifecycle/remoteMessageProcessor.d.ts +4 -4
  119. package/dist/opLifecycle/remoteMessageProcessor.d.ts.map +1 -1
  120. package/dist/opLifecycle/remoteMessageProcessor.js +2 -2
  121. package/dist/opLifecycle/remoteMessageProcessor.js.map +1 -1
  122. package/dist/package.json +3 -0
  123. package/dist/packageVersion.d.ts +1 -1
  124. package/dist/packageVersion.js +1 -1
  125. package/dist/packageVersion.js.map +1 -1
  126. package/dist/pendingStateManager.d.ts +2 -1
  127. package/dist/pendingStateManager.d.ts.map +1 -1
  128. package/dist/pendingStateManager.js +18 -10
  129. package/dist/pendingStateManager.js.map +1 -1
  130. package/dist/scheduleManager.d.ts +1 -2
  131. package/dist/scheduleManager.d.ts.map +1 -1
  132. package/dist/scheduleManager.js +5 -5
  133. package/dist/scheduleManager.js.map +1 -1
  134. package/dist/summary/index.d.ts +12 -12
  135. package/dist/summary/index.d.ts.map +1 -1
  136. package/dist/summary/index.js +43 -43
  137. package/dist/summary/index.js.map +1 -1
  138. package/dist/summary/orderedClientElection.js +8 -8
  139. package/dist/summary/orderedClientElection.js.map +1 -1
  140. package/dist/summary/runWhileConnectedCoordinator.d.ts +1 -1
  141. package/dist/summary/runWhileConnectedCoordinator.d.ts.map +1 -1
  142. package/dist/summary/runWhileConnectedCoordinator.js.map +1 -1
  143. package/dist/summary/runningSummarizer.d.ts +11 -10
  144. package/dist/summary/runningSummarizer.d.ts.map +1 -1
  145. package/dist/summary/runningSummarizer.js +114 -81
  146. package/dist/summary/runningSummarizer.js.map +1 -1
  147. package/dist/summary/summarizer.d.ts +4 -4
  148. package/dist/summary/summarizer.d.ts.map +1 -1
  149. package/dist/summary/summarizer.js +6 -6
  150. package/dist/summary/summarizer.js.map +1 -1
  151. package/dist/summary/summarizerClientElection.d.ts +2 -2
  152. package/dist/summary/summarizerClientElection.d.ts.map +1 -1
  153. package/dist/summary/summarizerClientElection.js.map +1 -1
  154. package/dist/summary/summarizerHeuristics.d.ts +3 -3
  155. package/dist/summary/summarizerHeuristics.d.ts.map +1 -1
  156. package/dist/summary/summarizerHeuristics.js.map +1 -1
  157. package/dist/summary/summarizerNode/index.d.ts +3 -3
  158. package/dist/summary/summarizerNode/index.d.ts.map +1 -1
  159. package/dist/summary/summarizerNode/index.js +4 -4
  160. package/dist/summary/summarizerNode/index.js.map +1 -1
  161. package/dist/summary/summarizerNode/summarizerNode.d.ts +17 -7
  162. package/dist/summary/summarizerNode/summarizerNode.d.ts.map +1 -1
  163. package/dist/summary/summarizerNode/summarizerNode.js +45 -57
  164. package/dist/summary/summarizerNode/summarizerNode.js.map +1 -1
  165. package/dist/summary/summarizerNode/summarizerNodeUtils.d.ts +10 -19
  166. package/dist/summary/summarizerNode/summarizerNodeUtils.d.ts.map +1 -1
  167. package/dist/summary/summarizerNode/summarizerNodeUtils.js +1 -21
  168. package/dist/summary/summarizerNode/summarizerNodeUtils.js.map +1 -1
  169. package/dist/summary/summarizerNode/summarizerNodeWithGc.d.ts +5 -6
  170. package/dist/summary/summarizerNode/summarizerNodeWithGc.d.ts.map +1 -1
  171. package/dist/summary/summarizerNode/summarizerNodeWithGc.js +16 -16
  172. package/dist/summary/summarizerNode/summarizerNodeWithGc.js.map +1 -1
  173. package/dist/summary/summarizerTypes.d.ts +10 -21
  174. package/dist/summary/summarizerTypes.d.ts.map +1 -1
  175. package/dist/summary/summarizerTypes.js.map +1 -1
  176. package/dist/summary/summaryFormat.d.ts +15 -2
  177. package/dist/summary/summaryFormat.d.ts.map +1 -1
  178. package/dist/summary/summaryFormat.js.map +1 -1
  179. package/dist/summary/summaryGenerator.d.ts +6 -5
  180. package/dist/summary/summaryGenerator.d.ts.map +1 -1
  181. package/dist/summary/summaryGenerator.js +10 -1
  182. package/dist/summary/summaryGenerator.js.map +1 -1
  183. package/dist/summary/summaryManager.d.ts +5 -6
  184. package/dist/summary/summaryManager.d.ts.map +1 -1
  185. package/dist/summary/summaryManager.js +4 -5
  186. package/dist/summary/summaryManager.js.map +1 -1
  187. package/dist/tsdoc-metadata.json +1 -1
  188. package/lib/{batchTracker.d.mts → batchTracker.d.ts} +2 -3
  189. package/lib/batchTracker.d.ts.map +1 -0
  190. package/lib/{batchTracker.mjs → batchTracker.js} +1 -1
  191. package/lib/batchTracker.js.map +1 -0
  192. package/lib/{blobManager.d.mts → blobManager.d.ts} +1 -1
  193. package/lib/blobManager.d.ts.map +1 -0
  194. package/lib/{blobManager.mjs → blobManager.js} +1 -1
  195. package/lib/blobManager.js.map +1 -0
  196. package/lib/channelCollection.d.ts +223 -0
  197. package/lib/channelCollection.d.ts.map +1 -0
  198. package/lib/{dataStores.mjs → channelCollection.js} +384 -71
  199. package/lib/channelCollection.js.map +1 -0
  200. package/lib/{connectionTelemetry.d.mts → connectionTelemetry.d.ts} +12 -2
  201. package/lib/connectionTelemetry.d.ts.map +1 -0
  202. package/lib/{connectionTelemetry.mjs → connectionTelemetry.js} +43 -5
  203. package/lib/connectionTelemetry.js.map +1 -0
  204. package/lib/{container-runtime-alpha.d.mts → container-runtime-alpha.d.ts} +98 -40
  205. package/lib/{container-runtime-public.d.mts → container-runtime-beta.d.ts} +27 -9
  206. package/lib/{container-runtime-beta.d.mts → container-runtime-public.d.ts} +27 -9
  207. package/lib/{container-runtime-untrimmed.d.mts → container-runtime-untrimmed.d.ts} +123 -40
  208. package/lib/{containerHandleContext.d.mts → containerHandleContext.d.ts} +2 -2
  209. package/lib/containerHandleContext.d.ts.map +1 -0
  210. package/lib/{containerHandleContext.mjs → containerHandleContext.js} +1 -1
  211. package/lib/containerHandleContext.js.map +1 -0
  212. package/lib/{containerRuntime.d.mts → containerRuntime.d.ts} +84 -56
  213. package/lib/containerRuntime.d.ts.map +1 -0
  214. package/lib/{containerRuntime.mjs → containerRuntime.js} +460 -332
  215. package/lib/containerRuntime.js.map +1 -0
  216. package/lib/{dataStore.d.mts → dataStore.d.ts} +3 -4
  217. package/lib/dataStore.d.ts.map +1 -0
  218. package/lib/{dataStore.mjs → dataStore.js} +13 -12
  219. package/lib/dataStore.js.map +1 -0
  220. package/lib/{dataStoreContext.d.mts → dataStoreContext.d.ts} +72 -31
  221. package/lib/dataStoreContext.d.ts.map +1 -0
  222. package/lib/{dataStoreContext.mjs → dataStoreContext.js} +174 -133
  223. package/lib/dataStoreContext.js.map +1 -0
  224. package/lib/{dataStoreContexts.d.mts → dataStoreContexts.d.ts} +2 -2
  225. package/lib/dataStoreContexts.d.ts.map +1 -0
  226. package/lib/{dataStoreContexts.mjs → dataStoreContexts.js} +1 -1
  227. package/lib/dataStoreContexts.js.map +1 -0
  228. package/lib/{dataStoreRegistry.d.mts → dataStoreRegistry.d.ts} +1 -1
  229. package/lib/dataStoreRegistry.d.ts.map +1 -0
  230. package/lib/{dataStoreRegistry.mjs → dataStoreRegistry.js} +5 -1
  231. package/lib/dataStoreRegistry.js.map +1 -0
  232. package/{dist/deltaManagerProxyBase.d.ts → lib/deltaManagerSummarizerProxy.d.ts} +16 -7
  233. package/lib/deltaManagerSummarizerProxy.d.ts.map +1 -0
  234. package/lib/deltaManagerSummarizerProxy.js +124 -0
  235. package/lib/deltaManagerSummarizerProxy.js.map +1 -0
  236. package/lib/{deltaScheduler.d.mts → deltaScheduler.d.ts} +1 -1
  237. package/lib/deltaScheduler.d.ts.map +1 -0
  238. package/lib/{deltaScheduler.mjs → deltaScheduler.js} +1 -1
  239. package/lib/deltaScheduler.js.map +1 -0
  240. package/lib/{error.d.mts → error.d.ts} +1 -1
  241. package/lib/error.d.ts.map +1 -0
  242. package/lib/{error.mjs → error.js} +1 -1
  243. package/lib/error.js.map +1 -0
  244. package/lib/gc/{garbageCollection.d.mts → garbageCollection.d.ts} +23 -6
  245. package/lib/gc/garbageCollection.d.ts.map +1 -0
  246. package/lib/gc/{garbageCollection.mjs → garbageCollection.js} +103 -44
  247. package/lib/gc/garbageCollection.js.map +1 -0
  248. package/lib/gc/{gcConfigs.d.mts → gcConfigs.d.ts} +3 -3
  249. package/lib/gc/gcConfigs.d.ts.map +1 -0
  250. package/lib/gc/{gcConfigs.mjs → gcConfigs.js} +3 -3
  251. package/lib/gc/gcConfigs.js.map +1 -0
  252. package/lib/gc/{gcDefinitions.d.mts → gcDefinitions.d.ts} +30 -7
  253. package/lib/gc/gcDefinitions.d.ts.map +1 -0
  254. package/lib/gc/{gcDefinitions.mjs → gcDefinitions.js} +5 -1
  255. package/lib/gc/gcDefinitions.js.map +1 -0
  256. package/lib/gc/{gcHelpers.d.mts → gcHelpers.d.ts} +3 -3
  257. package/lib/gc/{gcHelpers.d.mts.map → gcHelpers.d.ts.map} +1 -1
  258. package/lib/gc/{gcHelpers.mjs → gcHelpers.js} +1 -1
  259. package/lib/gc/gcHelpers.js.map +1 -0
  260. package/lib/gc/{gcReferenceGraphAlgorithm.d.mts → gcReferenceGraphAlgorithm.d.ts} +2 -2
  261. package/lib/gc/gcReferenceGraphAlgorithm.d.ts.map +1 -0
  262. package/lib/gc/{gcReferenceGraphAlgorithm.mjs → gcReferenceGraphAlgorithm.js} +1 -1
  263. package/lib/gc/gcReferenceGraphAlgorithm.js.map +1 -0
  264. package/lib/gc/{gcSummaryDefinitions.d.mts → gcSummaryDefinitions.d.ts} +1 -1
  265. package/lib/gc/gcSummaryDefinitions.d.ts.map +1 -0
  266. package/lib/gc/{gcSummaryDefinitions.mjs → gcSummaryDefinitions.js} +1 -1
  267. package/lib/gc/gcSummaryDefinitions.js.map +1 -0
  268. package/lib/gc/{gcSummaryStateTracker.d.mts → gcSummaryStateTracker.d.ts} +13 -6
  269. package/lib/gc/gcSummaryStateTracker.d.ts.map +1 -0
  270. package/lib/gc/{gcSummaryStateTracker.mjs → gcSummaryStateTracker.js} +17 -5
  271. package/lib/gc/gcSummaryStateTracker.js.map +1 -0
  272. package/lib/gc/{gcTelemetry.d.mts → gcTelemetry.d.ts} +8 -8
  273. package/lib/gc/gcTelemetry.d.ts.map +1 -0
  274. package/lib/gc/{gcTelemetry.mjs → gcTelemetry.js} +5 -5
  275. package/lib/gc/gcTelemetry.js.map +1 -0
  276. package/lib/gc/{gcUnreferencedStateTracker.d.mts → gcUnreferencedStateTracker.d.ts} +7 -2
  277. package/lib/gc/gcUnreferencedStateTracker.d.ts.map +1 -0
  278. package/lib/gc/{gcUnreferencedStateTracker.mjs → gcUnreferencedStateTracker.js} +12 -2
  279. package/lib/gc/gcUnreferencedStateTracker.js.map +1 -0
  280. package/lib/gc/{index.d.mts → index.d.ts} +9 -9
  281. package/lib/gc/index.d.ts.map +1 -0
  282. package/lib/gc/{index.mjs → index.js} +8 -8
  283. package/lib/gc/index.js.map +1 -0
  284. package/lib/{index.d.mts → index.d.ts} +9 -21
  285. package/lib/index.d.ts.map +1 -0
  286. package/lib/index.js +12 -0
  287. package/lib/index.js.map +1 -0
  288. package/lib/{messageTypes.d.mts → messageTypes.d.ts} +5 -5
  289. package/lib/messageTypes.d.ts.map +1 -0
  290. package/lib/{messageTypes.mjs → messageTypes.js} +1 -1
  291. package/lib/messageTypes.js.map +1 -0
  292. package/lib/{metadata.d.mts → metadata.d.ts} +1 -1
  293. package/lib/metadata.d.ts.map +1 -0
  294. package/lib/{metadata.mjs → metadata.js} +1 -1
  295. package/lib/metadata.js.map +1 -0
  296. package/lib/opLifecycle/{batchManager.d.mts → batchManager.d.ts} +3 -3
  297. package/lib/opLifecycle/batchManager.d.ts.map +1 -0
  298. package/lib/opLifecycle/{batchManager.mjs → batchManager.js} +1 -1
  299. package/lib/opLifecycle/batchManager.js.map +1 -0
  300. package/lib/opLifecycle/{definitions.d.mts → definitions.d.ts} +3 -3
  301. package/lib/opLifecycle/definitions.d.ts.map +1 -0
  302. package/lib/opLifecycle/{definitions.mjs → definitions.js} +1 -1
  303. package/lib/opLifecycle/definitions.js.map +1 -0
  304. package/lib/opLifecycle/index.d.ts +13 -0
  305. package/lib/opLifecycle/index.d.ts.map +1 -0
  306. package/lib/opLifecycle/index.js +12 -0
  307. package/lib/opLifecycle/index.js.map +1 -0
  308. package/lib/opLifecycle/{opCompressor.d.mts → opCompressor.d.ts} +2 -2
  309. package/lib/opLifecycle/opCompressor.d.ts.map +1 -0
  310. package/lib/opLifecycle/{opCompressor.mjs → opCompressor.js} +3 -3
  311. package/lib/opLifecycle/opCompressor.js.map +1 -0
  312. package/lib/opLifecycle/{opDecompressor.d.mts → opDecompressor.d.ts} +2 -2
  313. package/lib/opLifecycle/opDecompressor.d.ts.map +1 -0
  314. package/lib/opLifecycle/{opDecompressor.mjs → opDecompressor.js} +2 -2
  315. package/lib/opLifecycle/opDecompressor.js.map +1 -0
  316. package/lib/opLifecycle/{opGroupingManager.d.mts → opGroupingManager.d.ts} +2 -2
  317. package/lib/opLifecycle/opGroupingManager.d.ts.map +1 -0
  318. package/lib/opLifecycle/{opGroupingManager.mjs → opGroupingManager.js} +2 -11
  319. package/lib/opLifecycle/opGroupingManager.js.map +1 -0
  320. package/lib/opLifecycle/{opSplitter.d.mts → opSplitter.d.ts} +2 -2
  321. package/lib/opLifecycle/opSplitter.d.ts.map +1 -0
  322. package/lib/opLifecycle/{opSplitter.mjs → opSplitter.js} +3 -3
  323. package/lib/opLifecycle/opSplitter.js.map +1 -0
  324. package/lib/opLifecycle/{outbox.d.mts → outbox.d.ts} +8 -8
  325. package/lib/opLifecycle/outbox.d.ts.map +1 -0
  326. package/lib/opLifecycle/{outbox.mjs → outbox.js} +12 -4
  327. package/lib/opLifecycle/outbox.js.map +1 -0
  328. package/lib/opLifecycle/{remoteMessageProcessor.d.mts → remoteMessageProcessor.d.ts} +5 -5
  329. package/lib/opLifecycle/remoteMessageProcessor.d.ts.map +1 -0
  330. package/lib/opLifecycle/{remoteMessageProcessor.mjs → remoteMessageProcessor.js} +2 -2
  331. package/lib/opLifecycle/remoteMessageProcessor.js.map +1 -0
  332. package/lib/{opProperties.d.mts → opProperties.d.ts} +1 -1
  333. package/lib/opProperties.d.ts.map +1 -0
  334. package/lib/{opProperties.mjs → opProperties.js} +1 -1
  335. package/lib/opProperties.js.map +1 -0
  336. package/lib/{packageVersion.d.mts → packageVersion.d.ts} +2 -2
  337. package/lib/packageVersion.d.ts.map +1 -0
  338. package/lib/{packageVersion.mjs → packageVersion.js} +2 -2
  339. package/lib/packageVersion.js.map +1 -0
  340. package/lib/{pendingStateManager.d.mts → pendingStateManager.d.ts} +3 -2
  341. package/lib/pendingStateManager.d.ts.map +1 -0
  342. package/lib/{pendingStateManager.mjs → pendingStateManager.js} +18 -10
  343. package/lib/pendingStateManager.js.map +1 -0
  344. package/lib/{scheduleManager.d.mts → scheduleManager.d.ts} +6 -3
  345. package/lib/scheduleManager.d.ts.map +1 -0
  346. package/lib/{scheduleManager.mjs → scheduleManager.js} +3 -3
  347. package/lib/scheduleManager.js.map +1 -0
  348. package/lib/{storageServiceWithAttachBlobs.d.mts → storageServiceWithAttachBlobs.d.ts} +1 -1
  349. package/lib/storageServiceWithAttachBlobs.d.ts.map +1 -0
  350. package/lib/{storageServiceWithAttachBlobs.mjs → storageServiceWithAttachBlobs.js} +1 -1
  351. package/lib/storageServiceWithAttachBlobs.js.map +1 -0
  352. package/lib/summary/{index.d.mts → index.d.ts} +13 -13
  353. package/lib/summary/index.d.ts.map +1 -0
  354. package/lib/summary/{index.mjs → index.js} +12 -12
  355. package/lib/summary/index.js.map +1 -0
  356. package/lib/summary/{orderedClientElection.d.mts → orderedClientElection.d.ts} +5 -1
  357. package/lib/summary/orderedClientElection.d.ts.map +1 -0
  358. package/lib/summary/{orderedClientElection.mjs → orderedClientElection.js} +2 -2
  359. package/lib/summary/orderedClientElection.js.map +1 -0
  360. package/lib/summary/{runWhileConnectedCoordinator.d.mts → runWhileConnectedCoordinator.d.ts} +2 -2
  361. package/lib/summary/runWhileConnectedCoordinator.d.ts.map +1 -0
  362. package/lib/summary/{runWhileConnectedCoordinator.mjs → runWhileConnectedCoordinator.js} +1 -1
  363. package/lib/summary/runWhileConnectedCoordinator.js.map +1 -0
  364. package/lib/summary/{runningSummarizer.d.mts → runningSummarizer.d.ts} +12 -11
  365. package/lib/summary/runningSummarizer.d.ts.map +1 -0
  366. package/lib/summary/{runningSummarizer.mjs → runningSummarizer.js} +108 -75
  367. package/lib/summary/runningSummarizer.js.map +1 -0
  368. package/lib/summary/{summarizer.d.mts → summarizer.d.ts} +5 -5
  369. package/lib/summary/summarizer.d.ts.map +1 -0
  370. package/lib/summary/{summarizer.mjs → summarizer.js} +4 -4
  371. package/lib/summary/summarizer.js.map +1 -0
  372. package/lib/summary/{summarizerClientElection.d.mts → summarizerClientElection.d.ts} +3 -3
  373. package/lib/summary/summarizerClientElection.d.ts.map +1 -0
  374. package/lib/summary/{summarizerClientElection.mjs → summarizerClientElection.js} +1 -1
  375. package/lib/summary/summarizerClientElection.js.map +1 -0
  376. package/lib/summary/{summarizerHeuristics.d.mts → summarizerHeuristics.d.ts} +4 -4
  377. package/lib/summary/summarizerHeuristics.d.ts.map +1 -0
  378. package/lib/summary/{summarizerHeuristics.mjs → summarizerHeuristics.js} +1 -1
  379. package/lib/summary/summarizerHeuristics.js.map +1 -0
  380. package/lib/summary/summarizerNode/{index.d.mts → index.d.ts} +4 -4
  381. package/lib/summary/summarizerNode/index.d.ts.map +1 -0
  382. package/lib/summary/summarizerNode/index.js +7 -0
  383. package/lib/summary/summarizerNode/index.js.map +1 -0
  384. package/lib/summary/summarizerNode/{summarizerNode.d.mts → summarizerNode.d.ts} +18 -8
  385. package/lib/summary/summarizerNode/summarizerNode.d.ts.map +1 -0
  386. package/lib/summary/summarizerNode/{summarizerNode.mjs → summarizerNode.js} +41 -53
  387. package/lib/summary/summarizerNode/summarizerNode.js.map +1 -0
  388. package/lib/summary/summarizerNode/{summarizerNodeUtils.d.mts → summarizerNodeUtils.d.ts} +11 -20
  389. package/lib/summary/summarizerNode/summarizerNodeUtils.d.ts.map +1 -0
  390. package/lib/summary/summarizerNode/{summarizerNodeUtils.mjs → summarizerNodeUtils.js} +1 -20
  391. package/lib/summary/summarizerNode/summarizerNodeUtils.js.map +1 -0
  392. package/lib/summary/summarizerNode/{summarizerNodeWithGc.d.mts → summarizerNodeWithGc.d.ts} +6 -7
  393. package/lib/summary/summarizerNode/summarizerNodeWithGc.d.ts.map +1 -0
  394. package/lib/summary/summarizerNode/{summarizerNodeWithGc.mjs → summarizerNodeWithGc.js} +12 -12
  395. package/lib/summary/summarizerNode/summarizerNodeWithGc.js.map +1 -0
  396. package/lib/summary/{summarizerTypes.d.mts → summarizerTypes.d.ts} +11 -22
  397. package/lib/summary/summarizerTypes.d.ts.map +1 -0
  398. package/lib/summary/{summarizerTypes.mjs → summarizerTypes.js} +1 -1
  399. package/lib/summary/summarizerTypes.js.map +1 -0
  400. package/lib/summary/{summaryCollection.d.mts → summaryCollection.d.ts} +1 -1
  401. package/lib/summary/summaryCollection.d.ts.map +1 -0
  402. package/lib/summary/{summaryCollection.mjs → summaryCollection.js} +1 -1
  403. package/lib/summary/summaryCollection.js.map +1 -0
  404. package/lib/summary/{summaryFormat.d.mts → summaryFormat.d.ts} +16 -3
  405. package/lib/summary/summaryFormat.d.ts.map +1 -0
  406. package/lib/summary/{summaryFormat.mjs → summaryFormat.js} +1 -1
  407. package/lib/summary/summaryFormat.js.map +1 -0
  408. package/lib/summary/{summaryGenerator.d.mts → summaryGenerator.d.ts} +7 -6
  409. package/lib/summary/summaryGenerator.d.ts.map +1 -0
  410. package/lib/summary/{summaryGenerator.mjs → summaryGenerator.js} +11 -2
  411. package/lib/summary/summaryGenerator.js.map +1 -0
  412. package/lib/summary/{summaryManager.d.mts → summaryManager.d.ts} +6 -7
  413. package/lib/summary/summaryManager.d.ts.map +1 -0
  414. package/lib/summary/{summaryManager.mjs → summaryManager.js} +4 -5
  415. package/lib/summary/summaryManager.js.map +1 -0
  416. package/lib/test/batchTracker.spec.js +88 -0
  417. package/lib/test/batchTracker.spec.js.map +1 -0
  418. package/lib/test/blobManager.spec.js +835 -0
  419. package/lib/test/blobManager.spec.js.map +1 -0
  420. package/lib/test/channelCollection.spec.js +141 -0
  421. package/lib/test/channelCollection.spec.js.map +1 -0
  422. package/lib/test/containerRuntime.spec.js +1748 -0
  423. package/lib/test/containerRuntime.spec.js.map +1 -0
  424. package/lib/test/dataStoreContext.spec.js +801 -0
  425. package/lib/test/dataStoreContext.spec.js.map +1 -0
  426. package/lib/test/dataStoreCreation.spec.js +312 -0
  427. package/lib/test/dataStoreCreation.spec.js.map +1 -0
  428. package/lib/test/dataStoreRegistry.spec.js +26 -0
  429. package/lib/test/dataStoreRegistry.spec.js.map +1 -0
  430. package/lib/test/fuzz/fuzzUtils.js +66 -0
  431. package/lib/test/fuzz/fuzzUtils.js.map +1 -0
  432. package/lib/test/fuzz/summarizer.fuzz.spec.js +31 -0
  433. package/lib/test/fuzz/summarizer.fuzz.spec.js.map +1 -0
  434. package/lib/test/fuzz/summarizerFuzzMocks.js +162 -0
  435. package/lib/test/fuzz/summarizerFuzzMocks.js.map +1 -0
  436. package/lib/test/fuzz/summarizerFuzzSuite.js +106 -0
  437. package/lib/test/fuzz/summarizerFuzzSuite.js.map +1 -0
  438. package/lib/test/gc/garbageCollection.spec.js +1465 -0
  439. package/lib/test/gc/garbageCollection.spec.js.map +1 -0
  440. package/lib/test/gc/gcConfigs.spec.js +690 -0
  441. package/lib/test/gc/gcConfigs.spec.js.map +1 -0
  442. package/lib/test/gc/gcHelpers.spec.js +110 -0
  443. package/lib/test/gc/gcHelpers.spec.js.map +1 -0
  444. package/lib/test/gc/gcReferenceGraphAlgorithm.spec.js +68 -0
  445. package/lib/test/gc/gcReferenceGraphAlgorithm.spec.js.map +1 -0
  446. package/lib/test/gc/gcStats.spec.js +391 -0
  447. package/lib/test/gc/gcStats.spec.js.map +1 -0
  448. package/lib/test/gc/gcSummaryStateTracker.spec.js +228 -0
  449. package/lib/test/gc/gcSummaryStateTracker.spec.js.map +1 -0
  450. package/lib/test/gc/gcTelemetry.spec.js +530 -0
  451. package/lib/test/gc/gcTelemetry.spec.js.map +1 -0
  452. package/lib/test/gc/gcUnitTestHelpers.js +29 -0
  453. package/lib/test/gc/gcUnitTestHelpers.js.map +1 -0
  454. package/lib/test/gc/gcUnreferencedStateTracker.spec.js +192 -0
  455. package/lib/test/gc/gcUnreferencedStateTracker.spec.js.map +1 -0
  456. package/lib/test/getPendingBlobs.spec.js +193 -0
  457. package/lib/test/getPendingBlobs.spec.js.map +1 -0
  458. package/lib/test/hardwareStats.spec.js +93 -0
  459. package/lib/test/hardwareStats.spec.js.map +1 -0
  460. package/lib/test/index.js +6 -0
  461. package/lib/test/index.js.map +1 -0
  462. package/lib/test/opLifecycle/OpGroupingManager.spec.js +225 -0
  463. package/lib/test/opLifecycle/OpGroupingManager.spec.js.map +1 -0
  464. package/lib/test/opLifecycle/batchManager.spec.js +189 -0
  465. package/lib/test/opLifecycle/batchManager.spec.js.map +1 -0
  466. package/lib/test/opLifecycle/opCompressor.spec.js +74 -0
  467. package/lib/test/opLifecycle/opCompressor.spec.js.map +1 -0
  468. package/lib/test/opLifecycle/opDecompressor.spec.js +218 -0
  469. package/lib/test/opLifecycle/opDecompressor.spec.js.map +1 -0
  470. package/lib/test/opLifecycle/opSplitter.spec.js +272 -0
  471. package/lib/test/opLifecycle/opSplitter.spec.js.map +1 -0
  472. package/lib/test/opLifecycle/outbox.spec.js +675 -0
  473. package/lib/test/opLifecycle/outbox.spec.js.map +1 -0
  474. package/lib/test/opLifecycle/remoteMessageProcessor.spec.js +196 -0
  475. package/lib/test/opLifecycle/remoteMessageProcessor.spec.js.map +1 -0
  476. package/lib/test/pendingStateManager.spec.js +329 -0
  477. package/lib/test/pendingStateManager.spec.js.map +1 -0
  478. package/lib/test/scheduleManager.spec.js +270 -0
  479. package/lib/test/scheduleManager.spec.js.map +1 -0
  480. package/lib/test/summarizerNode.spec.js +326 -0
  481. package/lib/test/summarizerNode.spec.js.map +1 -0
  482. package/lib/test/summarizerNodeWithGc.spec.js +318 -0
  483. package/lib/test/summarizerNodeWithGc.spec.js.map +1 -0
  484. package/lib/test/summary/orderedClientElection.spec.js +535 -0
  485. package/lib/test/summary/orderedClientElection.spec.js.map +1 -0
  486. package/lib/test/summary/runningSummarizer.spec.js +1349 -0
  487. package/lib/test/summary/runningSummarizer.spec.js.map +1 -0
  488. package/lib/test/summary/summarizer.spec.js +29 -0
  489. package/lib/test/summary/summarizer.spec.js.map +1 -0
  490. package/lib/test/summary/summarizerClientElection.spec.js +436 -0
  491. package/lib/test/summary/summarizerClientElection.spec.js.map +1 -0
  492. package/lib/test/summary/summarizerHeuristics.spec.js +289 -0
  493. package/lib/test/summary/summarizerHeuristics.spec.js.map +1 -0
  494. package/lib/test/summary/summaryCollection.spec.js +200 -0
  495. package/lib/test/summary/summaryCollection.spec.js.map +1 -0
  496. package/lib/test/summary/summaryManager.spec.js +430 -0
  497. package/lib/test/summary/summaryManager.spec.js.map +1 -0
  498. package/lib/test/summary/testQuorumClients.js +34 -0
  499. package/lib/test/summary/testQuorumClients.js.map +1 -0
  500. package/lib/test/throttler.spec.js +175 -0
  501. package/lib/test/throttler.spec.js.map +1 -0
  502. package/lib/test/types/validateContainerRuntimePrevious.generated.js +180 -0
  503. package/lib/test/types/validateContainerRuntimePrevious.generated.js.map +1 -0
  504. package/lib/{throttler.d.mts → throttler.d.ts} +1 -1
  505. package/lib/throttler.d.ts.map +1 -0
  506. package/lib/{throttler.mjs → throttler.js} +1 -1
  507. package/lib/throttler.js.map +1 -0
  508. package/package.json +99 -88
  509. package/src/batchTracker.ts +1 -1
  510. package/src/blobManager.ts +1 -1
  511. package/src/{dataStores.ts → channelCollection.ts} +520 -84
  512. package/src/connectionTelemetry.ts +42 -3
  513. package/src/containerHandleContext.ts +1 -1
  514. package/src/containerRuntime.ts +661 -464
  515. package/src/dataStore.ts +13 -15
  516. package/src/dataStoreContext.ts +257 -184
  517. package/src/dataStoreContexts.ts +1 -1
  518. package/src/deltaManagerSummarizerProxy.ts +132 -7
  519. package/src/gc/garbageCollection.ts +121 -46
  520. package/src/gc/gcConfigs.ts +3 -3
  521. package/src/gc/gcDefinitions.ts +30 -7
  522. package/src/gc/gcHelpers.ts +2 -2
  523. package/src/gc/gcReferenceGraphAlgorithm.ts +1 -1
  524. package/src/gc/gcSummaryStateTracker.ts +19 -7
  525. package/src/gc/gcTelemetry.ts +10 -9
  526. package/src/gc/gcUnreferencedStateTracker.ts +12 -1
  527. package/src/gc/index.ts +10 -8
  528. package/src/index.ts +16 -27
  529. package/src/messageTypes.ts +4 -4
  530. package/src/opLifecycle/README.md +2 -4
  531. package/src/opLifecycle/batchManager.ts +2 -2
  532. package/src/opLifecycle/definitions.ts +2 -2
  533. package/src/opLifecycle/index.ts +8 -8
  534. package/src/opLifecycle/opCompressor.ts +3 -3
  535. package/src/opLifecycle/opDecompressor.ts +3 -3
  536. package/src/opLifecycle/opGroupingManager.ts +3 -12
  537. package/src/opLifecycle/opSplitter.ts +3 -3
  538. package/src/opLifecycle/outbox.ts +29 -9
  539. package/src/opLifecycle/remoteMessageProcessor.ts +4 -4
  540. package/src/packageVersion.ts +1 -1
  541. package/src/pendingStateManager.ts +19 -13
  542. package/src/scheduleManager.ts +4 -4
  543. package/src/summary/index.ts +13 -12
  544. package/src/summary/orderedClientElection.ts +1 -1
  545. package/src/summary/runWhileConnectedCoordinator.ts +1 -1
  546. package/src/summary/runningSummarizer.ts +141 -93
  547. package/src/summary/summarizer.ts +7 -7
  548. package/src/summary/summarizerClientElection.ts +2 -2
  549. package/src/summary/summarizerHeuristics.ts +3 -3
  550. package/src/summary/summarizerNode/index.ts +6 -3
  551. package/src/summary/summarizerNode/summarizerNode.ts +54 -69
  552. package/src/summary/summarizerNode/summarizerNodeUtils.ts +16 -34
  553. package/src/summary/summarizerNode/summarizerNodeWithGc.ts +11 -17
  554. package/src/summary/summarizerTypes.ts +12 -24
  555. package/src/summary/summaryFormat.ts +16 -2
  556. package/src/summary/summaryGenerator.ts +16 -4
  557. package/src/summary/summaryManager.ts +6 -7
  558. package/tsconfig.cjs.json +7 -0
  559. package/tsconfig.json +2 -5
  560. package/dist/dataStores.d.ts +0 -149
  561. package/dist/dataStores.d.ts.map +0 -1
  562. package/dist/dataStores.js.map +0 -1
  563. package/dist/deltaManagerProxyBase.d.ts.map +0 -1
  564. package/dist/deltaManagerProxyBase.js +0 -77
  565. package/dist/deltaManagerProxyBase.js.map +0 -1
  566. package/lib/batchTracker.d.mts.map +0 -1
  567. package/lib/batchTracker.mjs.map +0 -1
  568. package/lib/blobManager.d.mts.map +0 -1
  569. package/lib/blobManager.mjs.map +0 -1
  570. package/lib/connectionTelemetry.d.mts.map +0 -1
  571. package/lib/connectionTelemetry.mjs.map +0 -1
  572. package/lib/containerHandleContext.d.mts.map +0 -1
  573. package/lib/containerHandleContext.mjs.map +0 -1
  574. package/lib/containerRuntime.d.mts.map +0 -1
  575. package/lib/containerRuntime.mjs.map +0 -1
  576. package/lib/dataStore.d.mts.map +0 -1
  577. package/lib/dataStore.mjs.map +0 -1
  578. package/lib/dataStoreContext.d.mts.map +0 -1
  579. package/lib/dataStoreContext.mjs.map +0 -1
  580. package/lib/dataStoreContexts.d.mts.map +0 -1
  581. package/lib/dataStoreContexts.mjs.map +0 -1
  582. package/lib/dataStoreRegistry.d.mts.map +0 -1
  583. package/lib/dataStoreRegistry.mjs.map +0 -1
  584. package/lib/dataStores.d.mts +0 -149
  585. package/lib/dataStores.d.mts.map +0 -1
  586. package/lib/dataStores.mjs.map +0 -1
  587. package/lib/deltaManagerProxyBase.d.mts +0 -35
  588. package/lib/deltaManagerProxyBase.d.mts.map +0 -1
  589. package/lib/deltaManagerProxyBase.mjs +0 -73
  590. package/lib/deltaManagerProxyBase.mjs.map +0 -1
  591. package/lib/deltaManagerSummarizerProxy.d.mts +0 -19
  592. package/lib/deltaManagerSummarizerProxy.d.mts.map +0 -1
  593. package/lib/deltaManagerSummarizerProxy.mjs +0 -38
  594. package/lib/deltaManagerSummarizerProxy.mjs.map +0 -1
  595. package/lib/deltaScheduler.d.mts.map +0 -1
  596. package/lib/deltaScheduler.mjs.map +0 -1
  597. package/lib/error.d.mts.map +0 -1
  598. package/lib/error.mjs.map +0 -1
  599. package/lib/gc/garbageCollection.d.mts.map +0 -1
  600. package/lib/gc/garbageCollection.mjs.map +0 -1
  601. package/lib/gc/gcConfigs.d.mts.map +0 -1
  602. package/lib/gc/gcConfigs.mjs.map +0 -1
  603. package/lib/gc/gcDefinitions.d.mts.map +0 -1
  604. package/lib/gc/gcDefinitions.mjs.map +0 -1
  605. package/lib/gc/gcHelpers.mjs.map +0 -1
  606. package/lib/gc/gcReferenceGraphAlgorithm.d.mts.map +0 -1
  607. package/lib/gc/gcReferenceGraphAlgorithm.mjs.map +0 -1
  608. package/lib/gc/gcSummaryDefinitions.d.mts.map +0 -1
  609. package/lib/gc/gcSummaryDefinitions.mjs.map +0 -1
  610. package/lib/gc/gcSummaryStateTracker.d.mts.map +0 -1
  611. package/lib/gc/gcSummaryStateTracker.mjs.map +0 -1
  612. package/lib/gc/gcTelemetry.d.mts.map +0 -1
  613. package/lib/gc/gcTelemetry.mjs.map +0 -1
  614. package/lib/gc/gcUnreferencedStateTracker.d.mts.map +0 -1
  615. package/lib/gc/gcUnreferencedStateTracker.mjs.map +0 -1
  616. package/lib/gc/index.d.mts.map +0 -1
  617. package/lib/gc/index.mjs.map +0 -1
  618. package/lib/index.d.mts.map +0 -1
  619. package/lib/index.mjs +0 -24
  620. package/lib/index.mjs.map +0 -1
  621. package/lib/messageTypes.d.mts.map +0 -1
  622. package/lib/messageTypes.mjs.map +0 -1
  623. package/lib/metadata.d.mts.map +0 -1
  624. package/lib/metadata.mjs.map +0 -1
  625. package/lib/opLifecycle/batchManager.d.mts.map +0 -1
  626. package/lib/opLifecycle/batchManager.mjs.map +0 -1
  627. package/lib/opLifecycle/definitions.d.mts.map +0 -1
  628. package/lib/opLifecycle/definitions.mjs.map +0 -1
  629. package/lib/opLifecycle/index.d.mts +0 -13
  630. package/lib/opLifecycle/index.d.mts.map +0 -1
  631. package/lib/opLifecycle/index.mjs +0 -12
  632. package/lib/opLifecycle/index.mjs.map +0 -1
  633. package/lib/opLifecycle/opCompressor.d.mts.map +0 -1
  634. package/lib/opLifecycle/opCompressor.mjs.map +0 -1
  635. package/lib/opLifecycle/opDecompressor.d.mts.map +0 -1
  636. package/lib/opLifecycle/opDecompressor.mjs.map +0 -1
  637. package/lib/opLifecycle/opGroupingManager.d.mts.map +0 -1
  638. package/lib/opLifecycle/opGroupingManager.mjs.map +0 -1
  639. package/lib/opLifecycle/opSplitter.d.mts.map +0 -1
  640. package/lib/opLifecycle/opSplitter.mjs.map +0 -1
  641. package/lib/opLifecycle/outbox.d.mts.map +0 -1
  642. package/lib/opLifecycle/outbox.mjs.map +0 -1
  643. package/lib/opLifecycle/remoteMessageProcessor.d.mts.map +0 -1
  644. package/lib/opLifecycle/remoteMessageProcessor.mjs.map +0 -1
  645. package/lib/opProperties.d.mts.map +0 -1
  646. package/lib/opProperties.mjs.map +0 -1
  647. package/lib/packageVersion.d.mts.map +0 -1
  648. package/lib/packageVersion.mjs.map +0 -1
  649. package/lib/pendingStateManager.d.mts.map +0 -1
  650. package/lib/pendingStateManager.mjs.map +0 -1
  651. package/lib/scheduleManager.d.mts.map +0 -1
  652. package/lib/scheduleManager.mjs.map +0 -1
  653. package/lib/storageServiceWithAttachBlobs.d.mts.map +0 -1
  654. package/lib/storageServiceWithAttachBlobs.mjs.map +0 -1
  655. package/lib/summary/index.d.mts.map +0 -1
  656. package/lib/summary/index.mjs.map +0 -1
  657. package/lib/summary/orderedClientElection.d.mts.map +0 -1
  658. package/lib/summary/orderedClientElection.mjs.map +0 -1
  659. package/lib/summary/runWhileConnectedCoordinator.d.mts.map +0 -1
  660. package/lib/summary/runWhileConnectedCoordinator.mjs.map +0 -1
  661. package/lib/summary/runningSummarizer.d.mts.map +0 -1
  662. package/lib/summary/runningSummarizer.mjs.map +0 -1
  663. package/lib/summary/summarizer.d.mts.map +0 -1
  664. package/lib/summary/summarizer.mjs.map +0 -1
  665. package/lib/summary/summarizerClientElection.d.mts.map +0 -1
  666. package/lib/summary/summarizerClientElection.mjs.map +0 -1
  667. package/lib/summary/summarizerHeuristics.d.mts.map +0 -1
  668. package/lib/summary/summarizerHeuristics.mjs.map +0 -1
  669. package/lib/summary/summarizerNode/index.d.mts.map +0 -1
  670. package/lib/summary/summarizerNode/index.mjs +0 -7
  671. package/lib/summary/summarizerNode/index.mjs.map +0 -1
  672. package/lib/summary/summarizerNode/summarizerNode.d.mts.map +0 -1
  673. package/lib/summary/summarizerNode/summarizerNode.mjs.map +0 -1
  674. package/lib/summary/summarizerNode/summarizerNodeUtils.d.mts.map +0 -1
  675. package/lib/summary/summarizerNode/summarizerNodeUtils.mjs.map +0 -1
  676. package/lib/summary/summarizerNode/summarizerNodeWithGc.d.mts.map +0 -1
  677. package/lib/summary/summarizerNode/summarizerNodeWithGc.mjs.map +0 -1
  678. package/lib/summary/summarizerTypes.d.mts.map +0 -1
  679. package/lib/summary/summarizerTypes.mjs.map +0 -1
  680. package/lib/summary/summaryCollection.d.mts.map +0 -1
  681. package/lib/summary/summaryCollection.mjs.map +0 -1
  682. package/lib/summary/summaryFormat.d.mts.map +0 -1
  683. package/lib/summary/summaryFormat.mjs.map +0 -1
  684. package/lib/summary/summaryGenerator.d.mts.map +0 -1
  685. package/lib/summary/summaryGenerator.mjs.map +0 -1
  686. package/lib/summary/summaryManager.d.mts.map +0 -1
  687. package/lib/summary/summaryManager.mjs.map +0 -1
  688. package/lib/throttler.d.mts.map +0 -1
  689. package/lib/throttler.mjs.map +0 -1
  690. package/src/deltaManagerProxyBase.ts +0 -111
@@ -1,10 +1,9 @@
1
- import { assertIsStableId } from '@fluidframework/id-compressor';
2
1
  import { AttachState } from '@fluidframework/container-definitions';
3
2
  import { ContainerWarning } from '@fluidframework/container-definitions';
3
+ import { CreateChildSummarizerNodeParam } from '@fluidframework/runtime-definitions';
4
4
  import { FluidDataStoreRegistryEntry } from '@fluidframework/runtime-definitions';
5
5
  import { FluidObject } from '@fluidframework/core-interfaces';
6
6
  import { FlushMode } from '@fluidframework/runtime-definitions';
7
- import { generateStableId } from '@fluidframework/id-compressor';
8
7
  import { IAudience } from '@fluidframework/container-definitions';
9
8
  import { IClientDetails } from '@fluidframework/protocol-definitions';
10
9
  import { IContainerContext } from '@fluidframework/container-definitions';
@@ -16,9 +15,13 @@ import { IDeltaManager } from '@fluidframework/container-definitions';
16
15
  import { IDisposable } from '@fluidframework/core-interfaces';
17
16
  import { IDocumentMessage } from '@fluidframework/protocol-definitions';
18
17
  import { IDocumentStorageService } from '@fluidframework/driver-definitions';
18
+ import { IEnvelope } from '@fluidframework/runtime-definitions';
19
19
  import { IEvent } from '@fluidframework/core-interfaces';
20
20
  import { IEventProvider } from '@fluidframework/core-interfaces';
21
+ import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions';
22
+ import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions';
21
23
  import { IFluidDataStoreContextDetached } from '@fluidframework/runtime-definitions';
24
+ import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
22
25
  import { IFluidDataStoreRegistry } from '@fluidframework/runtime-definitions';
23
26
  import { IFluidHandle } from '@fluidframework/core-interfaces';
24
27
  import { IFluidHandleContext } from '@fluidframework/core-interfaces';
@@ -26,7 +29,6 @@ import { IGarbageCollectionData } from '@fluidframework/runtime-definitions';
26
29
  import { IGetPendingLocalStateProps } from '@fluidframework/container-definitions';
27
30
  import type { IIdCompressor } from '@fluidframework/id-compressor';
28
31
  import type { IIdCompressorCore } from '@fluidframework/id-compressor';
29
- import { ILoaderOptions } from '@fluidframework/container-definitions';
30
32
  import { IProvideFluidHandleContext } from '@fluidframework/core-interfaces';
31
33
  import { IQuorumClients } from '@fluidframework/protocol-definitions';
32
34
  import { IRequest } from '@fluidframework/core-interfaces';
@@ -34,7 +36,8 @@ import { IResponse } from '@fluidframework/core-interfaces';
34
36
  import { IRuntime } from '@fluidframework/container-definitions';
35
37
  import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
36
38
  import { ISignalMessage } from '@fluidframework/protocol-definitions';
37
- import { isStableId } from '@fluidframework/id-compressor';
39
+ import { ISnapshotTree } from '@fluidframework/protocol-definitions';
40
+ import { ISummarizerNodeWithGC } from '@fluidframework/runtime-definitions';
38
41
  import { ISummaryAck } from '@fluidframework/protocol-definitions';
39
42
  import { ISummaryContent } from '@fluidframework/protocol-definitions';
40
43
  import { ISummaryNack } from '@fluidframework/protocol-definitions';
@@ -45,6 +48,7 @@ import { ITelemetryContext } from '@fluidframework/runtime-definitions';
45
48
  import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
46
49
  import { MessageType } from '@fluidframework/protocol-definitions';
47
50
  import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions';
51
+ import { SummarizeInternalFn } from '@fluidframework/runtime-definitions';
48
52
  import { TypedEventEmitter } from '@fluid-internal/client-utils';
49
53
 
50
54
  /* Excluded from this release type: agentSchedulerId */
@@ -56,7 +60,7 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
56
60
  */
57
61
  export declare const AllowTombstoneRequestHeaderKey = "allowTombstone";
58
62
 
59
- /* Excluded from this release type: assertIsStableId */
63
+ /* Excluded from this release type: ChannelCollectionFactory */
60
64
 
61
65
  /* Excluded from this release type: CompatModeBehavior */
62
66
 
@@ -98,10 +102,13 @@ export declare enum ContainerMessageType {
98
102
  */
99
103
  export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntimeEvents & ISummarizerEvents> implements IContainerRuntime, IRuntime, ISummarizerRuntime, ISummarizerInternalsProvider, IProvideFluidHandleContext {
100
104
  private readonly registry;
105
+ private readonly metadata;
101
106
  private readonly runtimeOptions;
102
107
  private readonly containerScope;
103
108
  readonly logger: ITelemetryLoggerExt;
104
109
  private readonly _storage;
110
+ private readonly createIdCompressor;
111
+ private readonly idCompressorMode;
105
112
  private readonly requestHandler?;
106
113
  private readonly summaryConfiguration;
107
114
  /**
@@ -130,12 +137,13 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
130
137
  requestHandler?: (request: IRequest, runtime: IContainerRuntime) => Promise<IResponse>;
131
138
  provideEntryPoint: (containerRuntime: IContainerRuntime) => Promise<FluidObject>;
132
139
  }): Promise<ContainerRuntime>;
133
- readonly options: ILoaderOptions;
140
+ readonly options: Record<string | number, any>;
134
141
  private imminentClosure;
135
142
  private readonly _getClientId;
136
143
  get clientId(): string | undefined;
137
144
  readonly clientDetails: IClientDetails;
138
145
  get storage(): IDocumentStorageService;
146
+ get containerRuntime(): this;
139
147
  private readonly submitFn;
140
148
  /**
141
149
  * Although current IContainerContext guarantees submitBatchFn, it is not available on older loaders.
@@ -150,7 +158,26 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
150
158
  get IFluidDataStoreRegistry(): IFluidDataStoreRegistry;
151
159
  private readonly _getAttachState;
152
160
  get attachState(): AttachState;
153
- idCompressor: (IIdCompressor & IIdCompressorCore) | undefined;
161
+ private _idCompressor;
162
+ private pendingIdCompressorOps;
163
+ private readonly skipSavedCompressorOps;
164
+ /**
165
+ * See IContainerRuntimeBase.idCompressor() for details.
166
+ */
167
+ get idCompressor(): (IIdCompressor & IIdCompressorCore) | undefined;
168
+ /**
169
+ * True if we have ID compressor loading in-flight (async operation). Useful only for
170
+ * this.idCompressorMode === "delayed" mode
171
+ */
172
+ protected compressorLoadInitiated: boolean;
173
+ /**
174
+ * See IContainerRuntimeBase.generateDocumentUniqueId() for details.
175
+ */
176
+ generateDocumentUniqueId(): string | (number & {
177
+ readonly SessionUnique: "cea55054-6b82-4cbf-ad19-1fa645ea3b3e";
178
+ } & {
179
+ readonly OpNormalized: "9209432d-a959-4df7-b2ad-767ead4dbcae";
180
+ });
154
181
  get IFluidHandleContext(): IFluidHandleContext;
155
182
  private readonly handleContext;
156
183
  /**
@@ -233,15 +260,13 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
233
260
  private readonly pendingStateManager;
234
261
  private readonly outbox;
235
262
  private readonly garbageCollector;
236
- private readonly dataStores;
263
+ private readonly channelCollection;
237
264
  private readonly remoteMessageProcessor;
238
265
  /** The last message processed at the time of the last summary. */
239
266
  private messageAtLastSummary;
240
267
  private get summarizer();
241
268
  private readonly summariesDisabled;
242
269
  private isSummariesDisabled;
243
- private readonly heuristicsDisabled;
244
- private isHeuristicsDisabled;
245
270
  private readonly maxOpsSinceLastSummary;
246
271
  private getMaxOpsSinceLastSummary;
247
272
  private readonly initialSummarizerDelayMs;
@@ -261,10 +286,6 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
261
286
  * ! Note: should not be used for anything other than telemetry and is not considered a stable GUID
262
287
  */
263
288
  private readonly telemetryDocumentId;
264
- /**
265
- * If true, the runtime has access to an IdCompressor
266
- */
267
- private readonly idCompressorEnabled;
268
289
  /**
269
290
  * Whether this client is the summarizer client itself (type is summarizerClientType)
270
291
  */
@@ -273,13 +294,40 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
273
294
  * The id of the version used to initially load this runtime, or undefined if it's newly created.
274
295
  */
275
296
  private readonly loadedFromVersionId;
297
+ /**
298
+ * It a cache for holding mapping for loading groupIds with its snapshot from the service. Add expiry policy of 1 minute.
299
+ * Starting with 1 min and based on recorded usage we can tweak it later on.
300
+ */
301
+ private readonly snapshotCacheForLoadingGroupIds;
276
302
  /***/
277
- protected constructor(context: IContainerContext, registry: IFluidDataStoreRegistry, metadata: IContainerRuntimeMetadata | undefined, electedSummarizerData: ISerializedElection | undefined, chunks: [string, string[]][], dataStoreAliasMap: [string, string][], runtimeOptions: Readonly<Required<IContainerRuntimeOptions>>, containerScope: FluidObject, logger: ITelemetryLoggerExt, existing: boolean, blobManagerSnapshot: IBlobManagerLoadInfo, _storage: IDocumentStorageService, idCompressor: (IIdCompressor & IIdCompressorCore) | undefined, provideEntryPoint: (containerRuntime: IContainerRuntime) => Promise<FluidObject>, requestHandler?: ((request: IRequest, runtime: IContainerRuntime) => Promise<IResponse>) | undefined, summaryConfiguration?: ISummaryConfiguration);
303
+ protected constructor(context: IContainerContext, registry: IFluidDataStoreRegistry, metadata: IContainerRuntimeMetadata | undefined, electedSummarizerData: ISerializedElection | undefined, chunks: [string, string[]][], dataStoreAliasMap: [string, string][], runtimeOptions: Readonly<Required<IContainerRuntimeOptions>>, containerScope: FluidObject, logger: ITelemetryLoggerExt, existing: boolean, blobManagerSnapshot: IBlobManagerLoadInfo, _storage: IDocumentStorageService, createIdCompressor: () => Promise<IIdCompressor & IIdCompressorCore>, idCompressorMode: IdCompressorMode, provideEntryPoint: (containerRuntime: IContainerRuntime) => Promise<FluidObject>, requestHandler?: ((request: IRequest, runtime: IContainerRuntime) => Promise<IResponse>) | undefined, summaryConfiguration?: ISummaryConfiguration);
304
+ getCreateChildSummarizerNodeFn(id: string, createParam: CreateChildSummarizerNodeParam): (summarizeInternal: SummarizeInternalFn, getGCDataFn: (fullGC?: boolean) => Promise<IGarbageCollectionData>) => ISummarizerNodeWithGC;
305
+ deleteChildSummarizerNode(id: string): void;
306
+ makeLocallyVisible(): void;
278
307
  /**
279
308
  * Initializes the state from the base snapshot this container runtime loaded from.
280
309
  */
281
310
  private initializeBaseState;
282
311
  dispose(error?: Error): void;
312
+ /**
313
+ * Api to fetch the snapshot from the service for a loadingGroupIds.
314
+ * @param loadingGroupIds - LoadingGroupId for which the snapshot is asked for.
315
+ * @param pathParts - Parts of the path, which we want to extract from the snapshot tree.
316
+ * @returns - snapshotTree and the sequence number of the snapshot.
317
+ */
318
+ getSnapshotForLoadingGroupId(loadingGroupIds: string[], pathParts: string[]): Promise<{
319
+ snapshotTree: ISnapshotTree;
320
+ sequenceNumber: number;
321
+ }>;
322
+ /**
323
+ * Api to find a snapshot tree inside a bigger snapshot tree based on the path in the pathParts array.
324
+ * @param snapshotTree - snapshot tree to look into.
325
+ * @param pathParts - Part of the path, which we want to extract from the snapshot tree.
326
+ * @param hasIsolatedChannels - whether the channels are present inside ".channels" subtree. Older
327
+ * snapshots will not have trees inside ".channels", so check that.
328
+ * @returns - requested snapshot tree based on the path parts.
329
+ */
330
+ private getSnapshotTreeForPath;
283
331
  /**
284
332
  * Notifies this object about the request made to the container.
285
333
  * @param request - Request made to the handler.
@@ -297,7 +345,6 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
297
345
  getEntryPoint(): Promise<FluidObject>;
298
346
  private readonly entryPoint;
299
347
  private internalId;
300
- private getDataStoreFromRequest;
301
348
  /** Adds the container's metadata to the given summary tree. */
302
349
  private addMetadataToSummary;
303
350
  protected addContainerStateToSummary(summaryTree: ISummaryTreeWithStats, fullTree: boolean, trackState: boolean, telemetryContext?: ITelemetryContext): void;
@@ -347,13 +394,12 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
347
394
  * Returns undefined if no data store has been assigned the given alias.
348
395
  */
349
396
  getAliasedDataStoreEntryPoint(alias: string): Promise<IFluidHandle<FluidObject> | undefined>;
350
- createDetachedRootDataStore(pkg: Readonly<string[]>, rootDataStoreId: string): IFluidDataStoreContextDetached;
351
- createDetachedDataStore(pkg: Readonly<string[]>): IFluidDataStoreContextDetached;
352
- createDataStore(pkg: string | string[]): Promise<IDataStore>;
397
+ createDetachedDataStore(pkg: Readonly<string[]>, loadingGroupId?: string): IFluidDataStoreContextDetached;
398
+ createDataStore(pkg: Readonly<string | string[]>, loadingGroupId?: string): Promise<IDataStore>;
353
399
  /**
354
400
  * @deprecated 0.16 Issue #1537, #3631
355
401
  */
356
- _createDataStoreWithProps(pkg: string | string[], props?: any, id?: string): Promise<IDataStore>;
402
+ _createDataStoreWithProps(pkg: Readonly<string | string[]>, props?: any): Promise<IDataStore>;
357
403
  private canSendOps;
358
404
  /**
359
405
  * Are we in the middle of batching ops together?
@@ -377,13 +423,6 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
377
423
  * @param targetClientId - When specified, the signal is only sent to the provided client id.
378
424
  */
379
425
  submitSignal(type: string, content: any, targetClientId?: string): void;
380
- /**
381
- * Submits the signal to be sent to other clients.
382
- * @param type - Type of the signal.
383
- * @param content - Content of the signal.
384
- * @param targetClientId - When specified, the signal is only sent to the provided client id.
385
- */
386
- submitDataStoreSignal(address: string, type: string, content: any, targetClientId?: string): void;
387
426
  setAttachState(attachState: AttachState.Attaching | AttachState.Attached): void;
388
427
  /**
389
428
  * Create a summary. Used when attaching or serializing a detached container.
@@ -500,7 +539,11 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
500
539
  * @param srcHandle - The handle of the node that added the reference.
501
540
  * @param outboundHandle - The handle of the outbound node that is referenced.
502
541
  */
503
- addedGCOutboundReference(srcHandle: IFluidHandle, outboundHandle: IFluidHandle): void;
542
+ addedGCOutboundReference(srcHandle: {
543
+ absolutePath: string;
544
+ }, outboundHandle: {
545
+ absolutePath: string;
546
+ }): void;
504
547
  /**
505
548
  * Generates the summary tree, uploads it to storage, and then submits the summarize op.
506
549
  * This is intended to be called by the summarizer, since it is the implementation of
@@ -524,10 +567,9 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
524
567
  private get pendingMessagesCount();
525
568
  private hasPendingMessages;
526
569
  private updateDocumentDirtyState;
527
- submitDataStoreOp(id: string, contents: any, localOpMetadata?: unknown): void;
528
- submitDataStoreAliasOp(contents: any, localOpMetadata: unknown): void;
570
+ submitMessage(type: ContainerMessageType.FluidDataStoreOp | ContainerMessageType.Alias | ContainerMessageType.Attach, contents: any, localOpMetadata?: unknown): void;
529
571
  uploadBlob(blob: ArrayBufferLike, signal?: AbortSignal): Promise<IFluidHandle<ArrayBufferLike>>;
530
- private maybeSubmitIdAllocationOp;
572
+ private submitIdAllocationOpIfNeeded;
531
573
  private submit;
532
574
  private scheduleFlush;
533
575
  private submitSummaryMessage;
@@ -564,7 +606,7 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
564
606
  * overridden via options.
565
607
  */
566
608
  private fetchLatestSnapshotFromStorage;
567
- getPendingLocalState(props?: IGetPendingLocalStateProps): Promise<unknown>;
609
+ getPendingLocalState(props?: IGetPendingLocalStateProps): unknown;
568
610
  summarizeOnDemand(options: IOnDemandSummarizeOptions): ISummarizeResults;
569
611
  enqueueSummarize(options: IEnqueueSummarizeOptions): EnqueueSummarizeResult;
570
612
  /**
@@ -582,6 +624,8 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
582
624
  */
583
625
  export declare const DefaultSummaryConfiguration: ISummaryConfiguration;
584
626
 
627
+ /* Excluded from this release type: detectOutboundReferences */
628
+
585
629
  /**
586
630
  * @alpha
587
631
  */
@@ -653,8 +697,6 @@ export declare type GCNodeType = (typeof GCNodeType)[keyof typeof GCNodeType];
653
697
  */
654
698
  export declare type GCVersion = number;
655
699
 
656
- /* Excluded from this release type: generateStableId */
657
-
658
700
  /**
659
701
  * A single summary which has already been acked by the server.
660
702
  * @alpha
@@ -779,7 +821,7 @@ export declare interface IContainerRuntimeMetadata extends ICreateContainerMetad
779
821
  /** GUID to identify a document in telemetry */
780
822
  readonly telemetryDocumentId?: string;
781
823
  /** True if the runtime IdCompressor is enabled */
782
- readonly idCompressorEnabled?: boolean;
824
+ readonly idCompressorMode?: IdCompressorMode;
783
825
  }
784
826
 
785
827
  /**
@@ -838,7 +880,7 @@ export declare interface IContainerRuntimeOptions {
838
880
  * Enable the IdCompressor in the runtime.
839
881
  * @experimental Not ready for use.
840
882
  */
841
- readonly enableRuntimeIdCompressor?: boolean;
883
+ readonly enableRuntimeIdCompressor?: IdCompressorMode;
842
884
  /**
843
885
  * If enabled, the runtime will block all attempts to send an op inside the
844
886
  * {@link ContainerRuntime#ensureNoDataModelChanges} callback. The callback is used by
@@ -872,6 +914,20 @@ export declare interface ICreateContainerMetadata {
872
914
  createContainerTimestamp?: number;
873
915
  }
874
916
 
917
+ /**
918
+ * ID Compressor mode.
919
+ * "on" - compressor is On. It's loaded as part of container load. This mode is sticky - once on, compressor is On for all
920
+ * sessions for a given document. This results in IContainerRuntime.idCompressor to be always available.
921
+ * "delayed" - ID compressor bundle is loaded only on establishing of first delta connection, i.e. it does not impact boot of cotnainer.
922
+ * In such mode IContainerRuntime.idCompressor is not made available (unless previous sessions of same document had it "On").
923
+ * The only thing that is available is IContainerRuntime.generateDocumentUniqueId() that provides opportunistically short IDs.
924
+ * "off" - ID compressor is not laoded (unless it is "on" due to previous session for same document having it "on").
925
+ * While IContainerRuntime.generateDocumentUniqueId() is available, it will produce long IDs that are do not compress well.
926
+ *
927
+ * @alpha
928
+ */
929
+ export declare type IdCompressorMode = "on" | "delayed" | "off";
930
+
875
931
  /**
876
932
  * Options to use when enqueueing a summarize attempt.
877
933
  * @alpha
@@ -1125,8 +1181,6 @@ export declare interface ISerializedElection {
1125
1181
 
1126
1182
  /* Excluded from this release type: isRuntimeMessage */
1127
1183
 
1128
- /* Excluded from this release type: isStableId */
1129
-
1130
1184
  /**
1131
1185
  * Results of submitSummary after submitting the summarize op.
1132
1186
  * @alpha
@@ -1149,6 +1203,8 @@ export declare interface ISubmitSummaryOptions extends ISummarizeOptions {
1149
1203
  readonly cancellationToken: ISummaryCancellationToken;
1150
1204
  /** Summarization may be attempted multiple times. This tells whether this is the final summarization attempt. */
1151
1205
  readonly finalAttempt?: boolean;
1206
+ /** The sequence number of the latest summary used to validate if summary state is correct before summarizing */
1207
+ readonly latestSummaryRefSeqNum: number;
1152
1208
  }
1153
1209
 
1154
1210
  /**
@@ -1187,7 +1243,7 @@ export declare interface ISummarizer extends IEventProvider<ISummarizerEvents> {
1187
1243
  readonly ISummarizer?: ISummarizer;
1188
1244
  stop(reason: SummarizerStopReason): void;
1189
1245
  close(): void;
1190
- run(onBehalfOf: string, disableHeuristics?: boolean): Promise<SummarizerStopReason>;
1246
+ run(onBehalfOf: string): Promise<SummarizerStopReason>;
1191
1247
  /**
1192
1248
  * Attempts to generate a summary on demand. If already running, takes no action.
1193
1249
  * @param options - options controlling the summarize attempt
@@ -1599,7 +1655,7 @@ export declare type SummarizeResultPart<TSuccess, TFailure = undefined> = {
1599
1655
  * @alpha
1600
1656
  */
1601
1657
  export declare type SummarizerStopReason =
1602
- /** Summarizer client failed to summarize in all 3 consecutive attempts. */
1658
+ /** Summarizer client failed to summarize in all attempts. */
1603
1659
  "failToSummarize"
1604
1660
  /** Parent client reported that it is no longer connected. */
1605
1661
  | "parentNotConnected"
@@ -1690,6 +1746,8 @@ export declare type SummaryStage = SubmitSummaryResult["stage"] | "unknown";
1690
1746
  */
1691
1747
  export declare const TombstoneResponseHeaderKey = "isTombstoned";
1692
1748
 
1749
+ /* Excluded from this release type: UnknownContainerRuntimeMessage */
1750
+
1693
1751
  /* Excluded from this release type: unpackRuntimeMessage */
1694
1752
 
1695
1753
  export { }
@@ -1,10 +1,9 @@
1
- import { assertIsStableId } from '@fluidframework/id-compressor';
2
1
  import { AttachState } from '@fluidframework/container-definitions';
3
2
  import { ContainerWarning } from '@fluidframework/container-definitions';
3
+ import { CreateChildSummarizerNodeParam } from '@fluidframework/runtime-definitions';
4
4
  import { FluidDataStoreRegistryEntry } from '@fluidframework/runtime-definitions';
5
5
  import { FluidObject } from '@fluidframework/core-interfaces';
6
6
  import { FlushMode } from '@fluidframework/runtime-definitions';
7
- import { generateStableId } from '@fluidframework/id-compressor';
8
7
  import { IAudience } from '@fluidframework/container-definitions';
9
8
  import { IClientDetails } from '@fluidframework/protocol-definitions';
10
9
  import { IContainerContext } from '@fluidframework/container-definitions';
@@ -16,9 +15,13 @@ import { IDeltaManager } from '@fluidframework/container-definitions';
16
15
  import { IDisposable } from '@fluidframework/core-interfaces';
17
16
  import { IDocumentMessage } from '@fluidframework/protocol-definitions';
18
17
  import { IDocumentStorageService } from '@fluidframework/driver-definitions';
18
+ import { IEnvelope } from '@fluidframework/runtime-definitions';
19
19
  import { IEvent } from '@fluidframework/core-interfaces';
20
20
  import { IEventProvider } from '@fluidframework/core-interfaces';
21
+ import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions';
22
+ import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions';
21
23
  import { IFluidDataStoreContextDetached } from '@fluidframework/runtime-definitions';
24
+ import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
22
25
  import { IFluidDataStoreRegistry } from '@fluidframework/runtime-definitions';
23
26
  import { IFluidHandle } from '@fluidframework/core-interfaces';
24
27
  import { IFluidHandleContext } from '@fluidframework/core-interfaces';
@@ -26,7 +29,6 @@ import { IGarbageCollectionData } from '@fluidframework/runtime-definitions';
26
29
  import { IGetPendingLocalStateProps } from '@fluidframework/container-definitions';
27
30
  import type { IIdCompressor } from '@fluidframework/id-compressor';
28
31
  import type { IIdCompressorCore } from '@fluidframework/id-compressor';
29
- import { ILoaderOptions } from '@fluidframework/container-definitions';
30
32
  import { IProvideFluidHandleContext } from '@fluidframework/core-interfaces';
31
33
  import { IQuorumClients } from '@fluidframework/protocol-definitions';
32
34
  import { IRequest } from '@fluidframework/core-interfaces';
@@ -34,7 +36,8 @@ import { IResponse } from '@fluidframework/core-interfaces';
34
36
  import { IRuntime } from '@fluidframework/container-definitions';
35
37
  import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
36
38
  import { ISignalMessage } from '@fluidframework/protocol-definitions';
37
- import { isStableId } from '@fluidframework/id-compressor';
39
+ import { ISnapshotTree } from '@fluidframework/protocol-definitions';
40
+ import { ISummarizerNodeWithGC } from '@fluidframework/runtime-definitions';
38
41
  import { ISummaryAck } from '@fluidframework/protocol-definitions';
39
42
  import { ISummaryContent } from '@fluidframework/protocol-definitions';
40
43
  import { ISummaryNack } from '@fluidframework/protocol-definitions';
@@ -45,6 +48,7 @@ import { ITelemetryContext } from '@fluidframework/runtime-definitions';
45
48
  import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
46
49
  import { MessageType } from '@fluidframework/protocol-definitions';
47
50
  import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions';
51
+ import { SummarizeInternalFn } from '@fluidframework/runtime-definitions';
48
52
  import { TypedEventEmitter } from '@fluid-internal/client-utils';
49
53
 
50
54
  /* Excluded from this release type: agentSchedulerId */
@@ -53,7 +57,7 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
53
57
 
54
58
  /* Excluded from this release type: AllowTombstoneRequestHeaderKey */
55
59
 
56
- /* Excluded from this release type: assertIsStableId */
60
+ /* Excluded from this release type: ChannelCollectionFactory */
57
61
 
58
62
  /* Excluded from this release type: CompatModeBehavior */
59
63
 
@@ -67,8 +71,12 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
67
71
 
68
72
  /* Excluded from this release type: ContainerWarning */
69
73
 
74
+ /* Excluded from this release type: CreateChildSummarizerNodeParam */
75
+
70
76
  /* Excluded from this release type: DefaultSummaryConfiguration */
71
77
 
78
+ /* Excluded from this release type: detectOutboundReferences */
79
+
72
80
  /* Excluded from this release type: EnqueueSummarizeResult */
73
81
 
74
82
  /* Excluded from this release type: FluidDataStoreRegistry */
@@ -83,8 +91,6 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
83
91
 
84
92
  /* Excluded from this release type: GCVersion */
85
93
 
86
- /* Excluded from this release type: generateStableId */
87
-
88
94
  /* Excluded from this release type: IAckedSummary */
89
95
 
90
96
  /* Excluded from this release type: IAckSummaryResult */
@@ -123,12 +129,22 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
123
129
 
124
130
  /* Excluded from this release type: IDataStore */
125
131
 
132
+ /* Excluded from this release type: IdCompressorMode */
133
+
126
134
  /* Excluded from this release type: IDocumentStorageService */
127
135
 
128
136
  /* Excluded from this release type: IEnqueueSummarizeOptions */
129
137
 
138
+ /* Excluded from this release type: IEnvelope */
139
+
140
+ /* Excluded from this release type: IFluidDataStoreChannel */
141
+
142
+ /* Excluded from this release type: IFluidDataStoreContext */
143
+
130
144
  /* Excluded from this release type: IFluidDataStoreContextDetached */
131
145
 
146
+ /* Excluded from this release type: IFluidDataStoreFactory */
147
+
132
148
  /* Excluded from this release type: IFluidDataStoreRegistry */
133
149
 
134
150
  /* Excluded from this release type: IGCMetadata */
@@ -163,8 +179,6 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
163
179
 
164
180
  /* Excluded from this release type: isRuntimeMessage */
165
181
 
166
- /* Excluded from this release type: isStableId */
167
-
168
182
  /* Excluded from this release type: ISubmitSummaryOpResult */
169
183
 
170
184
  /* Excluded from this release type: ISubmitSummaryOptions */
@@ -233,6 +247,8 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
233
247
 
234
248
  /* Excluded from this release type: SubmitSummaryResult */
235
249
 
250
+ /* Excluded from this release type: SummarizeInternalFn */
251
+
236
252
  /* Excluded from this release type: Summarizer */
237
253
 
238
254
  /* Excluded from this release type: SummarizeResultPart */
@@ -245,6 +261,8 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
245
261
 
246
262
  /* Excluded from this release type: TombstoneResponseHeaderKey */
247
263
 
264
+ /* Excluded from this release type: UnknownContainerRuntimeMessage */
265
+
248
266
  /* Excluded from this release type: unpackRuntimeMessage */
249
267
 
250
268
  export { }
@@ -1,10 +1,9 @@
1
- import { assertIsStableId } from '@fluidframework/id-compressor';
2
1
  import { AttachState } from '@fluidframework/container-definitions';
3
2
  import { ContainerWarning } from '@fluidframework/container-definitions';
3
+ import { CreateChildSummarizerNodeParam } from '@fluidframework/runtime-definitions';
4
4
  import { FluidDataStoreRegistryEntry } from '@fluidframework/runtime-definitions';
5
5
  import { FluidObject } from '@fluidframework/core-interfaces';
6
6
  import { FlushMode } from '@fluidframework/runtime-definitions';
7
- import { generateStableId } from '@fluidframework/id-compressor';
8
7
  import { IAudience } from '@fluidframework/container-definitions';
9
8
  import { IClientDetails } from '@fluidframework/protocol-definitions';
10
9
  import { IContainerContext } from '@fluidframework/container-definitions';
@@ -16,9 +15,13 @@ import { IDeltaManager } from '@fluidframework/container-definitions';
16
15
  import { IDisposable } from '@fluidframework/core-interfaces';
17
16
  import { IDocumentMessage } from '@fluidframework/protocol-definitions';
18
17
  import { IDocumentStorageService } from '@fluidframework/driver-definitions';
18
+ import { IEnvelope } from '@fluidframework/runtime-definitions';
19
19
  import { IEvent } from '@fluidframework/core-interfaces';
20
20
  import { IEventProvider } from '@fluidframework/core-interfaces';
21
+ import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions';
22
+ import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions';
21
23
  import { IFluidDataStoreContextDetached } from '@fluidframework/runtime-definitions';
24
+ import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
22
25
  import { IFluidDataStoreRegistry } from '@fluidframework/runtime-definitions';
23
26
  import { IFluidHandle } from '@fluidframework/core-interfaces';
24
27
  import { IFluidHandleContext } from '@fluidframework/core-interfaces';
@@ -26,7 +29,6 @@ import { IGarbageCollectionData } from '@fluidframework/runtime-definitions';
26
29
  import { IGetPendingLocalStateProps } from '@fluidframework/container-definitions';
27
30
  import type { IIdCompressor } from '@fluidframework/id-compressor';
28
31
  import type { IIdCompressorCore } from '@fluidframework/id-compressor';
29
- import { ILoaderOptions } from '@fluidframework/container-definitions';
30
32
  import { IProvideFluidHandleContext } from '@fluidframework/core-interfaces';
31
33
  import { IQuorumClients } from '@fluidframework/protocol-definitions';
32
34
  import { IRequest } from '@fluidframework/core-interfaces';
@@ -34,7 +36,8 @@ import { IResponse } from '@fluidframework/core-interfaces';
34
36
  import { IRuntime } from '@fluidframework/container-definitions';
35
37
  import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
36
38
  import { ISignalMessage } from '@fluidframework/protocol-definitions';
37
- import { isStableId } from '@fluidframework/id-compressor';
39
+ import { ISnapshotTree } from '@fluidframework/protocol-definitions';
40
+ import { ISummarizerNodeWithGC } from '@fluidframework/runtime-definitions';
38
41
  import { ISummaryAck } from '@fluidframework/protocol-definitions';
39
42
  import { ISummaryContent } from '@fluidframework/protocol-definitions';
40
43
  import { ISummaryNack } from '@fluidframework/protocol-definitions';
@@ -45,6 +48,7 @@ import { ITelemetryContext } from '@fluidframework/runtime-definitions';
45
48
  import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
46
49
  import { MessageType } from '@fluidframework/protocol-definitions';
47
50
  import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions';
51
+ import { SummarizeInternalFn } from '@fluidframework/runtime-definitions';
48
52
  import { TypedEventEmitter } from '@fluid-internal/client-utils';
49
53
 
50
54
  /* Excluded from this release type: agentSchedulerId */
@@ -53,7 +57,7 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
53
57
 
54
58
  /* Excluded from this release type: AllowTombstoneRequestHeaderKey */
55
59
 
56
- /* Excluded from this release type: assertIsStableId */
60
+ /* Excluded from this release type: ChannelCollectionFactory */
57
61
 
58
62
  /* Excluded from this release type: CompatModeBehavior */
59
63
 
@@ -67,8 +71,12 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
67
71
 
68
72
  /* Excluded from this release type: ContainerWarning */
69
73
 
74
+ /* Excluded from this release type: CreateChildSummarizerNodeParam */
75
+
70
76
  /* Excluded from this release type: DefaultSummaryConfiguration */
71
77
 
78
+ /* Excluded from this release type: detectOutboundReferences */
79
+
72
80
  /* Excluded from this release type: EnqueueSummarizeResult */
73
81
 
74
82
  /* Excluded from this release type: FluidDataStoreRegistry */
@@ -83,8 +91,6 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
83
91
 
84
92
  /* Excluded from this release type: GCVersion */
85
93
 
86
- /* Excluded from this release type: generateStableId */
87
-
88
94
  /* Excluded from this release type: IAckedSummary */
89
95
 
90
96
  /* Excluded from this release type: IAckSummaryResult */
@@ -123,12 +129,22 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
123
129
 
124
130
  /* Excluded from this release type: IDataStore */
125
131
 
132
+ /* Excluded from this release type: IdCompressorMode */
133
+
126
134
  /* Excluded from this release type: IDocumentStorageService */
127
135
 
128
136
  /* Excluded from this release type: IEnqueueSummarizeOptions */
129
137
 
138
+ /* Excluded from this release type: IEnvelope */
139
+
140
+ /* Excluded from this release type: IFluidDataStoreChannel */
141
+
142
+ /* Excluded from this release type: IFluidDataStoreContext */
143
+
130
144
  /* Excluded from this release type: IFluidDataStoreContextDetached */
131
145
 
146
+ /* Excluded from this release type: IFluidDataStoreFactory */
147
+
132
148
  /* Excluded from this release type: IFluidDataStoreRegistry */
133
149
 
134
150
  /* Excluded from this release type: IGCMetadata */
@@ -163,8 +179,6 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
163
179
 
164
180
  /* Excluded from this release type: isRuntimeMessage */
165
181
 
166
- /* Excluded from this release type: isStableId */
167
-
168
182
  /* Excluded from this release type: ISubmitSummaryOpResult */
169
183
 
170
184
  /* Excluded from this release type: ISubmitSummaryOptions */
@@ -233,6 +247,8 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
233
247
 
234
248
  /* Excluded from this release type: SubmitSummaryResult */
235
249
 
250
+ /* Excluded from this release type: SummarizeInternalFn */
251
+
236
252
  /* Excluded from this release type: Summarizer */
237
253
 
238
254
  /* Excluded from this release type: SummarizeResultPart */
@@ -245,6 +261,8 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
245
261
 
246
262
  /* Excluded from this release type: TombstoneResponseHeaderKey */
247
263
 
264
+ /* Excluded from this release type: UnknownContainerRuntimeMessage */
265
+
248
266
  /* Excluded from this release type: unpackRuntimeMessage */
249
267
 
250
268
  export { }