@fluidframework/container-runtime 2.0.0-dev-rc.1.0.0.232845 → 2.0.0-dev-rc.2.0.0.245554

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