m0saic 0.2.2 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. package/LICENSE +22 -7
  2. package/README.md +23 -5
  3. package/dist/browseE2e.js +1 -1
  4. package/dist/connectionsFromEnv.js +1 -1
  5. package/dist/e2eTemplateVariants.js +1 -1
  6. package/dist/frontDoor.js +1 -1
  7. package/dist/index.js +1 -1
  8. package/dist/inlineDsl.js +1 -1
  9. package/dist/mcp/bridgeClient.js +1 -0
  10. package/dist/mcp/server.js +1 -0
  11. package/dist/mcp/tools.js +1 -0
  12. package/dist/mosaicxRunner.js +1 -1
  13. package/dist/outputPattern.js +1 -1
  14. package/dist/showcaseFeed.js +1 -1
  15. package/dist/templateDoctor.js +1 -1
  16. package/dist/utils/checkFeasibility.js +1 -1
  17. package/dist/utils/collectRenderErrors.js +1 -1
  18. package/dist/utils/enrichImageAlphaFromDoc.js +1 -1
  19. package/dist/utils/ensureFfmpeg.js +1 -1
  20. package/dist/utils/extractLayoutMeta.js +1 -1
  21. package/dist/utils/failureHints.js +1 -1
  22. package/dist/utils/ffmpegProbe.js +1 -1
  23. package/dist/utils/formatM0saicForCli.js +1 -1
  24. package/dist/utils/hashFile.js +1 -1
  25. package/dist/utils/helpGroups.js +1 -1
  26. package/dist/utils/installContext.js +1 -0
  27. package/dist/utils/invocation.js +1 -1
  28. package/dist/utils/licenseActivation.js +1 -0
  29. package/dist/utils/licenseActivationWorker.js +1 -0
  30. package/dist/utils/mosaicSpinner.js +1 -1
  31. package/dist/utils/parseDimensions.js +1 -1
  32. package/dist/utils/pathInfo.js +1 -1
  33. package/dist/utils/readJsonArg.js +1 -1
  34. package/dist/utils/renderOutcome.js +1 -1
  35. package/dist/utils/renderReport.js +1 -1
  36. package/dist/utils/renderSignals.js +1 -1
  37. package/dist/utils/renderWorkspace.js +1 -1
  38. package/dist/utils/reportOutputFormat.js +1 -0
  39. package/dist/utils/setupFfmpeg.js +1 -1
  40. package/dist/utils/telemetry.js +1 -1
  41. package/dist/utils/telemetryFlushWorker.js +1 -1
  42. package/dist/utils/telemetryUpstream.js +1 -1
  43. package/dist/utils/telemetryUsage.js +1 -1
  44. package/dist/utils/toolchainConfig.js +1 -1
  45. package/dist/utils/tutorialDuration.js +1 -1
  46. package/dist/utils/updateCheck.js +1 -1
  47. package/dist/utils/updateCheckWorker.js +1 -1
  48. package/dist/utils/validateSourceCounts.js +1 -1
  49. package/dist/utils/versions.js +1 -1
  50. package/dist/webCustomizeLink.js +1 -1
  51. package/node_modules/@m0saic/community-m/NOTICE +9 -0
  52. package/node_modules/@m0saic/community-m/release.json +2 -2
  53. package/node_modules/@m0saic/core/dist/core/buildChildMosaicSource.js +1 -1
  54. package/node_modules/@m0saic/core/dist/core/buildChunkCommands.js +1 -1
  55. package/node_modules/@m0saic/core/dist/core/buildEncodeCommands.js +1 -1
  56. package/node_modules/@m0saic/core/dist/core/buildLavfiSource.js +1 -1
  57. package/node_modules/@m0saic/core/dist/core/buildMediaSource.js +1 -1
  58. package/node_modules/@m0saic/core/dist/core/buildMosaicNode.js +1 -1
  59. package/node_modules/@m0saic/core/dist/core/buildMosaicPlanFromFile.js +1 -1
  60. package/node_modules/@m0saic/core/dist/core/buildSvgTextSource.js +1 -1
  61. package/node_modules/@m0saic/core/dist/core/buildTextRenderCommand.js +1 -1
  62. package/node_modules/@m0saic/core/dist/core/collectRefTargets.js +1 -1
  63. package/node_modules/@m0saic/core/dist/core/index.js +1 -1
  64. package/node_modules/@m0saic/core/dist/core/maskCacheDir.js +1 -1
  65. package/node_modules/@m0saic/core/dist/core/maskWorkerBridge.js +1 -1
  66. package/node_modules/@m0saic/core/dist/core/playbackPlaySpeed.js +1 -1
  67. package/node_modules/@m0saic/core/dist/core/prepareProps.js +1 -1
  68. package/node_modules/@m0saic/core/dist/core/primaryOutput.js +1 -1
  69. package/node_modules/@m0saic/core/dist/core/rasterizeMaskPng.js +1 -1
  70. package/node_modules/@m0saic/core/dist/core/rasterizeSvgMediaPng.js +1 -1
  71. package/node_modules/@m0saic/core/dist/core/refTargetTap.js +1 -1
  72. package/node_modules/@m0saic/core/dist/core/resolveMasks.js +1 -1
  73. package/node_modules/@m0saic/core/dist/core/resolveMasksSync.js +1 -1
  74. package/node_modules/@m0saic/core/dist/core/resolveStrokeRingsSync.js +1 -1
  75. package/node_modules/@m0saic/core/dist/core/roundedRectMask.js +1 -1
  76. package/node_modules/@m0saic/core/dist/core/strokeRing.js +1 -1
  77. package/node_modules/@m0saic/core/dist/core/svgRaster.js +1 -1
  78. package/node_modules/@m0saic/core/dist/defaults.js +1 -1
  79. package/node_modules/@m0saic/core/dist/ffmpeg/backgroundImageInput.js +1 -1
  80. package/node_modules/@m0saic/core/dist/ffmpeg/bufferGuard.js +1 -1
  81. package/node_modules/@m0saic/core/dist/ffmpeg/ffmpegCommands.js +1 -1
  82. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyBackdropBlur.js +1 -1
  83. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyBlur.js +1 -1
  84. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyBorderRadius.js +1 -1
  85. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyCamera.js +1 -1
  86. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyChromaKey.js +1 -1
  87. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyFade.js +1 -1
  88. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyGrade.js +1 -1
  89. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyMask.js +1 -1
  90. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyNoise.js +1 -1
  91. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyPixelize.js +1 -1
  92. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyRotate.js +1 -1
  93. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyStroke.js +1 -1
  94. package/node_modules/@m0saic/core/dist/ffmpeg/filters/applyTileEffects.js +1 -1
  95. package/node_modules/@m0saic/core/dist/ffmpeg/filters/coverCrop.js +1 -1
  96. package/node_modules/@m0saic/core/dist/ffmpeg/filters/index.js +1 -1
  97. package/node_modules/@m0saic/core/dist/ffmpeg/filters/sourceRectCrop.js +1 -1
  98. package/node_modules/@m0saic/core/dist/ffmpeg/gridLowering.js +1 -1
  99. package/node_modules/@m0saic/core/dist/ffmpeg/index.js +1 -1
  100. package/node_modules/@m0saic/core/dist/ffmpeg/splitAvMux.js +1 -1
  101. package/node_modules/@m0saic/core/dist/ffmpeg/threadGuard.js +1 -1
  102. package/node_modules/@m0saic/core/dist/flatten/index.js +1 -1
  103. package/node_modules/@m0saic/core/dist/fs/index.js +1 -1
  104. package/node_modules/@m0saic/core/dist/fs/tempWorkspace.js +1 -1
  105. package/node_modules/@m0saic/core/dist/index.js +1 -1
  106. package/node_modules/@m0saic/core/dist/media/buildAssetManifestFromInputs.js +1 -1
  107. package/node_modules/@m0saic/core/dist/media/buildMediaRegistryFromInput.js +1 -1
  108. package/node_modules/@m0saic/core/dist/media/collectMediaInputsFromInvocationProps.js +1 -1
  109. package/node_modules/@m0saic/core/dist/media/collectMediaInputsFromMosaicRenderableFile.js +1 -1
  110. package/node_modules/@m0saic/core/dist/media/collectMediaInputsFromProps.js +1 -1
  111. package/node_modules/@m0saic/core/dist/media/index.js +1 -1
  112. package/node_modules/@m0saic/core/dist/media/internalMintAsset.js +1 -1
  113. package/node_modules/@m0saic/core/dist/media/remoteUrl.js +1 -1
  114. package/node_modules/@m0saic/core/dist/media/stageUnsafeFilenames.js +1 -1
  115. package/node_modules/@m0saic/core/dist/media/types.js +1 -1
  116. package/node_modules/@m0saic/core/dist/output/index.js +1 -1
  117. package/node_modules/@m0saic/core/dist/output/resolveOutputFormat.js +1 -1
  118. package/node_modules/@m0saic/core/dist/output/types.js +1 -1
  119. package/node_modules/@m0saic/core/dist/probe/cellLuminanceProbe.js +1 -1
  120. package/node_modules/@m0saic/core/dist/probe/extractSubtitleCues.js +1 -1
  121. package/node_modules/@m0saic/core/dist/probe/helpers.js +1 -1
  122. package/node_modules/@m0saic/core/dist/probe/index.js +1 -1
  123. package/node_modules/@m0saic/core/dist/probe/luminanceProbe.js +1 -1
  124. package/node_modules/@m0saic/core/dist/probe/probeMedia.js +1 -1
  125. package/node_modules/@m0saic/core/dist/probe/runFFprobe.js +1 -1
  126. package/node_modules/@m0saic/core/dist/probe/types.js +1 -1
  127. package/node_modules/@m0saic/core/dist/runtime/engineRedaction.js +1 -1
  128. package/node_modules/@m0saic/core/dist/runtime/ffmpegFailure.js +1 -1
  129. package/node_modules/@m0saic/core/dist/runtime/filterPreflight.js +1 -1
  130. package/node_modules/@m0saic/core/dist/runtime/hashFile.js +1 -1
  131. package/node_modules/@m0saic/core/dist/runtime/index.js +1 -1
  132. package/node_modules/@m0saic/core/dist/runtime/pathInfo.js +1 -1
  133. package/node_modules/@m0saic/core/dist/runtime/perfHeatmap.js +1 -1
  134. package/node_modules/@m0saic/core/dist/runtime/perfReport.js +1 -1
  135. package/node_modules/@m0saic/core/dist/runtime/pipelineM0p.js +1 -1
  136. package/node_modules/@m0saic/core/dist/runtime/renderCostModel.constants.js +1 -1
  137. package/node_modules/@m0saic/core/dist/runtime/renderCostModel.js +1 -1
  138. package/node_modules/@m0saic/core/dist/runtime/renderReport.js +1 -1
  139. package/node_modules/@m0saic/core/dist/runtime/renderSidecars.js +1 -1
  140. package/node_modules/@m0saic/core/dist/runtime/resolveMosaicx.js +1 -1
  141. package/node_modules/@m0saic/core/dist/runtime/runPlan.js +1 -1
  142. package/node_modules/@m0saic/core/dist/runtime/types.js +1 -1
  143. package/node_modules/@m0saic/core/dist/runtime/upstream.js +1 -1
  144. package/node_modules/@m0saic/core/dist/runtime/writeSidecars.js +1 -1
  145. package/node_modules/@m0saic/core/dist/types/chunk.js +1 -1
  146. package/node_modules/@m0saic/core/dist/types/index.js +1 -1
  147. package/node_modules/@m0saic/core/dist/types/mosaic-plan.js +1 -1
  148. package/node_modules/@m0saic/core/dist/utils/assertTiming.js +1 -1
  149. package/node_modules/@m0saic/core/dist/utils/command.js +1 -1
  150. package/node_modules/@m0saic/core/dist/utils/createEngineContext.js +1 -1
  151. package/node_modules/@m0saic/core/dist/utils/createTemplateRenderCache.js +1 -1
  152. package/node_modules/@m0saic/core/dist/utils/ffmpegColor.js +1 -1
  153. package/node_modules/@m0saic/core/dist/utils/formatDuration.js +1 -1
  154. package/node_modules/@m0saic/core/dist/utils/fsSafeId.js +1 -1
  155. package/node_modules/@m0saic/core/dist/utils/index.js +1 -1
  156. package/node_modules/@m0saic/core/dist/utils/lowerRenderableToMosaicDocument.js +1 -1
  157. package/node_modules/@m0saic/core/dist/utils/movSafeCodec.js +1 -1
  158. package/node_modules/@m0saic/core/dist/utils/resolveBoxFrac.js +1 -1
  159. package/node_modules/@m0saic/core/dist/validate/index.js +1 -1
  160. package/node_modules/@m0saic/core/scripts/mask-rasterize-core.js +1 -1
  161. package/node_modules/@m0saic/core/scripts/mask-rasterize-worker.js +1 -1
  162. package/node_modules/@m0saic/core/scripts/mask-worker-thread.js +1 -1
  163. package/node_modules/@m0saic/dictionary/NOTICE +9 -0
  164. package/node_modules/@m0saic/dictionary/README.md +315 -0
  165. package/node_modules/@m0saic/dictionary/package.json +1 -1
  166. package/node_modules/@m0saic/dsl/package.json +1 -1
  167. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/agent.js +6 -0
  168. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0/parseM0File.js +1 -1
  169. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0/serializeM0File.js +2 -2
  170. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/m0c/m0cFile.js +3 -3
  171. package/node_modules/@m0saic/dsl-file-formats/dist/cjs/types.js +1 -1
  172. package/node_modules/@m0saic/dsl-file-formats/package.json +1 -1
  173. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/bakeM0cInsets.js +1 -0
  174. package/node_modules/@m0saic/dsl-stdlib/dist/cjs/builders/index.js +1 -1
  175. package/node_modules/@m0saic/dsl-stdlib/package.json +1 -1
  176. package/node_modules/@m0saic/knowledge/LICENSE +21 -0
  177. package/node_modules/@m0saic/knowledge/README.md +71 -0
  178. package/node_modules/@m0saic/knowledge/dist/index.js +1 -0
  179. package/node_modules/@m0saic/knowledge/docs/README.md +60 -0
  180. package/node_modules/@m0saic/knowledge/docs/file-formats/m0-iteration-protocol.md +120 -0
  181. package/node_modules/@m0saic/knowledge/docs/file-formats/m0p-and-custom-field.md +195 -0
  182. package/node_modules/@m0saic/knowledge/docs/handbook/README.md +27 -0
  183. package/node_modules/@m0saic/knowledge/docs/handbook/composition-arithmetic.md +278 -0
  184. package/node_modules/@m0saic/knowledge/docs/handbook/dsl-complexity.md +75 -0
  185. package/node_modules/@m0saic/knowledge/docs/handbook/dsl-rules.md +367 -0
  186. package/node_modules/@m0saic/knowledge/docs/handbook/feasibility-precision-quantization.md +591 -0
  187. package/node_modules/@m0saic/knowledge/docs/handbook/m0-construction-methods.md +201 -0
  188. package/node_modules/@m0saic/knowledge/docs/handbook/precision-tiers.md +84 -0
  189. package/node_modules/@m0saic/knowledge/docs/m0saic-thesis.md +95 -0
  190. package/node_modules/@m0saic/knowledge/docs/runtime/README.md +24 -0
  191. package/node_modules/@m0saic/knowledge/docs/runtime/agent-at-the-canvas.md +108 -0
  192. package/node_modules/@m0saic/knowledge/docs/runtime/cli-usage.md +475 -0
  193. package/node_modules/@m0saic/knowledge/docs/runtime/ffmpeg-expression-limits.md +117 -0
  194. package/node_modules/@m0saic/knowledge/docs/runtime/reduce-to-one.md +96 -0
  195. package/node_modules/@m0saic/knowledge/docs/skills/README.md +40 -0
  196. package/node_modules/@m0saic/knowledge/docs/skills/axis-and-geometry.md +103 -0
  197. package/node_modules/@m0saic/knowledge/docs/skills/dsl-stdlib-method-catalog.md +7 -0
  198. package/node_modules/@m0saic/knowledge/docs/skills/identity.md +123 -0
  199. package/node_modules/@m0saic/knowledge/docs/skills/labels-and-masks.md +170 -0
  200. package/node_modules/@m0saic/knowledge/docs/skills/m0saic-string-generation.md +251 -0
  201. package/node_modules/@m0saic/knowledge/docs/skills/more-atoms-not-bigger-atoms.md +77 -0
  202. package/node_modules/@m0saic/knowledge/docs/skills/overlay-semantics.md +194 -0
  203. package/node_modules/@m0saic/knowledge/docs/skills/parse-apis.md +79 -0
  204. package/node_modules/@m0saic/knowledge/docs/skills/passthrough-semantics.md +136 -0
  205. package/node_modules/@m0saic/knowledge/docs/skills/structural-construction.md +86 -0
  206. package/node_modules/@m0saic/knowledge/docs/skills/text-in-templates.md +126 -0
  207. package/node_modules/@m0saic/knowledge/docs/skills/zero-overlay-analysis.md +87 -0
  208. package/node_modules/@m0saic/knowledge/docs/templates/README.md +65 -0
  209. package/node_modules/@m0saic/knowledge/docs/templates/capability-templates.md +72 -0
  210. package/node_modules/@m0saic/knowledge/docs/templates/construction-strategy.md +329 -0
  211. package/node_modules/@m0saic/knowledge/docs/templates/data-pipeline.md +324 -0
  212. package/node_modules/@m0saic/knowledge/docs/templates/emission-patterns.md +130 -0
  213. package/node_modules/@m0saic/knowledge/docs/templates/geometry-recipes.md +248 -0
  214. package/node_modules/@m0saic/knowledge/docs/templates/layout-contract.md +168 -0
  215. package/node_modules/@m0saic/knowledge/docs/templates/output-resolution-tree.md +210 -0
  216. package/node_modules/@m0saic/knowledge/docs/templates/patterns/case-study-lessons.md +69 -0
  217. package/node_modules/@m0saic/knowledge/docs/templates/patterns/perf-authoring-rules.md +100 -0
  218. package/node_modules/@m0saic/knowledge/docs/templates/patterns/primitive-extraction-pattern.md +103 -0
  219. package/node_modules/@m0saic/knowledge/docs/templates/philosophy-and-contract.md +310 -0
  220. package/node_modules/@m0saic/knowledge/docs/templates/recursion-nested-rendering.md +154 -0
  221. package/node_modules/@m0saic/knowledge/docs/templates/reference/grid.md +104 -0
  222. package/node_modules/@m0saic/knowledge/docs/templates/reference/json-prop-type.md +169 -0
  223. package/node_modules/@m0saic/knowledge/docs/templates/reference/mosaic-color.md +81 -0
  224. package/node_modules/@m0saic/knowledge/docs/templates/reference/mosaic-placement-props.md +103 -0
  225. package/node_modules/@m0saic/knowledge/docs/templates/reference/prop-bindings.md +338 -0
  226. package/node_modules/@m0saic/knowledge/docs/templates/reference/template-flags.md +236 -0
  227. package/node_modules/@m0saic/knowledge/docs/templates/render-lifecycle.md +117 -0
  228. package/node_modules/@m0saic/knowledge/docs/templates/rendering-model-contract.md +392 -0
  229. package/node_modules/@m0saic/knowledge/docs/templates/standalone-pack-authoring.md +309 -0
  230. package/node_modules/@m0saic/knowledge/docs/templates/theming.md +81 -0
  231. package/node_modules/@m0saic/knowledge/docs/templates/ui-controls.md +150 -0
  232. package/node_modules/@m0saic/knowledge/package.json +6 -0
  233. package/node_modules/@m0saic/momo-types/README.md +109 -0
  234. package/node_modules/@m0saic/momo-types/dist/agent.js +1 -6
  235. package/node_modules/@m0saic/momo-types/dist/context.js +1 -1
  236. package/node_modules/@m0saic/momo-types/package.json +1 -1
  237. package/node_modules/@m0saic/platform/README.md +3 -0
  238. package/node_modules/@m0saic/platform/dist/cjs/index.js +1 -1
  239. package/node_modules/@m0saic/platform/dist/cjs/mosaic/outputKind/outputKind.js +1 -1
  240. package/node_modules/@m0saic/platform/dist/cjs/mosaic/propBindings/index.js +1 -1
  241. package/node_modules/@m0saic/platform/dist/cjs/mosaic/propBindings/propBindings.js +1 -1
  242. package/node_modules/@m0saic/platform/dist/cjs/mosaic/validate/validateSources.js +1 -1
  243. package/node_modules/@m0saic/platform/dist/cjs/packages/mosaicPackages.js +1 -0
  244. package/node_modules/@m0saic/platform/dist/cjs/paths/m0saicRoot.js +1 -1
  245. package/node_modules/@m0saic/platform/dist/cjs/telemetry/lifecycle.js +1 -1
  246. package/node_modules/@m0saic/platform/dist/cjs/telemetry/preview.js +1 -1
  247. package/node_modules/@m0saic/platform/dist/cjs/telemetry/sender.js +1 -1
  248. package/node_modules/@m0saic/platform/dist/cjs/telemetry/usageRecorder.js +1 -1
  249. package/node_modules/@m0saic/platform/dist/cjs/telemetry/usageStore.js +3 -3
  250. package/node_modules/@m0saic/platform/dist/cjs/template-repos/index.js +1 -1
  251. package/node_modules/@m0saic/platform/dist/cjs/template-repos/loadTemplateRepoFromPath.js +4 -4
  252. package/node_modules/@m0saic/platform/dist/cjs/template-repos/templateCatalogSidecars.js +2 -0
  253. package/node_modules/@m0saic/platform/dist/cjs/templateCatalog/index.js +1 -0
  254. package/node_modules/@m0saic/platform/dist/cjs/templateCatalog/templateCatalog.js +1 -0
  255. package/node_modules/@m0saic/platform/dist/cjs/toolchain/ffmpeg/baseline.json +25 -97
  256. package/node_modules/@m0saic/platform/dist/cjs/toolchain/ffmpeg/index.js +1 -1
  257. package/node_modules/@m0saic/platform/dist/cjs/toolchain/ffmpeg/install.js +2 -2
  258. package/node_modules/@m0saic/platform/dist/cjs/toolchain/goldenFfmpeg.js +6 -6
  259. package/node_modules/@m0saic/platform/package.json +1 -1
  260. package/node_modules/@m0saic/product/dist/communityRelease.js +1 -1
  261. package/node_modules/@m0saic/product/dist/freeTierLicense.js +1 -1
  262. package/node_modules/@m0saic/product/dist/index.js +1 -1
  263. package/node_modules/@m0saic/product/dist/licenseActivationNotice.js +1 -0
  264. package/node_modules/@m0saic/product/dist/licenseFile.js +1 -0
  265. package/node_modules/@m0saic/product/dist/licenseToken.js +1 -1
  266. package/node_modules/@m0saic/product/dist/makeScratchPath.js +1 -0
  267. package/node_modules/@m0saic/product/dist/postRenderWrapper.js +1 -1
  268. package/node_modules/@m0saic/product/dist/publicKeys.js +1 -1
  269. package/node_modules/@m0saic/product/dist/revokedKeys.js +1 -1
  270. package/node_modules/@m0saic/product/dist/upstreamDefaults.js +1 -1
  271. package/node_modules/@m0saic/product/dist/workspaceScaffold.js +1 -0
  272. package/node_modules/@m0saic/template-utils/dist/brand/hello-world/helloWorld.js +1 -1
  273. package/node_modules/@m0saic/template-utils/dist/geometry-contract/frameResolution.js +1 -1
  274. package/node_modules/@m0saic/template-utils/dist/geometry-contract/index.js +1 -1
  275. package/node_modules/@m0saic/template-utils/dist/geometry-contract/layoutConstraint.js +2 -2
  276. package/node_modules/@m0saic/template-utils/dist/m0saic/loadSession.js +1 -1
  277. package/node_modules/@m0saic/template-utils/dist/render/createDesignContext.js +1 -1
  278. package/node_modules/@m0saic/template-utils/dist/sources/makeErrorMosaic.js +2 -2
  279. package/node_modules/@m0saic/template-utils/dist/sources/svgTextSource.js +1 -1
  280. package/node_modules/@m0saic/template-utils/dist/template/auditRenderedTemplate.js +5 -5
  281. package/node_modules/@m0saic/template-utils/dist/template/auditSchemaConventions.js +1 -1
  282. package/node_modules/@m0saic/template-utils/dist/template/defineMosaicTemplate.js +1 -1
  283. package/node_modules/@m0saic/template-utils/dist/template/resolveTemplateOutputHints.js +1 -1
  284. package/node_modules/@m0saic/template-utils/dist/template/templateCatalogStore.js +1 -0
  285. package/node_modules/@m0saic/template-utils/dist/template/templateConventions.js +4 -4
  286. package/node_modules/@m0saic/template-utils/dist/template/templateRegistry.js +3 -3
  287. package/node_modules/@m0saic/template-utils/dist/template/validateTemplateProps.js +1 -1
  288. package/node_modules/@m0saic/template-utils/dist/text/fitText.js +6 -6
  289. package/node_modules/@m0saic/template-utils/package.json +1 -1
  290. package/node_modules/@m0saic/templates/NOTICE +9 -0
  291. package/node_modules/@m0saic/templates/dist/catalog.js +1 -0
  292. package/node_modules/@m0saic/templates/dist/freeze.js +8 -8
  293. package/node_modules/@m0saic/templates/dist/index.js +1 -1
  294. package/node_modules/@m0saic/templates/dist/m0saic/_shared/canvas-handles.js +1 -0
  295. package/node_modules/@m0saic/templates/dist/m0saic/_shared/stand-in.js +1 -0
  296. package/node_modules/@m0saic/templates/dist/m0saic/agents/commit-feed/index.js +1 -1
  297. package/node_modules/@m0saic/templates/dist/m0saic/agents/commit-feed/v2/commit-feed.js +1 -0
  298. package/node_modules/@m0saic/templates/dist/m0saic/agents/commit-feed/v2/index.js +1 -0
  299. package/node_modules/@m0saic/templates/dist/m0saic/agents/trace-timeline/index.js +1 -1
  300. package/node_modules/@m0saic/templates/dist/m0saic/agents/trace-timeline/v2/index.js +1 -0
  301. package/node_modules/@m0saic/templates/dist/m0saic/agents/trace-timeline/v2/trace-timeline.js +1 -0
  302. package/node_modules/@m0saic/templates/dist/m0saic/alpine/_shared/alpine-conventions.js +1 -0
  303. package/node_modules/@m0saic/templates/dist/m0saic/alpine/bar-graph/v2/bar-graph.js +1 -0
  304. package/node_modules/@m0saic/templates/dist/m0saic/alpine/bar-graph/v2/index.js +1 -0
  305. package/node_modules/@m0saic/templates/dist/m0saic/alpine/commit-feed/v3/commit-feed.js +1 -0
  306. package/node_modules/@m0saic/templates/dist/m0saic/alpine/commit-feed/v3/index.js +1 -0
  307. package/node_modules/@m0saic/templates/dist/m0saic/alpine/contributor-table/v2/contributor-table.js +1 -0
  308. package/node_modules/@m0saic/templates/dist/m0saic/alpine/contributor-table/v2/index.js +1 -0
  309. package/node_modules/@m0saic/templates/dist/m0saic/alpine/donut/v4/donut.js +1 -0
  310. package/node_modules/@m0saic/templates/dist/m0saic/alpine/donut/v4/index.js +1 -0
  311. package/node_modules/@m0saic/templates/dist/m0saic/alpine/heatmap/v3/heatmap.js +1 -0
  312. package/node_modules/@m0saic/templates/dist/m0saic/alpine/heatmap/v3/index.js +1 -0
  313. package/node_modules/@m0saic/templates/dist/m0saic/alpine/index.js +1 -1
  314. package/node_modules/@m0saic/templates/dist/m0saic/alpine/kpi-card/v3/index.js +1 -0
  315. package/node_modules/@m0saic/templates/dist/m0saic/alpine/kpi-card/v3/kpi-card.js +1 -0
  316. package/node_modules/@m0saic/templates/dist/m0saic/alpine/leaderboard/v2/index.js +1 -0
  317. package/node_modules/@m0saic/templates/dist/m0saic/alpine/leaderboard/v2/leaderboard.js +1 -0
  318. package/node_modules/@m0saic/templates/dist/m0saic/alpine/line-chart/v3/index.js +1 -0
  319. package/node_modules/@m0saic/templates/dist/m0saic/alpine/line-chart/v3/line-chart.js +1 -0
  320. package/node_modules/@m0saic/templates/dist/m0saic/alpine/progress-card/v2/index.js +1 -0
  321. package/node_modules/@m0saic/templates/dist/m0saic/alpine/progress-card/v2/progress-card.js +1 -0
  322. package/node_modules/@m0saic/templates/dist/m0saic/alpine/stat-card/v2/index.js +1 -0
  323. package/node_modules/@m0saic/templates/dist/m0saic/alpine/stat-card/v2/stat-card.js +1 -0
  324. package/node_modules/@m0saic/templates/dist/m0saic/alpine/timeline/v3/index.js +1 -0
  325. package/node_modules/@m0saic/templates/dist/m0saic/alpine/timeline/v3/timeline.js +4 -0
  326. package/node_modules/@m0saic/templates/dist/m0saic/alpine/treemap/v3/index.js +1 -0
  327. package/node_modules/@m0saic/templates/dist/m0saic/alpine/treemap/v3/treemap.js +1 -0
  328. package/node_modules/@m0saic/templates/dist/m0saic/benchmark/index.js +1 -1
  329. package/node_modules/@m0saic/templates/dist/m0saic/benchmark/report/v2/index.js +1 -0
  330. package/node_modules/@m0saic/templates/dist/m0saic/benchmark/report/v2/report.js +1 -0
  331. package/node_modules/@m0saic/templates/dist/m0saic/brand/business-card/v2/business-card.js +1 -0
  332. package/node_modules/@m0saic/templates/dist/m0saic/brand/business-card/v2/index.js +1 -0
  333. package/node_modules/@m0saic/templates/dist/m0saic/brand/index.js +1 -1
  334. package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v4/index.js +1 -0
  335. package/node_modules/@m0saic/templates/dist/m0saic/brand/logo/v4/logo_runner.js +1 -0
  336. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v3/bar-graph.js +1 -0
  337. package/node_modules/@m0saic/templates/dist/m0saic/charts/bar-graph/v3/index.js +1 -0
  338. package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v5/donut.js +1 -0
  339. package/node_modules/@m0saic/templates/dist/m0saic/charts/donut/v5/index.js +1 -0
  340. package/node_modules/@m0saic/templates/dist/m0saic/charts/index.js +1 -1
  341. package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v2/index.js +1 -0
  342. package/node_modules/@m0saic/templates/dist/m0saic/charts/line-chart/v2/line-chart.js +1 -0
  343. package/node_modules/@m0saic/templates/dist/m0saic/charts/stat-card/v2/index.js +1 -0
  344. package/node_modules/@m0saic/templates/dist/m0saic/charts/stat-card/v2/stat-card.js +1 -0
  345. package/node_modules/@m0saic/templates/dist/m0saic/code/index.js +1 -1
  346. package/node_modules/@m0saic/templates/dist/m0saic/code/snippet-morph/v2/snippet-morph.js +3 -0
  347. package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v2/image-collage.js +1 -0
  348. package/node_modules/@m0saic/templates/dist/m0saic/collage/image-collage/v2/index.js +1 -0
  349. package/node_modules/@m0saic/templates/dist/m0saic/collage/index.js +1 -1
  350. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/index.js +1 -1
  351. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v2/dsl-tutorial.js +1 -0
  352. package/node_modules/@m0saic/templates/dist/m0saic/dsl-tutorial/v2/index.js +1 -0
  353. package/node_modules/@m0saic/templates/dist/m0saic/github/year-card/index.js +1 -1
  354. package/node_modules/@m0saic/templates/dist/m0saic/github/year-card/v2/index.js +1 -0
  355. package/node_modules/@m0saic/templates/dist/m0saic/github/year-card/v2/year-card.js +1 -0
  356. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/index.js +1 -1
  357. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/runner/v2/index.js +1 -0
  358. package/node_modules/@m0saic/templates/dist/m0saic/hero/ffmpeg-pulse/runner/v2/runner.js +1 -0
  359. package/node_modules/@m0saic/templates/dist/m0saic/media/barcode/v2/barcode.js +1 -0
  360. package/node_modules/@m0saic/templates/dist/m0saic/media/barcode/v2/index.js +1 -0
  361. package/node_modules/@m0saic/templates/dist/m0saic/media/blur-regions/index.js +1 -1
  362. package/node_modules/@m0saic/templates/dist/m0saic/media/blur-regions/v1/tutorial.js +1 -1
  363. package/node_modules/@m0saic/templates/dist/m0saic/media/blur-regions/v2/blur-regions.js +1 -0
  364. package/node_modules/@m0saic/templates/dist/m0saic/media/blur-regions/v2/index.js +1 -0
  365. package/node_modules/@m0saic/templates/dist/m0saic/media/highlights/index.js +1 -1
  366. package/node_modules/@m0saic/templates/dist/m0saic/media/highlights/v2/highlights.js +1 -0
  367. package/node_modules/@m0saic/templates/dist/m0saic/media/highlights/v2/index.js +1 -0
  368. package/node_modules/@m0saic/templates/dist/m0saic/media/index.js +1 -1
  369. package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/index.js +1 -1
  370. package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v2/index.js +1 -0
  371. package/node_modules/@m0saic/templates/dist/m0saic/media/logo-animate/v2/logo-animate.js +1 -0
  372. package/node_modules/@m0saic/templates/dist/m0saic/media/metadata-stamp/index.js +1 -1
  373. package/node_modules/@m0saic/templates/dist/m0saic/media/metadata-stamp/v2/index.js +1 -0
  374. package/node_modules/@m0saic/templates/dist/m0saic/media/metadata-stamp/v2/metadata-stamp.js +1 -0
  375. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/code/v2/index.js +1 -0
  376. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/code/v2/qr-code.js +1 -0
  377. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/index.js +1 -1
  378. package/node_modules/@m0saic/templates/dist/m0saic/media/qr/stamp/v2/qr-stamp-custom.js +1 -0
  379. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/index.js +1 -1
  380. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v3/index.js +1 -0
  381. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid/v3/screencap-grid.js +4 -0
  382. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid_aspect_safe/index.js +1 -1
  383. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid_aspect_safe/v2/index.js +1 -0
  384. package/node_modules/@m0saic/templates/dist/m0saic/media/screencap_grid_aspect_safe/v2/screencap-grid-aspect-safe.js +3 -0
  385. package/node_modules/@m0saic/templates/dist/m0saic/media/scroll_wall/index.js +1 -1
  386. package/node_modules/@m0saic/templates/dist/m0saic/media/scroll_wall/v2/index.js +1 -0
  387. package/node_modules/@m0saic/templates/dist/m0saic/media/scroll_wall/v2/scroll-wall.js +1 -0
  388. package/node_modules/@m0saic/templates/dist/m0saic/media/subtitle-burn/index.js +1 -1
  389. package/node_modules/@m0saic/templates/dist/m0saic/media/subtitle-burn/v2/index.js +1 -0
  390. package/node_modules/@m0saic/templates/dist/m0saic/media/subtitle-burn/v2/subtitle-burn.js +4 -0
  391. package/node_modules/@m0saic/templates/dist/m0saic/media/trickplay/index.js +1 -1
  392. package/node_modules/@m0saic/templates/dist/m0saic/media/trickplay/v2/index.js +1 -0
  393. package/node_modules/@m0saic/templates/dist/m0saic/media/trickplay/v2/trickplay.js +1 -0
  394. package/node_modules/@m0saic/templates/dist/m0saic/media/video_to_png_sequence/index.js +1 -1
  395. package/node_modules/@m0saic/templates/dist/m0saic/media/video_to_png_sequence/v2/index.js +1 -0
  396. package/node_modules/@m0saic/templates/dist/m0saic/media/video_to_png_sequence/v2/video-to-png-sequence.js +1 -0
  397. package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/index.js +1 -1
  398. package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v2/index.js +1 -0
  399. package/node_modules/@m0saic/templates/dist/m0saic/media/watermark/v2/watermark.js +1 -0
  400. package/node_modules/@m0saic/templates/dist/m0saic/primitives/grid/index.js +1 -1
  401. package/node_modules/@m0saic/templates/dist/m0saic/primitives/grid/v3/grid.js +1 -0
  402. package/node_modules/@m0saic/templates/dist/m0saic/social/quote-card/index.js +1 -1
  403. package/node_modules/@m0saic/templates/dist/m0saic/social/quote-card/v2/index.js +1 -0
  404. package/node_modules/@m0saic/templates/dist/m0saic/social/quote-card/v2/quote-card.js +1 -0
  405. package/node_modules/@m0saic/templates/dist/m0saic/story/index.js +1 -1
  406. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/index.js +1 -1
  407. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v2/index.js +1 -0
  408. package/node_modules/@m0saic/templates/dist/m0saic/story/narrated-chapters/v2/narrated-chapters.js +4 -0
  409. package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v2/index.js +1 -0
  410. package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v2/props.js +1 -0
  411. package/node_modules/@m0saic/templates/dist/m0saic/story/scrapbook/v2/scrapbook.js +1 -0
  412. package/node_modules/@m0saic/templates/dist/m0saic/theming/index.js +1 -1
  413. package/node_modules/@m0saic/templates/dist/m0saic/theming/v2/index.js +1 -0
  414. package/node_modules/@m0saic/templates/dist/m0saic/theming/v2/theming.js +1 -0
  415. package/node_modules/@m0saic/templates/dist/m0saic/web/index.js +1 -1
  416. package/node_modules/@m0saic/templates/dist/m0saic/web/page-skeleton/v2/index.js +1 -0
  417. package/node_modules/@m0saic/templates/dist/m0saic/web/page-skeleton/v2/page-skeleton.js +1 -0
  418. package/node_modules/@m0saic/templates/dist/m0saic/wireframe/base/v3/index.js +1 -0
  419. package/node_modules/@m0saic/templates/dist/m0saic/wireframe/base/v3/wireframe.js +1 -0
  420. package/node_modules/@m0saic/templates/dist/m0saic/wireframe/index.js +1 -1
  421. package/node_modules/@m0saic/templates/dist/repo.js +1 -1
  422. package/node_modules/@m0saic/templates/dist/template-catalog.json +5429 -0
  423. package/node_modules/@m0saic/templates/dist/template-registry.js +1 -1
  424. package/node_modules/@m0saic/templates/dist/web.js +1 -1
  425. package/node_modules/@m0saic/templates/package.json +1 -1
  426. package/node_modules/@m0saic/templates/template-catalog.json +5429 -0
  427. package/node_modules/@m0saic/templates/template-manifest.json +1030 -286
  428. package/node_modules/@m0saic/templates/web-template-ids.json +38 -0
  429. package/node_modules/@m0saic/templates-advanced/NOTICE +9 -0
  430. package/node_modules/@m0saic/text/package.json +1 -1
  431. package/node_modules/@m0saic/types/dist/analytics/consent.js +1 -1
  432. package/node_modules/@m0saic/types/dist/analytics/event.js +1 -1
  433. package/node_modules/@m0saic/types/dist/analytics/usageMetrics.js +1 -1
  434. package/node_modules/@m0saic/types/dist/identifiers/identifiers.js +1 -1
  435. package/node_modules/@m0saic/types/dist/telemetry/ffmpegFailure.js +1 -1
  436. package/node_modules/@m0saic/types/dist/template/template.js +1 -1
  437. package/node_modules/@m0saic/types/package.json +1 -1
  438. package/node_modules/@m0saic/types-internal/dist/analytics/featureKeys.js +1 -1
  439. package/package.json +13 -11
  440. package/resources/starter-base/starter-base.json +10 -0
  441. package/resources/starter-base/starter-base.tgz +0 -0
@@ -3,32 +3,48 @@
3
3
  "entryModule": "./dist/web.js",
4
4
  "ids": [
5
5
  "@m0saic/agents/commit-feed/v1",
6
+ "@m0saic/agents/commit-feed/v2",
6
7
  "@m0saic/agents/trace-timeline/v1",
8
+ "@m0saic/agents/trace-timeline/v2",
7
9
  "@m0saic/alpine/bar-graph/v1",
10
+ "@m0saic/alpine/bar-graph/v2",
8
11
  "@m0saic/alpine/commit-feed/v1",
9
12
  "@m0saic/alpine/commit-feed/v2",
13
+ "@m0saic/alpine/commit-feed/v3",
10
14
  "@m0saic/alpine/contributor-table/v1",
15
+ "@m0saic/alpine/contributor-table/v2",
11
16
  "@m0saic/alpine/donut/v1",
12
17
  "@m0saic/alpine/donut/v2",
13
18
  "@m0saic/alpine/donut/v3",
19
+ "@m0saic/alpine/donut/v4",
14
20
  "@m0saic/alpine/heatmap/v1",
15
21
  "@m0saic/alpine/heatmap/v2",
22
+ "@m0saic/alpine/heatmap/v3",
16
23
  "@m0saic/alpine/kpi-card/v1",
17
24
  "@m0saic/alpine/kpi-card/v2",
25
+ "@m0saic/alpine/kpi-card/v3",
18
26
  "@m0saic/alpine/leaderboard/v1",
27
+ "@m0saic/alpine/leaderboard/v2",
19
28
  "@m0saic/alpine/line-chart/v1",
20
29
  "@m0saic/alpine/line-chart/v2",
30
+ "@m0saic/alpine/line-chart/v3",
21
31
  "@m0saic/alpine/progress-card/v1",
32
+ "@m0saic/alpine/progress-card/v2",
22
33
  "@m0saic/alpine/stat-card/v1",
34
+ "@m0saic/alpine/stat-card/v2",
23
35
  "@m0saic/alpine/timeline/v1",
24
36
  "@m0saic/alpine/timeline/v2",
37
+ "@m0saic/alpine/timeline/v3",
25
38
  "@m0saic/alpine/treemap/v1",
26
39
  "@m0saic/alpine/treemap/v2",
40
+ "@m0saic/alpine/treemap/v3",
27
41
  "@m0saic/brand/business-card/v1",
42
+ "@m0saic/brand/business-card/v2",
28
43
  "@m0saic/brand/community-m/v1",
29
44
  "@m0saic/brand/logo/v1",
30
45
  "@m0saic/brand/logo/v2",
31
46
  "@m0saic/brand/logo/v3",
47
+ "@m0saic/brand/logo/v4",
32
48
  "@m0saic/charts/bar-graph/internal/bar-cell/v1",
33
49
  "@m0saic/charts/bar-graph/internal/bar-fill/v1",
34
50
  "@m0saic/charts/bar-graph/internal/bars-stack/v1",
@@ -37,48 +53,70 @@
37
53
  "@m0saic/charts/bar-graph/internal/plot-area/v1",
38
54
  "@m0saic/charts/bar-graph/v1",
39
55
  "@m0saic/charts/bar-graph/v2",
56
+ "@m0saic/charts/bar-graph/v3",
40
57
  "@m0saic/charts/donut/v1",
41
58
  "@m0saic/charts/donut/v2",
42
59
  "@m0saic/charts/donut/v3",
43
60
  "@m0saic/charts/donut/v4",
61
+ "@m0saic/charts/donut/v5",
44
62
  "@m0saic/charts/line-chart/internal/chrome/v1",
45
63
  "@m0saic/charts/line-chart/v1",
64
+ "@m0saic/charts/line-chart/v2",
46
65
  "@m0saic/charts/stat-card/v1",
66
+ "@m0saic/charts/stat-card/v2",
47
67
  "@m0saic/code/snippet-morph/v1",
68
+ "@m0saic/code/snippet-morph/v2",
48
69
  "@m0saic/collage/image-collage/v1",
70
+ "@m0saic/collage/image-collage/v2",
49
71
  "@m0saic/collage/spread-grid-mock/v1",
50
72
  "@m0saic/dsl-tutorial/canvas/v1",
51
73
  "@m0saic/dsl-tutorial/chrome/v1",
52
74
  "@m0saic/dsl-tutorial/inspector/v1",
53
75
  "@m0saic/dsl-tutorial/string/v1",
54
76
  "@m0saic/dsl-tutorial/v1",
77
+ "@m0saic/dsl-tutorial/v2",
55
78
  "@m0saic/github/repo-facts-fetcher/v1",
56
79
  "@m0saic/github/weekly-pulse-adapter/v1",
57
80
  "@m0saic/github/year-card/v1",
81
+ "@m0saic/github/year-card/v2",
58
82
  "@m0saic/hello-world/v1",
59
83
  "@m0saic/media/barcode/v1",
84
+ "@m0saic/media/barcode/v2",
60
85
  "@m0saic/media/blur-regions/v1",
86
+ "@m0saic/media/blur-regions/v2",
61
87
  "@m0saic/media/highlights/v1",
88
+ "@m0saic/media/highlights/v2",
62
89
  "@m0saic/media/qr/animate/v1",
63
90
  "@m0saic/media/qr/animate/v2",
64
91
  "@m0saic/media/qr/basic/v1",
65
92
  "@m0saic/media/qr/code/v1",
93
+ "@m0saic/media/qr/code/v2",
66
94
  "@m0saic/media/qr/rounded/v1",
67
95
  "@m0saic/media/qr/stamp/v1",
96
+ "@m0saic/media/qr/stamp/v2",
68
97
  "@m0saic/media/screencap_grid/internal/info_pane/v1",
69
98
  "@m0saic/media/screencap_grid/v1",
70
99
  "@m0saic/media/screencap_grid/v2",
100
+ "@m0saic/media/screencap_grid/v3",
71
101
  "@m0saic/media/screencap_grid_aspect_safe/v1",
102
+ "@m0saic/media/screencap_grid_aspect_safe/v2",
72
103
  "@m0saic/media/trickplay/v1",
104
+ "@m0saic/media/trickplay/v2",
73
105
  "@m0saic/media/video_to_png_sequence/v1",
106
+ "@m0saic/media/video_to_png_sequence/v2",
74
107
  "@m0saic/primitives/grid/v1",
75
108
  "@m0saic/primitives/grid/v2",
109
+ "@m0saic/primitives/grid/v3",
76
110
  "@m0saic/social/quote-card/v1",
111
+ "@m0saic/social/quote-card/v2",
77
112
  "@m0saic/theming/v1",
113
+ "@m0saic/theming/v2",
78
114
  "@m0saic/web/page-skeleton/v1",
115
+ "@m0saic/web/page-skeleton/v2",
79
116
  "@m0saic/wireframe/animated/v1",
80
117
  "@m0saic/wireframe/base/v1",
81
118
  "@m0saic/wireframe/base/v2",
119
+ "@m0saic/wireframe/base/v3",
82
120
  "@m0saic/wireframe/cell/v1"
83
121
  ]
84
122
  }
@@ -0,0 +1,9 @@
1
+ m0saic — Deterministic rectangle layout DSL and tooling
2
+ Copyright (c) 2026 m0saic LLC
3
+
4
+ This package is licensed under the MIT License (see LICENSE).
5
+
6
+ m0saic and the m0saic logo are trademarks of m0saic LLC.
7
+ This license does not grant permission to use the trade names, trademarks,
8
+ service marks, or product names of m0saic LLC, except as required for
9
+ reasonable and customary use in describing the origin of the work.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m0saic/text",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "main": "dist/index.js",
5
5
  "license": "Apache-2.0"
6
6
  }
@@ -1 +1 @@
1
- "use strict";var t=Object.defineProperty;var s=(e,r)=>t(e,"name",{value:r,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.isAnalyticsEmissionEnabled=exports.DEFAULT_ANALYTICS_CONSENT=void 0;const DEFAULT_ANALYTICS_CONSENT=s(e=>({mode:"undecided",installId:e,channels:{rollup:!0,errorReports:!1,lifecycle:!0,layouts:!0},redactions:{templateIds:"scramble",filePaths:"drop",errorMessages:"drop",ffmpegArgs:"drop",stderrLines:"drop"},scrambling:"deterministic"}),"DEFAULT_ANALYTICS_CONSENT");exports.DEFAULT_ANALYTICS_CONSENT=DEFAULT_ANALYTICS_CONSENT;const isAnalyticsEmissionEnabled=s(e=>e.mode!=="opted-out","isAnalyticsEmissionEnabled");exports.isAnalyticsEmissionEnabled=isAnalyticsEmissionEnabled;
1
+ "use strict";var t=Object.defineProperty;var s=(e,r)=>t(e,"name",{value:r,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.isAnalyticsEmissionEnabled=exports.DEFAULT_ANALYTICS_CONSENT=void 0;const DEFAULT_ANALYTICS_CONSENT=s(e=>({mode:"undecided",installId:e,channels:{rollup:!0,errorReports:!1,lifecycle:!0},redactions:{templateIds:"scramble",filePaths:"drop",errorMessages:"drop",ffmpegArgs:"drop",stderrLines:"drop"},scrambling:"deterministic"}),"DEFAULT_ANALYTICS_CONSENT");exports.DEFAULT_ANALYTICS_CONSENT=DEFAULT_ANALYTICS_CONSENT;const isAnalyticsEmissionEnabled=s(e=>e.mode!=="opted-out","isAnalyticsEmissionEnabled");exports.isAnalyticsEmissionEnabled=isAnalyticsEmissionEnabled;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MOSAIC_INSTALL_SOURCE_RE=void 0,exports.MOSAIC_INSTALL_SOURCE_RE=/^[a-z0-9][a-z0-9-]{1,23}$/;
@@ -1 +1 @@
1
- "use strict";var A=Object.defineProperty;var E=(_,e)=>A(_,"name",{value:e,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.LAYOUT_OVERLAY_BUCKET_BOUNDS=exports.LAYOUT_DEPTH_BUCKET_BOUNDS=exports.LAYOUT_LEAF_BUCKET_BOUNDS=exports.MAX_LAYOUT_M0_CHARS=exports.MAX_TEMPLATE_ID_CHARS=exports.MAX_TEMPLATES_USED=exports.FIRST_PARTY_TEMPLATE_ID_RE=exports.isFeatureKeyShaped=exports.MAX_FEATURE_KEY_CHARS=exports.FEATURE_KEY_SHAPE_RE=void 0,exports.FEATURE_KEY_SHAPE_RE=/^[a-z][a-z0-9_]*(?:\.[a-z0-9_]+){1,3}$/,exports.MAX_FEATURE_KEY_CHARS=40;const isFeatureKeyShaped=E(_=>typeof _=="string"&&_.length<=exports.MAX_FEATURE_KEY_CHARS&&exports.FEATURE_KEY_SHAPE_RE.test(_),"isFeatureKeyShaped");exports.isFeatureKeyShaped=isFeatureKeyShaped,exports.FIRST_PARTY_TEMPLATE_ID_RE=/^@m0saic\/[a-z0-9-]+(?:\/[a-z0-9-]+){0,3}\/v\d{1,3}$/,exports.MAX_TEMPLATES_USED=64,exports.MAX_TEMPLATE_ID_CHARS=80,exports.MAX_LAYOUT_M0_CHARS=4096,exports.LAYOUT_LEAF_BUCKET_BOUNDS=[2,4,8,16,32],exports.LAYOUT_DEPTH_BUCKET_BOUNDS=[2,3,4,5],exports.LAYOUT_OVERLAY_BUCKET_BOUNDS=[1,2,4];
1
+ "use strict";var t=Object.defineProperty;var _=(E,e)=>t(E,"name",{value:e,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.MAX_TEMPLATE_ID_CHARS=exports.MAX_TEMPLATES_USED=exports.FIRST_PARTY_TEMPLATE_ID_RE=exports.isFeatureKeyShaped=exports.MAX_FEATURE_KEY_CHARS=exports.FEATURE_KEY_SHAPE_RE=void 0,exports.FEATURE_KEY_SHAPE_RE=/^[a-z][a-z0-9_]*(?:\.[a-z0-9_]+){1,3}$/,exports.MAX_FEATURE_KEY_CHARS=40;const isFeatureKeyShaped=_(E=>typeof E=="string"&&E.length<=exports.MAX_FEATURE_KEY_CHARS&&exports.FEATURE_KEY_SHAPE_RE.test(E),"isFeatureKeyShaped");exports.isFeatureKeyShaped=isFeatureKeyShaped,exports.FIRST_PARTY_TEMPLATE_ID_RE=/^@m0saic\/[a-z0-9-]+(?:\/[a-z0-9-]+){0,3}\/v\d{1,3}$/,exports.MAX_TEMPLATES_USED=64,exports.MAX_TEMPLATE_ID_CHARS=80;
@@ -1 +1 @@
1
- "use strict";var o=Object.defineProperty;var t=(s,e)=>o(s,"name",{value:e,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.isInstallId=exports.asInstallId=exports.asOutputKey=exports.asSpanId=exports.asTraceId=exports.asDiagnosticCode=exports.asDictionaryEntryId=exports.asRepoId=exports.asTemplateId=exports.asAliasId=exports.asFlattenedStableKey=exports.asAssetId=exports.isDictionaryEntryId=exports.isRepoId=exports.isTemplateId=exports.isAliasId=exports.isAssetId=exports.isOutputKey=exports.isSpanId=exports.isTraceId=exports.isDiagnosticCode=exports.isNamespacedId=exports.isFlattenedStableKey=exports.isFriendlySlug=exports.isStrictIdentifier=exports.TRACE_ID_PATTERN=exports.TEMPLATE_ROLE_PATTERN=exports.DIAGNOSTIC_CODE_PATTERN=exports.NAMESPACED_ID_PATTERN=exports.FLATTENED_STABLE_KEY_PATTERN=exports.FRIENDLY_SLUG_PATTERN=exports.STRICT_IDENTIFIER_PATTERN=void 0,exports.STRICT_IDENTIFIER_PATTERN=/^[a-zA-Z_][a-zA-Z0-9_]{0,63}$/,exports.FRIENDLY_SLUG_PATTERN=/^[A-Za-z0-9_][A-Za-z0-9_.\-]{0,127}$/,exports.FLATTENED_STABLE_KEY_PATTERN=/^(c\d+_)*[a-zA-Z_][a-zA-Z0-9_]{0,63}$/,exports.NAMESPACED_ID_PATTERN=/^@?[A-Za-z0-9_-]+(\/[A-Za-z0-9_-]+)*$/,exports.DIAGNOSTIC_CODE_PATTERN=/^[A-Z][A-Z0-9_]{0,63}$/,exports.TEMPLATE_ROLE_PATTERN=/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/,exports.TRACE_ID_PATTERN=/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/;const isStrictIdentifier=t(s=>typeof s=="string"&&exports.STRICT_IDENTIFIER_PATTERN.test(s),"isStrictIdentifier");exports.isStrictIdentifier=isStrictIdentifier;const isFriendlySlug=t(s=>typeof s=="string"&&exports.FRIENDLY_SLUG_PATTERN.test(s),"isFriendlySlug");exports.isFriendlySlug=isFriendlySlug;const isFlattenedStableKey=t(s=>typeof s=="string"&&exports.FLATTENED_STABLE_KEY_PATTERN.test(s),"isFlattenedStableKey");exports.isFlattenedStableKey=isFlattenedStableKey;const isNamespacedId=t(s=>typeof s=="string"&&exports.NAMESPACED_ID_PATTERN.test(s),"isNamespacedId");exports.isNamespacedId=isNamespacedId;const isDiagnosticCode=t(s=>typeof s=="string"&&exports.DIAGNOSTIC_CODE_PATTERN.test(s),"isDiagnosticCode");exports.isDiagnosticCode=isDiagnosticCode;const isTraceId=t(s=>typeof s=="string"&&exports.TRACE_ID_PATTERN.test(s),"isTraceId");exports.isTraceId=isTraceId;const isSpanId=t(s=>typeof s=="string"&&exports.TRACE_ID_PATTERN.test(s),"isSpanId");exports.isSpanId=isSpanId;const isOutputKey=t(s=>typeof s=="string"&&exports.FRIENDLY_SLUG_PATTERN.test(s),"isOutputKey");exports.isOutputKey=isOutputKey;const isAssetId=t(s=>typeof s=="string"&&exports.FRIENDLY_SLUG_PATTERN.test(s),"isAssetId");exports.isAssetId=isAssetId;const isAliasId=t(s=>typeof s=="string"&&exports.STRICT_IDENTIFIER_PATTERN.test(s),"isAliasId");exports.isAliasId=isAliasId;const isTemplateId=t(s=>typeof s=="string"&&exports.NAMESPACED_ID_PATTERN.test(s),"isTemplateId");exports.isTemplateId=isTemplateId;const isRepoId=t(s=>typeof s=="string"&&exports.NAMESPACED_ID_PATTERN.test(s),"isRepoId");exports.isRepoId=isRepoId;const isDictionaryEntryId=t(s=>typeof s=="string"&&exports.NAMESPACED_ID_PATTERN.test(s),"isDictionaryEntryId");exports.isDictionaryEntryId=isDictionaryEntryId;const asAssetId=t(s=>s,"asAssetId");exports.asAssetId=asAssetId;const asFlattenedStableKey=t(s=>s,"asFlattenedStableKey");exports.asFlattenedStableKey=asFlattenedStableKey;const asAliasId=t(s=>s,"asAliasId");exports.asAliasId=asAliasId;const asTemplateId=t(s=>s,"asTemplateId");exports.asTemplateId=asTemplateId;const asRepoId=t(s=>s,"asRepoId");exports.asRepoId=asRepoId;const asDictionaryEntryId=t(s=>s,"asDictionaryEntryId");exports.asDictionaryEntryId=asDictionaryEntryId;const asDiagnosticCode=t(s=>s,"asDiagnosticCode");exports.asDiagnosticCode=asDiagnosticCode;const asTraceId=t(s=>s,"asTraceId");exports.asTraceId=asTraceId;const asSpanId=t(s=>s,"asSpanId");exports.asSpanId=asSpanId;const asOutputKey=t(s=>s,"asOutputKey");exports.asOutputKey=asOutputKey;const asInstallId=t(s=>s,"asInstallId");exports.asInstallId=asInstallId;const isInstallId=t(s=>typeof s=="string"&&exports.TRACE_ID_PATTERN.test(s),"isInstallId");exports.isInstallId=isInstallId;
1
+ "use strict";var o=Object.defineProperty;var t=(s,e)=>o(s,"name",{value:e,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.isInstallId=exports.asInstallId=exports.asOutputKey=exports.asSpanId=exports.asTraceId=exports.asDiagnosticCode=exports.asDictionaryEntryId=exports.asRepoId=exports.asTemplateId=exports.asAliasId=exports.asFlattenedStableKey=exports.asAssetId=exports.isDictionaryEntryId=exports.isRepoId=exports.isTemplateId=exports.isAliasId=exports.isAssetId=exports.isOutputKey=exports.isSpanId=exports.isTraceId=exports.isDiagnosticCode=exports.isNamespacedId=exports.isFlattenedStableKey=exports.isFriendlySlug=exports.isStrictIdentifier=exports.TRACE_ID_PATTERN=exports.TEMPLATE_ROLE_PATTERN=exports.DIAGNOSTIC_CODE_PATTERN=exports.NAMESPACED_ID_PATTERN=exports.FLATTENED_STABLE_KEY_PATTERN=exports.FRIENDLY_SLUG_PATTERN=exports.STRICT_IDENTIFIER_PATTERN=void 0,exports.STRICT_IDENTIFIER_PATTERN=/^[a-zA-Z_][a-zA-Z0-9_]{0,63}$/,exports.FRIENDLY_SLUG_PATTERN=/^[A-Za-z0-9_][A-Za-z0-9_.\-]{0,127}$/,exports.FLATTENED_STABLE_KEY_PATTERN=/^(?:r(?:\/(?:g(?:col|row)c\d+|[fpnu]c\d+|ov\d+c\d+))*|(?:c\d+_)*[a-zA-Z_][a-zA-Z0-9_]{0,63})$/,exports.NAMESPACED_ID_PATTERN=/^@?[A-Za-z0-9_-]+(\/[A-Za-z0-9_-]+)*$/,exports.DIAGNOSTIC_CODE_PATTERN=/^[A-Z][A-Z0-9_]{0,63}$/,exports.TEMPLATE_ROLE_PATTERN=/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/,exports.TRACE_ID_PATTERN=/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/;const isStrictIdentifier=t(s=>typeof s=="string"&&exports.STRICT_IDENTIFIER_PATTERN.test(s),"isStrictIdentifier");exports.isStrictIdentifier=isStrictIdentifier;const isFriendlySlug=t(s=>typeof s=="string"&&exports.FRIENDLY_SLUG_PATTERN.test(s),"isFriendlySlug");exports.isFriendlySlug=isFriendlySlug;const isFlattenedStableKey=t(s=>typeof s=="string"&&exports.FLATTENED_STABLE_KEY_PATTERN.test(s),"isFlattenedStableKey");exports.isFlattenedStableKey=isFlattenedStableKey;const isNamespacedId=t(s=>typeof s=="string"&&exports.NAMESPACED_ID_PATTERN.test(s),"isNamespacedId");exports.isNamespacedId=isNamespacedId;const isDiagnosticCode=t(s=>typeof s=="string"&&exports.DIAGNOSTIC_CODE_PATTERN.test(s),"isDiagnosticCode");exports.isDiagnosticCode=isDiagnosticCode;const isTraceId=t(s=>typeof s=="string"&&exports.TRACE_ID_PATTERN.test(s),"isTraceId");exports.isTraceId=isTraceId;const isSpanId=t(s=>typeof s=="string"&&exports.TRACE_ID_PATTERN.test(s),"isSpanId");exports.isSpanId=isSpanId;const isOutputKey=t(s=>typeof s=="string"&&exports.FRIENDLY_SLUG_PATTERN.test(s),"isOutputKey");exports.isOutputKey=isOutputKey;const isAssetId=t(s=>typeof s=="string"&&exports.FRIENDLY_SLUG_PATTERN.test(s),"isAssetId");exports.isAssetId=isAssetId;const isAliasId=t(s=>typeof s=="string"&&exports.STRICT_IDENTIFIER_PATTERN.test(s),"isAliasId");exports.isAliasId=isAliasId;const isTemplateId=t(s=>typeof s=="string"&&exports.NAMESPACED_ID_PATTERN.test(s),"isTemplateId");exports.isTemplateId=isTemplateId;const isRepoId=t(s=>typeof s=="string"&&exports.NAMESPACED_ID_PATTERN.test(s),"isRepoId");exports.isRepoId=isRepoId;const isDictionaryEntryId=t(s=>typeof s=="string"&&exports.NAMESPACED_ID_PATTERN.test(s),"isDictionaryEntryId");exports.isDictionaryEntryId=isDictionaryEntryId;const asAssetId=t(s=>s,"asAssetId");exports.asAssetId=asAssetId;const asFlattenedStableKey=t(s=>s,"asFlattenedStableKey");exports.asFlattenedStableKey=asFlattenedStableKey;const asAliasId=t(s=>s,"asAliasId");exports.asAliasId=asAliasId;const asTemplateId=t(s=>s,"asTemplateId");exports.asTemplateId=asTemplateId;const asRepoId=t(s=>s,"asRepoId");exports.asRepoId=asRepoId;const asDictionaryEntryId=t(s=>s,"asDictionaryEntryId");exports.asDictionaryEntryId=asDictionaryEntryId;const asDiagnosticCode=t(s=>s,"asDiagnosticCode");exports.asDiagnosticCode=asDiagnosticCode;const asTraceId=t(s=>s,"asTraceId");exports.asTraceId=asTraceId;const asSpanId=t(s=>s,"asSpanId");exports.asSpanId=asSpanId;const asOutputKey=t(s=>s,"asOutputKey");exports.asOutputKey=asOutputKey;const asInstallId=t(s=>s,"asInstallId");exports.asInstallId=asInstallId;const isInstallId=t(s=>typeof s=="string"&&exports.TRACE_ID_PATTERN.test(s),"isInstallId");exports.isInstallId=isInstallId;
@@ -1,4 +1,4 @@
1
- "use strict";var l=Object.defineProperty;var a=(r,t)=>l(r,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.stderrIndicatesFramesProduced=stderrIndicatesFramesProduced,exports.classifyFfmpegFailure=classifyFfmpegFailure,exports.formatFailureMessage=formatFailureMessage;const ENOMEM_EXIT_CODES=new Set([-12,4294967284,137]),CANCEL_EXIT_CODES=new Set([255,143]);function stderrIndicatesFramesProduced(r){return/(^|[^\w])frame=\s*0*[1-9]\d*/.test(r)}a(stderrIndicatesFramesProduced,"stderrIndicatesFramesProduced");function classifyFfmpegFailure(r,t,i){const e=(t??"").toString(),n=r??0,o=stderrIndicatesFramesProduced(e),s=ENOMEM_EXIT_CODES.has(n)||/Cannot allocate memory|out of memory|ENOMEM|cannot allocate.+bytes/i.test(e);return/\[m0saic\] FFMPEG_STALLED:/.test(e)?{kind:"stalled",summary:"ffmpeg produced no progress and no output for the stall window, so the runner stopped it (FFMPEG_STALLED). Usually a source that never ends or never decodes \u2014 a corrupt image or clip, a stream that hangs.",hints:["Check the inputs of the failing node: a corrupt or truncated image/clip, or a network source that never answers, will hang the decoder.","Try the render with that node's media replaced by a known-good file."],matchedSignal:"stderr matched runner stall marker"}:/Failed initializing scaling graph \(Resource temporarily unavailable\)/i.test(e)?{kind:"thread-exhaustion",summary:"ffmpeg hit the platform's per-process thread limit while creating swscale worker pools (dense filter graphs spawn one pool per scale/format conversion). Frames stop advancing \u2014 the output freezes on the first frame while render speed collapses.",hints:["This should be prevented by the engine's swscale thread guard \u2014 if you're seeing it, the failing command likely bypassed the guard (hand-rolled args?). Capture the .commands.json sidecar and report it.","Workaround: re-run with fewer tiles / lower grid density, or add `-filter_complex_threads 2` and `-threads 1` before each still-image input to the failing command.","macOS caps a process at `sysctl kern.num_taskthreads` threads (2048 default) \u2014 this failure is expected on macOS first; Windows/Linux limits are far higher."],matchedSignal:"stderr matched swscale EAGAIN pattern"}:i?.carriedBufferFuse&&o&&s?{kind:"link-queue-buffer-overflow",summary:"the filtergraph's link-queue buffering exceeded the `-filter_buffered_frames` fuse (an unbalanced sync filter \u2014 overlay / xfade / concat \u2014 queued too many frames). ffmpeg reports this as 'Cannot allocate memory', but this is almost certainly a graph-shape problem, not a memory shortage.",hints:["Almost certainly a template/layout issue: before adding RAM, check the failing node for inputs of very different durations feeding one overlay/concat, or a stalled early-EOF source.","A genuine mid-render OOM on this command looks identical \u2014 but the layout imbalance is far more likely, so investigate clip-length mismatches first.","To confirm it's the fuse (not real OOM): set `M0SAIC_FILTER_BUFFERED_FRAMES=0` and RESTART the app (or re-run via the CLI) \u2014 the render will then climb memory slowly instead of tripping, proving the buffering imbalance."],matchedSignal:"fused command + mid-render ENOMEM signal"}:s?{kind:"out-of-memory",summary:"ffmpeg ran out of memory while building the filter graph. This is usually triggered by very high output resolutions combined with many concurrent input streams or lossless intermediate codecs (qtrle, huffyuv).",hints:["Render at a lower resolution (e.g. 1080p instead of 4K) and upscale at the end if needed \u2014 peak memory scales quadratically with width \xD7 height.","Reduce the number of concurrent inputs in the template (fewer cells / shorter source list).","Avoid lossless ARGB intermediates (qtrle) for large canvases \u2014 try yuv420p / prores 422 instead. Per-frame bytes drop ~4\xD7 when alpha isn't required.","Close other memory-hungry apps; the ffmpeg process needs to allocate large filter-graph buffers all at once."],matchedSignal:ENOMEM_EXIT_CODES.has(n)?`exit code ${n}`:"stderr matched memory pattern"}:/No space left on device|ENOSPC|disk full/i.test(e)||n===28?{kind:"no-space",summary:"ran out of disk space while writing intermediates or the final output.",hints:["Free disk space on the workspace drive (often %TEMP% on Windows, /tmp on Unix).","Choose a different workspace directory on a larger drive.","For long high-bitrate renders, intermediates can be tens of GB \u2014 check headroom before starting."],matchedSignal:n===28?"ENOSPC exit":"stderr matched ENOSPC"}:CANCEL_EXIT_CODES.has(n)||/Exiting normally, received signal 2|Interrupt|signal 15/i.test(e)?{kind:"killed",summary:"render was cancelled or the process was killed.",hints:["If this wasn't intentional, check whether another process or the OS terminated ffmpeg (out-of-memory killer, antivirus, sleep/standby)."],matchedSignal:`exit code ${n}`}:/No such file or directory|Could not open file|Invalid data found when processing input/i.test(e)?{kind:"missing-input",summary:"one of the input files couldn't be opened (path missing, permission denied, or unsupported container).",hints:["Verify every asset path in the doc resolves to a real file with read permission.","Container probe via ffprobe on the failing input to confirm ffmpeg can read it."],matchedSignal:"stderr matched missing-input pattern"}:/Unknown encoder|Encoder not found|Decoder not found|Unsupported codec/i.test(e)?{kind:"missing-codec",summary:"the requested encoder or decoder isn't available in this ffmpeg build.",hints:["Run `ffmpeg -encoders` / `ffmpeg -decoders` to confirm which codecs are present.","On Windows the bundled m0saic ffmpeg may be LGPL (no libx264). Use `Tools \u2192 Upgrade ffmpeg` to switch to the GPL build for libx264 / libx265."],matchedSignal:"stderr matched codec pattern"}:/Error (?:parsing|reinitializing) (?:filter|filters|filtergraph)|No such filter|Filtergraph .* No such option|Invalid argument to filter/i.test(e)?{kind:"filter-graph-invalid",summary:"ffmpeg rejected the filter graph (syntax or unsupported filter combination).",hints:["Check the failing node's tiles and effects \u2014 the graph is composed from the doc, so an unsupported effect/filter combination on that node is the usual cause.","Check ffmpeg version \u2014 newer filters (e.g. zscale, libplacebo) require recent builds."],matchedSignal:"stderr matched filter pattern"}:/Assertion .* failed|Segmentation fault|signal 11|signal 6|av_log.*FATAL/i.test(e)?{kind:"ffmpeg-crash",summary:"ffmpeg crashed (likely a bug in the codec / filter implementation).",hints:["Try a different ffmpeg build (the bundled vs system version often differ).","Reduce input variety or try simpler filter combinations to isolate the crash trigger.","Report the failing stderr tail + plan upstream \u2014 assertion failures are usually fixable bugs."],matchedSignal:"stderr matched crash pattern"}:{kind:"unknown",summary:`ffmpeg exited with code ${n} and no recognised failure signal in stderr.`,hints:["Run again with `--verbose` to capture full ffmpeg output.","Check `qr_stamp.failed.json` (or the equivalent sidecar) for the full stderr tail."]}}a(classifyFfmpegFailure,"classifyFfmpegFailure");function formatFailureMessage(r,t){if(t.kind==="unknown")return`${r}
1
+ "use strict";var l=Object.defineProperty;var a=(r,t)=>l(r,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.stderrIndicatesFramesProduced=stderrIndicatesFramesProduced,exports.classifyFfmpegFailure=classifyFfmpegFailure,exports.formatFailureMessage=formatFailureMessage;const ENOMEM_EXIT_CODES=new Set([-12,4294967284,137]),CANCEL_EXIT_CODES=new Set([255,143]);function stderrIndicatesFramesProduced(r){return/(^|[^\w])frame=\s*0*[1-9]\d*/.test(r)}a(stderrIndicatesFramesProduced,"stderrIndicatesFramesProduced");function classifyFfmpegFailure(r,t,i){const e=(t??"").toString(),n=r??0,o=stderrIndicatesFramesProduced(e),s=ENOMEM_EXIT_CODES.has(n)||/Cannot allocate memory|out of memory|ENOMEM|cannot allocate.+bytes/i.test(e);return/\[m0saic\] FFMPEG_STALLED:/.test(e)?{kind:"stalled",summary:"ffmpeg produced no progress and no output for the stall window, so the runner stopped it (FFMPEG_STALLED). Usually a source that never ends or never decodes \u2014 a corrupt image or clip, a stream that hangs.",hints:["Check the inputs of the failing node: a corrupt or truncated image/clip, or a network source that never answers, will hang the decoder.","Try the render with that node's media replaced by a known-good file."],matchedSignal:"stderr matched runner stall marker"}:/Failed initializing scaling graph \(Resource temporarily unavailable\)/i.test(e)?{kind:"thread-exhaustion",summary:"ffmpeg hit the platform's per-process thread limit while creating swscale worker pools (dense filter graphs spawn one pool per scale/format conversion). Frames stop advancing \u2014 the output freezes on the first frame while render speed collapses.",hints:["This should be prevented by the engine's swscale thread guard \u2014 if you're seeing it, the failing command likely bypassed the guard (hand-rolled args?). Capture the .commands.json sidecar and report it.","Workaround: re-run with fewer tiles / lower grid density, or add `-filter_complex_threads 2` and `-threads 1` before each still-image input to the failing command.","macOS caps a process at `sysctl kern.num_taskthreads` threads (2048 default) \u2014 this failure is expected on macOS first; Windows/Linux limits are far higher."],matchedSignal:"stderr matched swscale EAGAIN pattern"}:i?.carriedBufferFuse&&o&&s?{kind:"link-queue-buffer-overflow",summary:"the filtergraph's link-queue buffering exceeded the `-filter_buffered_frames` fuse (an unbalanced sync filter \u2014 overlay / xfade / concat \u2014 queued too many frames). ffmpeg reports this as 'Cannot allocate memory', but this is almost certainly a graph-shape problem, not a memory shortage.",hints:["Almost certainly a template/layout issue: before adding RAM, check the failing node for inputs of very different durations feeding one overlay/concat, or a stalled early-EOF source.","A genuine mid-render OOM on this command looks identical \u2014 but the layout imbalance is far more likely, so investigate clip-length mismatches first.","To confirm it's the fuse (not real OOM): set `M0SAIC_FILTER_BUFFERED_FRAMES=0` and RESTART the app (or re-run via the CLI) \u2014 the render will then climb memory slowly instead of tripping, proving the buffering imbalance."],matchedSignal:"fused command + mid-render ENOMEM signal"}:s?{kind:"out-of-memory",summary:"ffmpeg ran out of memory while building the filter graph. This is usually triggered by very high output resolutions combined with many concurrent input streams or lossless intermediate codecs (qtrle, huffyuv).",hints:["Render at a lower resolution (e.g. 1080p instead of 4K) and upscale at the end if needed \u2014 peak memory scales quadratically with width \xD7 height.","Reduce the number of concurrent inputs in the template (fewer cells / shorter source list).","Avoid lossless ARGB intermediates (qtrle) for large canvases \u2014 try yuv420p / prores 422 instead. Per-frame bytes drop ~4\xD7 when alpha isn't required.","Close other memory-hungry apps; the ffmpeg process needs to allocate large filter-graph buffers all at once."],matchedSignal:ENOMEM_EXIT_CODES.has(n)?`exit code ${n}`:"stderr matched memory pattern"}:/No space left on device|ENOSPC|disk full/i.test(e)||n===28?{kind:"no-space",summary:"ran out of disk space while writing intermediates or the final output.",hints:["Free disk space on the workspace drive (often %TEMP% on Windows, /tmp on Unix).","Choose a different workspace directory on a larger drive.","For long high-bitrate renders, intermediates can be tens of GB \u2014 check headroom before starting."],matchedSignal:n===28?"ENOSPC exit":"stderr matched ENOSPC"}:CANCEL_EXIT_CODES.has(n)||/Exiting normally, received signal 2|Interrupt|signal 15/i.test(e)?{kind:"killed",summary:"render was cancelled or the process was killed.",hints:["If this wasn't intentional, check whether another process or the OS terminated ffmpeg (out-of-memory killer, antivirus, sleep/standby)."],matchedSignal:`exit code ${n}`}:/No such file or directory|Could not open file|Invalid data found when processing input/i.test(e)?{kind:"missing-input",summary:"one of the input files couldn't be opened (path missing, permission denied, or unsupported container).",hints:["Verify every asset path in the doc resolves to a real file with read permission.","Container probe via ffprobe on the failing input to confirm ffmpeg can read it."],matchedSignal:"stderr matched missing-input pattern"}:/Unknown encoder|Encoder not found|Decoder not found|Unsupported codec/i.test(e)?{kind:"missing-codec",summary:"the requested encoder or decoder isn't available in this ffmpeg build.",hints:["Run `ffmpeg -encoders` / `ffmpeg -decoders` to confirm which codecs are present.","An ffmpeg built without --enable-gpl has no libx264 / libx265. Install m0saic's pinned build (Tools \u2192 Toolchain, or `m0saic setup`)."],matchedSignal:"stderr matched codec pattern"}:/Error (?:parsing|reinitializing) (?:filter|filters|filtergraph)|No such filter|Filtergraph .* No such option|Invalid argument to filter/i.test(e)?{kind:"filter-graph-invalid",summary:"ffmpeg rejected the filter graph (syntax or unsupported filter combination).",hints:["Check the failing node's tiles and effects \u2014 the graph is composed from the doc, so an unsupported effect/filter combination on that node is the usual cause.","Check ffmpeg version \u2014 newer filters (e.g. zscale, libplacebo) require recent builds."],matchedSignal:"stderr matched filter pattern"}:/Assertion .* failed|Segmentation fault|signal 11|signal 6|av_log.*FATAL/i.test(e)?{kind:"ffmpeg-crash",summary:"ffmpeg crashed (likely a bug in the codec / filter implementation).",hints:["Try a different ffmpeg build (the bundled vs system version often differ).","Reduce input variety or try simpler filter combinations to isolate the crash trigger.","Report the failing stderr tail + plan upstream \u2014 assertion failures are usually fixable bugs."],matchedSignal:"stderr matched crash pattern"}:{kind:"unknown",summary:`ffmpeg exited with code ${n} and no recognised failure signal in stderr.`,hints:["Run again with `--verbose` to capture full ffmpeg output.","Check `qr_stamp.failed.json` (or the equivalent sidecar) for the full stderr tail."]}}a(classifyFfmpegFailure,"classifyFfmpegFailure");function formatFailureMessage(r,t){if(t.kind==="unknown")return`${r}
2
2
 
3
3
  ${t.hints.join(" ")}`;const i=[r,"",`\u26A0 ${t.kind}: ${t.summary}`];for(const e of t.hints)i.push(` \u2022 ${e}`);return i.join(`
4
4
  `)}a(formatFailureMessage,"formatFailureMessage");
@@ -1 +1 @@
1
- "use strict";var o=Object.defineProperty;var r=(e,t)=>o(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.TEMPLATE_ROLE_ID_HINTS=exports.isTemplateRole=exports.TEMPLATE_ROLES=void 0,exports.TEMPLATE_ROLES=["renderable","data-fetcher","adapter","building-block","orchestrator","harness"];const isTemplateRole=r(e=>typeof e=="string"&&exports.TEMPLATE_ROLES.includes(e),"isTemplateRole");exports.isTemplateRole=isTemplateRole,exports.TEMPLATE_ROLE_ID_HINTS={renderable:/.*/,"data-fetcher":/(^|[\/-])(fetcher|intel|prologue)([\/-]|$)/,adapter:/(^|[\/-])(adapter|bridge)([\/-]|$)/,"building-block":/(^|[\/-])(internal|building-block|block)([\/-]|$)/,orchestrator:/(^|[\/-])(pipeline|orchestrator|flow)([\/-]|$)/,harness:/(^|[\/-])(harness|wireframe|scaffold)([\/-]|$)/};
1
+ "use strict";var o=Object.defineProperty;var r=(e,t)=>o(e,"name",{value:t,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.MOSAIC_TEMPLATE_PROP_CATALOG_FIELDS=exports.MOSAIC_TEMPLATE_CATALOG_FIELDS=exports.TEMPLATE_ROLE_ID_HINTS=exports.isTemplateRole=exports.TEMPLATE_ROLES=void 0,exports.TEMPLATE_ROLES=["renderable","data-fetcher","adapter","building-block","orchestrator","harness"];const isTemplateRole=r(e=>typeof e=="string"&&exports.TEMPLATE_ROLES.includes(e),"isTemplateRole");exports.isTemplateRole=isTemplateRole,exports.TEMPLATE_ROLE_ID_HINTS={renderable:/.*/,"data-fetcher":/(^|[\/-])(fetcher|intel|prologue)([\/-]|$)/,adapter:/(^|[\/-])(adapter|bridge)([\/-]|$)/,"building-block":/(^|[\/-])(internal|building-block|block)([\/-]|$)/,orchestrator:/(^|[\/-])(pipeline|orchestrator|flow)([\/-]|$)/,harness:/(^|[\/-])(harness|wireframe|scaffold)([\/-]|$)/},exports.MOSAIC_TEMPLATE_CATALOG_FIELDS=["label","description","tags","platforms","channels","preview","internal","primitive","deprecated"],exports.MOSAIC_TEMPLATE_PROP_CATALOG_FIELDS=["label","description","placeholder","order","primary","collapsedByDefault"];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m0saic/types",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "main": "dist/index.js",
5
5
  "license": "Apache-2.0"
6
6
  }
@@ -1 +1 @@
1
- "use strict";var t=Object.defineProperty;var a=(e,o)=>t(e,"name",{value:o,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.MAX_FEATURE_KEY_CHARS=exports.FEATURE_KEY_SHAPE_RE=exports.isMosaicFeatureKey=exports.MOSAIC_FEATURE_KEYS=void 0;const types_1=require("@m0saic/types");Object.defineProperty(exports,"FEATURE_KEY_SHAPE_RE",{enumerable:!0,get:a(function(){return types_1.FEATURE_KEY_SHAPE_RE},"get")}),Object.defineProperty(exports,"MAX_FEATURE_KEY_CHARS",{enumerable:!0,get:a(function(){return types_1.MAX_FEATURE_KEY_CHARS},"get")}),exports.MOSAIC_FEATURE_KEYS=["session.start","page.layout","page.make","page.templates","page.compose","page.learn","page.news","page.community","page.jobs","page.tools","page.telemetry","page.other","template.open.builtin","template.open.community","template.open.external","template.web_card.cta","make.render.start","make.render.cancel","make.render.web_cta","share.make.copy","share.make.over_cap","share.layout.copy","share.layout.over_cap","share.receive.ok","share.receive.unavailable","share.receive.invalid","share.receive.mobile","mobile.handoff.copy","mobile.handoff.share","mobile.handoff.email","mobile.handoff.cli","gate.pick_file","gate.pick_files","gate.pick_folder","gate.drop_file","gate.reveal_file","gate.open_file","download.modal.open","download.copy_install","download.copy_command","download.save_mosaicx","download.click","compose.start","compose.add_step","compose.send_to_make","learn.course.start","learn.course.complete","ui.error.uncaught","ui.error.unhandled_rejection","ui.error.chunk_load","save.mosaic","save.mosaicx","save.m0","save.m0c","make.props.changed","templates.search","dictionary.insert","session.role.engineer","cli.command.make","cli.command.hello_world","cli.command.make_wireframe","cli.command.make_wireframe_animated","cli.command.flatten","cli.command.resolve","cli.command.list_templates","cli.command.browse_templates","cli.command.momo","cli.command.open","cli.command.doctor","cli.command.setup","cli.command.activate","cli.command.license","cli.command.update","cli.command.versions","cli.command.inline_dsl","cli.command.other"];const FEATURE_KEY_SET=new Set(exports.MOSAIC_FEATURE_KEYS),isMosaicFeatureKey=a(e=>typeof e=="string"&&FEATURE_KEY_SET.has(e),"isMosaicFeatureKey");exports.isMosaicFeatureKey=isMosaicFeatureKey;
1
+ "use strict";var t=Object.defineProperty;var a=(e,o)=>t(e,"name",{value:o,configurable:!0});Object.defineProperty(exports,"__esModule",{value:!0}),exports.MAX_FEATURE_KEY_CHARS=exports.FEATURE_KEY_SHAPE_RE=exports.isMosaicFeatureKey=exports.MOSAIC_FEATURE_KEYS=void 0;const types_1=require("@m0saic/types");Object.defineProperty(exports,"FEATURE_KEY_SHAPE_RE",{enumerable:!0,get:a(function(){return types_1.FEATURE_KEY_SHAPE_RE},"get")}),Object.defineProperty(exports,"MAX_FEATURE_KEY_CHARS",{enumerable:!0,get:a(function(){return types_1.MAX_FEATURE_KEY_CHARS},"get")}),exports.MOSAIC_FEATURE_KEYS=["session.start","page.layout","page.make","page.templates","page.compose","page.learn","page.news","page.community","page.jobs","page.tools","page.telemetry","page.other","template.open.builtin","template.open.community","template.open.external","template.web_card.cta","make.render.start","make.render.cancel","make.render.web_cta","share.make.copy","share.make.over_cap","share.layout.copy","share.layout.over_cap","share.receive.ok","share.receive.unavailable","share.receive.invalid","share.receive.mobile","mobile.handoff.copy","mobile.handoff.share","mobile.handoff.email","mobile.handoff.cli","gate.pick_file","gate.pick_files","gate.pick_folder","gate.drop_file","gate.reveal_file","gate.open_file","gate.template_workspace","gate.terminal","workspace.create","workspace.open_shell","workspace.template_added","workspace.open_in_make","workspace.install_prereqs","download.modal.open","download.copy_install","download.copy_command","download.save_mosaicx","download.click","compose.start","compose.add_step","compose.send_to_make","learn.course.start","learn.course.complete","ui.error.uncaught","ui.error.unhandled_rejection","ui.error.chunk_load","save.mosaic","save.mosaicx","save.m0","save.m0c","make.props.changed","templates.search","dictionary.insert","session.role.engineer","cli.command.make","cli.command.hello_world","cli.command.make_wireframe","cli.command.make_wireframe_animated","cli.command.flatten","cli.command.resolve","cli.command.list_templates","cli.command.browse_templates","cli.command.momo","cli.command.open","cli.command.doctor","cli.command.setup","cli.command.activate","cli.command.license","cli.command.update","cli.command.versions","cli.command.inline_dsl","cli.command.other","cli.command.mcp","cli.command.init","cli.invocation.help","setup.completed","setup.failed","setup.already_present","entry.template_link","entry.typed_link","make.props.undo","make.props.reset","make.edit.inline","make.edit.panel","make.edit.drop","make.edit.draw","make.error_card","make.tutorial.open","community.update.installed","community.update.failed","jobs.run","templates.request","learn.tour.start","learn.tour.complete","learn.tour.exit","make.tour.prompt_shown","make.tour.prompt_yes","make.agent.props","make.agent.select","make.agent.control","make.agent.snapshot","make.agent.fork","make.agent.edit","make.agent.open_file","make.agent.session.start","make.agent.session.mounted","make.agent.session.ended"];const FEATURE_KEY_SET=new Set(exports.MOSAIC_FEATURE_KEYS),isMosaicFeatureKey=a(e=>typeof e=="string"&&FEATURE_KEY_SET.has(e),"isMosaicFeatureKey");exports.isMosaicFeatureKey=isMosaicFeatureKey;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "m0saic",
3
- "version": "0.2.2",
3
+ "version": "0.3.1",
4
4
  "description": "m0saic — deterministic video renders from a layout string and your data.",
5
5
  "homepage": "https://m0saic.io",
6
6
  "bin": {
@@ -14,18 +14,19 @@
14
14
  "dependencies": {
15
15
  "@m0saic/community-m": "0.2.0",
16
16
  "@m0saic/core": "0.2.0",
17
- "@m0saic/dictionary": "0.2.0",
18
- "@m0saic/dsl": "1.1.0",
19
- "@m0saic/dsl-file-formats": "1.1.0",
20
- "@m0saic/dsl-stdlib": "2.0.0",
21
- "@m0saic/momo-types": "0.1.0",
22
- "@m0saic/platform": "0.2.0",
17
+ "@m0saic/dictionary": "0.3.1",
18
+ "@m0saic/dsl": "2.0.0",
19
+ "@m0saic/dsl-file-formats": "2.0.1",
20
+ "@m0saic/dsl-stdlib": "3.1.0",
21
+ "@m0saic/knowledge": "0.3.1",
22
+ "@m0saic/momo-types": "1.0.0",
23
+ "@m0saic/platform": "0.3.1",
23
24
  "@m0saic/product": "0.2.0",
24
- "@m0saic/template-utils": "0.2.0",
25
- "@m0saic/templates": "0.2.0",
25
+ "@m0saic/template-utils": "0.3.1",
26
+ "@m0saic/templates": "0.3.1",
26
27
  "@m0saic/templates-advanced": "0.2.0",
27
- "@m0saic/text": "0.2.0",
28
- "@m0saic/types": "0.2.0",
28
+ "@m0saic/text": "0.3.1",
29
+ "@m0saic/types": "0.3.1",
29
30
  "@m0saic/types-internal": "0.2.0",
30
31
  "@resvg/resvg-wasm": "^2.6.2",
31
32
  "commander": "^12.1.0",
@@ -40,6 +41,7 @@
40
41
  "@m0saic/dsl",
41
42
  "@m0saic/dsl-file-formats",
42
43
  "@m0saic/dsl-stdlib",
44
+ "@m0saic/knowledge",
43
45
  "@m0saic/momo-types",
44
46
  "@m0saic/platform",
45
47
  "@m0saic/product",
@@ -0,0 +1,10 @@
1
+ {
2
+ "repo": "m0saic-project/m0saic-template-repo-starter-base",
3
+ "sha": "3a7640fad254ab2374620c2167b24486826c26b9",
4
+ "packedAt": "2026-10-05T06:08:35.628Z",
5
+ "dirty": false,
6
+ "prefix": "starter-base/",
7
+ "files": 37,
8
+ "bytes": 355069,
9
+ "sha256": "735fa38abfa1911b314ab1f3771e80ca8bb1450c70612b59b1a3717195fc33df"
10
+ }