allyhub 0.19.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/align.js +1 -1
- package/dist/commands/check.js +1 -1
- package/dist/commands/cloud-tools.js +5 -5
- package/dist/commands/cloud.js +1 -1
- package/dist/commands/dev.js +5 -5
- package/dist/commands/export.js +3 -0
- package/dist/commands/frames/doc.js +1 -1
- package/dist/commands/frames/piece.js +1 -1
- package/dist/commands/frames/sheet.js +1 -1
- package/dist/commands/frames.js +9 -9
- package/dist/commands/index.js +1 -1
- package/dist/commands/inspect/combos.js +1 -1
- package/dist/commands/inspect/common.js +2 -2
- package/dist/commands/inspect/facts.js +2 -2
- package/dist/commands/migrate.js +3 -0
- package/dist/commands/skills.js +3 -3
- package/dist/commands/upgrade.js +5 -0
- package/dist/commands.json +1 -1
- package/dist/help.js +3 -3
- package/dist/main.js +8 -7
- package/dist/node_modules/@allyhub/3d-extension/package.json +2 -2
- package/dist/node_modules/@allyhub/audio/package.json +1 -1
- package/dist/node_modules/@allyhub/blocks/LICENSE +241 -0
- package/dist/node_modules/@allyhub/blocks/dist/alt.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/elements.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/flow-resolve.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/flow-table.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/format.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/gantt.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/grids.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/html.js +75 -0
- package/dist/node_modules/@allyhub/blocks/dist/icons.generated.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/icons.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/layout.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/look.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/measure.js +3 -0
- package/dist/node_modules/@allyhub/blocks/dist/model.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/page.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/palette.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/path.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/resolve.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/samples.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/sankey.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/svg.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/tidy.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/trees.js +2 -0
- package/dist/node_modules/@allyhub/blocks/package.json +19 -0
- package/dist/node_modules/@allyhub/browser/dist/html.js +1 -1
- package/dist/node_modules/@allyhub/browser/package.json +1 -1
- package/dist/node_modules/@allyhub/build/dist/fonts.js +9 -3
- package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/inspect-view.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/migrate.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
- package/dist/node_modules/@allyhub/build/dist/work.js +3 -3
- package/dist/node_modules/@allyhub/build/package.json +5 -1
- package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
- package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -1
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +4 -3
- package/dist/node_modules/@allyhub/chart/dist/chart.js +4 -2
- package/dist/node_modules/@allyhub/chart/dist/chartex-xml.js +4 -0
- package/dist/node_modules/@allyhub/chart/dist/classic.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/embedded.js +2 -2
- package/dist/node_modules/@allyhub/chart/dist/extended.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/chart/dist/svg.js +1 -1
- package/dist/node_modules/@allyhub/chart/dist/tree.js +2 -0
- package/dist/node_modules/@allyhub/chart/package.json +1 -1
- package/dist/node_modules/@allyhub/check/dist/check.js +1 -1
- package/dist/node_modules/@allyhub/check/package.json +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/blobs.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
- package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/storage.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/uploads.js +2 -2
- package/dist/node_modules/@allyhub/cloud/package.json +1 -1
- package/dist/node_modules/@allyhub/components/package.json +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/item-process.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/item-worker.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/pages.js +20 -1
- package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/writer.js +3 -3
- package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
- package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +1 -1
- package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
- package/dist/node_modules/@allyhub/doc/dist/block-shapes.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/blocks.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/color.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/docx-read.js +12 -0
- package/dist/node_modules/@allyhub/doc/dist/docx.js +5 -4
- package/dist/node_modules/@allyhub/doc/dist/html.js +83 -48
- package/dist/node_modules/@allyhub/doc/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/markdown.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/merges.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/numbering.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/omml.js +3 -0
- package/dist/node_modules/@allyhub/doc/dist/page.js +2 -1
- package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/parse.js +5 -4
- package/dist/node_modules/@allyhub/doc/dist/redline.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/revisions.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/shapes.js +4 -0
- package/dist/node_modules/@allyhub/doc/dist/styles.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/table.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/write.js +65 -39
- package/dist/node_modules/@allyhub/doc/package.json +5 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/build.js +2 -2
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/import.js +3 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/styles.js +4 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/package.json +22 -2
- package/dist/node_modules/@allyhub/doc-print/dist/drawn.js +4 -4
- package/dist/node_modules/@allyhub/doc-print/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/doc-print/dist/layout.js +8 -7
- package/dist/node_modules/@allyhub/doc-print/dist/print.js +22 -16
- package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
- package/dist/node_modules/@allyhub/export/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/export/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-host/dist/points.js +1 -1
- package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/blocks-flow.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/blocks.d.ts +146 -0
- package/dist/node_modules/@allyhub/formats/dist/data/blocks.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.d.ts +9 -0
- package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/deck-code.d.ts +47 -40
- package/dist/node_modules/@allyhub/formats/dist/data/deck-code.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.d.ts +6 -0
- package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/diagrams.d.ts +29 -0
- package/dist/node_modules/@allyhub/formats/dist/data/diagrams.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +18 -0
- package/dist/node_modules/@allyhub/formats/dist/data/faces.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/page-data.d.ts +67 -0
- package/dist/node_modules/@allyhub/formats/dist/data/page-data.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +698 -258
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +14104 -2167
- package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/themes.d.ts +82 -0
- package/dist/node_modules/@allyhub/formats/dist/data/themes.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/tokens.d.ts +67 -0
- package/dist/node_modules/@allyhub/formats/dist/data/tokens.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
- package/dist/node_modules/@allyhub/formats/dist/data/work.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/index.d.ts +7 -0
- package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/items.d.ts +12 -3
- package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +3260 -290
- package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/tolerant.d.ts +45 -0
- package/dist/node_modules/@allyhub/formats/dist/tolerant.js +2 -0
- package/dist/node_modules/@allyhub/formats/package.json +1 -1
- package/dist/node_modules/@allyhub/html-extension/dist/project-tools.js +21 -9
- package/dist/node_modules/@allyhub/html-extension/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/html-extension/markup/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/html-extension/markup/markup.json +14 -4
- package/dist/node_modules/@allyhub/html-extension/markup/pages/budget.html +22 -1
- package/dist/node_modules/@allyhub/html-extension/package.json +9 -1
- package/dist/node_modules/@allyhub/i18n/package.json +1 -1
- package/dist/node_modules/@allyhub/image-draw/dist/fonts.js +1 -1
- package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +2 -2
- package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
- package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +1 -1
- package/dist/node_modules/@allyhub/image-extension/dist/cli.js +1 -1
- package/dist/node_modules/@allyhub/image-extension/package.json +2 -2
- package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +2 -2
- package/dist/node_modules/@allyhub/image-measure/dist/layout.js +2 -2
- package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
- package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
- package/dist/node_modules/@allyhub/image-render/package.json +1 -1
- package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/image-sdk/dist/block.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/blocks.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
- package/dist/node_modules/@allyhub/jobs/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -3
- package/dist/node_modules/@allyhub/linkedin-extension/skills/allyhub/references/linkedin.md +3 -3
- package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-view/src/style.css +1 -1
- package/dist/node_modules/@allyhub/measure/package.json +1 -1
- package/dist/node_modules/@allyhub/media/package.json +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -2
- package/dist/node_modules/@allyhub/media-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/model/package.json +1 -1
- package/dist/node_modules/@allyhub/office-extension/markup/csv/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/csv/markup.json +1 -1
- package/dist/node_modules/@allyhub/office-extension/markup/document/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/presentation/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/workbook/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/workbook/markup.json +1 -1
- package/dist/node_modules/@allyhub/office-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/ext.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/mce.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/node.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/ns.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/opc.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
- package/dist/node_modules/@allyhub/piece/dist/export.d.ts +1 -1
- package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +2 -0
- package/dist/node_modules/@allyhub/piece/dist/look.d.ts +10 -2
- package/dist/node_modules/@allyhub/piece/dist/look.js +1 -1
- package/dist/node_modules/@allyhub/piece/dist/media.d.ts +8 -2
- package/dist/node_modules/@allyhub/piece/dist/script.js +1 -1
- package/dist/node_modules/@allyhub/piece/dist/source.d.ts +3 -0
- package/dist/node_modules/@allyhub/piece/package.json +1 -1
- package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
- package/dist/node_modules/@allyhub/project/package.json +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/events.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/kinds.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/page-frame.js +2 -0
- package/dist/node_modules/@allyhub/protocol/package.json +1 -1
- package/dist/node_modules/@allyhub/registry/package.json +1 -1
- package/dist/node_modules/@allyhub/render/package.json +1 -1
- package/dist/node_modules/@allyhub/report-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/report-extension/dist/build.js +3 -0
- package/dist/node_modules/@allyhub/report-extension/dist/check.js +37 -0
- package/dist/node_modules/@allyhub/report-extension/dist/cli/index.js +4 -0
- package/dist/node_modules/@allyhub/report-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/inline.js +58 -0
- package/dist/node_modules/@allyhub/report-extension/dist/page.js +23 -0
- package/dist/node_modules/@allyhub/report-extension/dist/project-tools.js +33 -0
- package/dist/node_modules/@allyhub/report-extension/dist/styles.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/theme.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/package.json +185 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/STYLE.md +180 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.json +15 -0
- package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
- package/dist/node_modules/@allyhub/runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/packages.js +2 -2
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +3 -3
- package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
- package/dist/node_modules/@allyhub/scaffold/dist/index.js +12 -8
- package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/index.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/server.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/cell-styles.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/check.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/file.js +2 -2
- package/dist/node_modules/@allyhub/sheet/dist/heatmap.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/html.js +8 -8
- package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/inspect.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/paginate.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/printed.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/sdk.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/sparklines.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/table-style.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/table-styles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/theme.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/tiles.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/units.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/write.js +14 -14
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +2 -2
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/tile-shapes.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
- package/dist/node_modules/@allyhub/sheet/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +7 -7
- package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +2 -2
- package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +2 -2
- package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +2 -2
- package/dist/node_modules/@allyhub/sheet-extension/dist/migrations.js +4 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/package.json +7 -3
- package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
- package/dist/node_modules/@allyhub/slides-core/dist/blocks.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/code.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/file.js +3 -3
- package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/model.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/office-layouts.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/office.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/script.js +2 -2
- package/dist/node_modules/@allyhub/slides-core/dist/styles/brief.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/editorial.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/index.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/kit.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/layouts.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/pitch.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/stage.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/tiles.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/theme.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/check.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +2 -2
- package/dist/node_modules/@allyhub/slides-extension/dist/deck-fonts.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/package.json +24 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/fonts.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/image-size.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +7 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/names.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/mtx.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +3 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/chartex.js +3 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/index.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/table.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/timing.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +3 -2
- package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
- package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/stage/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.html +42 -0
- package/dist/node_modules/@allyhub/stage-page/dist/style-faces.js +2 -0
- package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +96 -92
- package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/telemetry/dist/limit.js +2 -0
- package/dist/node_modules/@allyhub/telemetry/package.json +5 -1
- package/dist/node_modules/@allyhub/text-extension/markup/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/text-extension/markup-file/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/text-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/seams.js +1 -1
- package/dist/node_modules/@allyhub/video-core/package.json +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/loop.js +3 -0
- package/dist/node_modules/@allyhub/video-extension/package.json +2 -25
- package/dist/node_modules/@allyhub/video-measure/dist/check.js +2 -2
- package/dist/node_modules/@allyhub/video-measure/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/dist/seams.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/dist/version.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/package.json +1 -1
- package/dist/node_modules/@allyhub/video-sdk/dist/free.js +1 -1
- package/dist/node_modules/@allyhub/video-sdk/package.json +1 -1
- package/dist/node_modules/@allyhub/website/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/website/dist/website.js +2 -2
- package/dist/node_modules/@allyhub/website/package.json +1 -1
- package/dist/node_modules/@allyhub/website-extension/package.json +3 -3
- package/dist/node_modules/@allyhub/x-extension/package.json +1 -3
- package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +3 -3
- package/dist/node_modules/@allyhub/x-model/package.json +1 -1
- package/dist/node_modules/@allyhub/x-view/package.json +1 -1
- package/dist/package.json +15 -14
- package/dist/self-upgrade.js +2 -0
- package/dist/text/batch-text.js +1 -1
- package/dist/text/facts-text.js +5 -5
- package/dist/text/format.js +2 -2
- package/dist/update-notice.js +3 -0
- package/dist/version.js +1 -1
- package/dist/works.js +1 -1
- package/editor-web/assets/{abnfDiagram-WEYOIA3C-DYaMS_BB.js → abnfDiagram-WEYOIA3C-B4tvwU6C.js} +1 -1
- package/editor-web/assets/{architecture-WOLXFQ4H-g_Tjfl_y.js → architecture-WOLXFQ4H-V2fA0vY2.js} +1 -1
- package/editor-web/assets/{architectureDiagram-ZHVYKT53-CqdhofOL.js → architectureDiagram-ZHVYKT53-B6B7XN0M.js} +1 -1
- package/editor-web/assets/arrow-down-D-QZrqcz.js +1 -0
- package/editor-web/assets/arrow-up-B1zjKUHX.js +1 -0
- package/editor-web/assets/article-DW4eD_8K.js +3 -0
- package/editor-web/assets/article-Dm2dIEwc.js +7 -0
- package/editor-web/assets/{audio-lines-PZj77e7t.js → audio-lines-BFoW_IeO.js} +1 -1
- package/editor-web/assets/{bar-button-J9vbfzTx.js → bar-button-CJmpgNg4.js} +1 -1
- package/editor-web/assets/{blockDiagram-RJAE7QA3-Bc-28Bci.js → blockDiagram-RJAE7QA3-BizcUGOM.js} +1 -1
- package/editor-web/assets/{browser-C9NP0ZYz.js → browser-DEGNhKTV.js} +1 -1
- package/editor-web/assets/{c4Diagram-XDPPPE54-CTGJb8FB.js → c4Diagram-XDPPPE54-CBHS0dQ0.js} +1 -1
- package/editor-web/assets/calc-worker-Cr4a0xmt.js +168 -0
- package/editor-web/assets/channel-dyUtlVPg.js +1 -0
- package/editor-web/assets/{chart-no-axes-column-Be0lFcGF.js → chart-no-axes-column-Dyy25XZ_.js} +1 -1
- package/editor-web/assets/chip-BdQRH3FL.js +1 -0
- package/editor-web/assets/{chunk-2E7WHVMD-B2MPOVTU.js → chunk-2E7WHVMD-CMPBck_Q.js} +1 -1
- package/editor-web/assets/{chunk-4EMNKR2T-BUV1ZHP0.js → chunk-4EMNKR2T-Df22Adpt.js} +1 -1
- package/editor-web/assets/{chunk-55XCU76K-BZlpspL5.js → chunk-55XCU76K-CYrZ6_Q7.js} +1 -1
- package/editor-web/assets/{chunk-7S6XSTFO-CpKeisWE.js → chunk-7S6XSTFO-BfdG9NNW.js} +1 -1
- package/editor-web/assets/{chunk-AQDTSKZB-BJqwAPyo.js → chunk-AQDTSKZB-BCzZMoTJ.js} +1 -1
- package/editor-web/assets/{chunk-DSNLSHJZ-D6oPWl_W.js → chunk-DSNLSHJZ-DT0xT8Wf.js} +1 -1
- package/editor-web/assets/{chunk-HAGFOTED-B5pk4MZF.js → chunk-HAGFOTED-Bg3-EotU.js} +1 -1
- package/editor-web/assets/{chunk-HNE4Q36P-DHbSPvxQ.js → chunk-HNE4Q36P-BrSym24V.js} +1 -1
- package/editor-web/assets/{chunk-NQOKRVIF-CcL_GcRA.js → chunk-NQOKRVIF-CMxgkJWF.js} +1 -1
- package/editor-web/assets/{chunk-UHW7PFBP-YgiOL6XE.js → chunk-UHW7PFBP-DWEwoyPy.js} +1 -1
- package/editor-web/assets/{chunk-VQ5W62QI-p14b4UYc.js → chunk-VQ5W62QI-eTFh5_T9.js} +1 -1
- package/editor-web/assets/{chunk-WQQL4CDK-BWW0x-XH.js → chunk-WQQL4CDK-4PTupr9T.js} +1 -1
- package/editor-web/assets/{chunk-YZO67HFG-oG3qd68C.js → chunk-YZO67HFG-D5XAAFWm.js} +1 -1
- package/editor-web/assets/{chunk-ZAUX2LTX-CpcheH0u.js → chunk-ZAUX2LTX-CPsdaisO.js} +1 -1
- package/editor-web/assets/{chunk-ZCHMQSOR-cWQvLl1w.js → chunk-ZCHMQSOR-ClnuUyfy.js} +1 -1
- package/editor-web/assets/{classDiagram-v2-4MYWR3UA-7PG7YcdU.js → classDiagram-v2-4MYWR3UA-CM21waNF.js} +1 -1
- package/editor-web/assets/code-Ch6AB5bZ.js +1 -0
- package/editor-web/assets/{collaborator-BU4qU7O3.js → collaborator-CbTacvkB.js} +1 -1
- package/editor-web/assets/color-picker-BmKFn2ww.js +1 -0
- package/editor-web/assets/{copy-CuJSs0nI.js → copy-SoaMYqsN.js} +1 -1
- package/editor-web/assets/{createLucideIcon-lm_6n8YT.js → createLucideIcon-euu7Wcd9.js} +1 -1
- package/editor-web/assets/{cynefin-EF2NZ3EQ-CtcknEQ_.js → cynefin-EF2NZ3EQ-CJUHTgee.js} +1 -1
- package/editor-web/assets/{cynefinDiagram-WF24UDRP-Ca7VIsjN.js → cynefinDiagram-WF24UDRP-C9RIfuIV.js} +1 -1
- package/editor-web/assets/{dagre-NK4GIZVX-BzcSLtsr.js → dagre-NK4GIZVX-g-01KdpO.js} +1 -1
- package/editor-web/assets/deck-C0VxrlzX.js +1 -0
- package/editor-web/assets/{diagram-CBK3MWTC-DpRmTGlG.js → diagram-CBK3MWTC-CbOjWUu-.js} +1 -1
- package/editor-web/assets/{diagram-I5XIIV2D-BTrs_AX8.js → diagram-I5XIIV2D-C6psNS8J.js} +1 -1
- package/editor-web/assets/{diagram-ODIL2UCW-CkIVjPqH.js → diagram-ODIL2UCW-C9PUE46P.js} +1 -1
- package/editor-web/assets/{diagram-PFBEJUXE-BlFMbAG1.js → diagram-PFBEJUXE-vJ_pnB33.js} +1 -1
- package/editor-web/assets/{diagram-RJA3I4VV-D3f8VJ-D.js → diagram-RJA3I4VV-FwYlEfJ-.js} +1 -1
- package/editor-web/assets/{diagram-TYUNFSNR-Bbpngj6F.js → diagram-TYUNFSNR-FKpIxeUc.js} +1 -1
- package/editor-web/assets/{dist-DruvDNQe.js → dist-B8_6sJ_V.js} +5 -5
- package/editor-web/assets/dist-BI_BaYhO.js +19 -0
- package/editor-web/assets/dist-BaWFMuvr.js +1 -0
- package/editor-web/assets/dist-BdmMT8fP.js +5 -0
- package/editor-web/assets/dist-BgKyM9U6.js +3 -0
- package/editor-web/assets/dist-BqijryYd.js +1 -0
- package/editor-web/assets/dist-ByguWp3a.js +16 -0
- package/editor-web/assets/dist-CB-_0-X4.js +41 -0
- package/editor-web/assets/dist-CCP24Lel.js +19 -0
- package/editor-web/assets/dist-Cg0Z26Kv.js +6 -0
- package/editor-web/assets/dist-CtYjYJdv.js +1 -0
- package/editor-web/assets/dist-D07Kj8GR.js +1 -0
- package/editor-web/assets/dist-D2rGVz9C.js +1 -0
- package/editor-web/assets/dist-D3DwRF1k.js +547 -0
- package/editor-web/assets/dist-DCI21ljp.js +6 -0
- package/editor-web/assets/dist-DH8oJJw9.js +35 -0
- package/editor-web/assets/dist-DIJnhQFK.js +9 -0
- package/editor-web/assets/dist-DJvfQvM7.js +24 -0
- package/editor-web/assets/{dist-Bd8IxQPP.js → dist-DQ6RpEJD.js} +2 -2
- package/editor-web/assets/dist-DmCDcb2_.js +4 -0
- package/editor-web/assets/dist-H0z_DXDz.js +19 -0
- package/editor-web/assets/dist-QLXI7XGS.js +82 -0
- package/editor-web/assets/{docx-draw-CoK1oqQD.js → docx-draw-Dxb67W2d.js} +1 -1
- package/editor-web/assets/{ebnfDiagram-V4P3TTPT-BaKj-yL6.js → ebnfDiagram-V4P3TTPT-DBymUM-F.js} +1 -1
- package/editor-web/assets/{elk-QONTBCTQ-Cn2qv1_U.js → elk-QONTBCTQ-BNYR3OlS.js} +1 -1
- package/editor-web/assets/{erDiagram-KYQIGQAA-Bd7AEIDo.js → erDiagram-KYQIGQAA-cTNyOqW6.js} +1 -1
- package/editor-web/assets/esm-Cl3GKSDd.js +21 -0
- package/editor-web/assets/{eventmodeling-K75KTNOO-Sfp7_461.js → eventmodeling-K75KTNOO-C6FUZeXP.js} +1 -1
- package/editor-web/assets/eye-DwfE1USj.js +1 -0
- package/editor-web/assets/{file-question-mark-DlIjUK37.js → file-question-mark-PeZgyqkK.js} +1 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-ukTovy07.js +1 -0
- package/editor-web/assets/{ganttDiagram-R7GPNTJY-CBqcGdHI.js → ganttDiagram-R7GPNTJY-LD9mqQ1x.js} +1 -1
- package/editor-web/assets/{gitGraph-VSP46ZUC-WTokXKTW.js → gitGraph-VSP46ZUC-CtCBcQFl.js} +1 -1
- package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-BIWZHD9q.js → gitGraphDiagram-PDYL7XHY-DYQpOozz.js} +1 -1
- package/editor-web/assets/{group-BdrTp7gi.js → group-DwM2yqU8.js} +1 -1
- package/editor-web/assets/{hint-rlht0uxG.js → hint-F4fIBnVU.js} +1 -1
- package/editor-web/assets/index-Cah2zchD.css +2 -0
- package/editor-web/assets/index-omhSywJb.js +28 -0
- package/editor-web/assets/{info-OHQRW6UA-COC6G-_J.js → info-OHQRW6UA-IXInKPRO.js} +1 -1
- package/editor-web/assets/{infoDiagram-MVDRKAX5-DpaqdKBD.js → infoDiagram-MVDRKAX5-Ds7Cei7T.js} +1 -1
- package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-Dyn2MAy1.js → ishikawaDiagram-HPEHV2GE-DWs3qtAX.js} +1 -1
- package/editor-web/assets/iso-UwGLGD3F.js +1 -0
- package/editor-web/assets/{italic-zw4_eUNF.js → italic-BV7iHxoP.js} +1 -1
- package/editor-web/assets/{journeyDiagram-BOSHW7O7-DeSVfmm7.js → journeyDiagram-BOSHW7O7-BkNKVYBA.js} +1 -1
- package/editor-web/assets/{kanban-definition-FNSA4HC5-Bfg0lj7B.js → kanban-definition-FNSA4HC5-D3dMswnI.js} +1 -1
- package/editor-web/assets/{link-DopSU3aa.js → link-CFOv3nz-.js} +1 -1
- package/editor-web/assets/{mermaid-parser.core-CyhovuYE.js → mermaid-parser.core-D_W_0X0N.js} +3 -3
- package/editor-web/assets/{mermaid.core-Dx1fBVUG.js → mermaid.core-Bkirj-s5.js} +4 -4
- package/editor-web/assets/{mindmap-definition-6OY57UG3-QEU2HF_m.js → mindmap-definition-6OY57UG3-CMKkAAvI.js} +1 -1
- package/editor-web/assets/minus-ngE8owxs.js +1 -0
- package/editor-web/assets/{packet-JDAUHWVQ-ReJTa_hw.js → packet-JDAUHWVQ-CzCkgCfg.js} +1 -1
- package/editor-web/assets/palette-DchDLJj6.js +1 -0
- package/editor-web/assets/panes-BexRuZd2.js +3 -0
- package/editor-web/assets/{pegDiagram-ECIUJNBX-Bo1jFrvb.js → pegDiagram-ECIUJNBX-C8qHkx7M.js} +1 -1
- package/editor-web/assets/{pie-XZMESJXO-BrtYafNA.js → pie-XZMESJXO-BJqgxMrD.js} +1 -1
- package/editor-web/assets/{pieDiagram-GNMPY74T-Cj0zQqs_.js → pieDiagram-GNMPY74T-DyNntV5y.js} +1 -1
- package/editor-web/assets/{progress-CwKcXARv.js → progress-D1Uv3d1b.js} +1 -1
- package/editor-web/assets/{quadrantDiagram-D57K4MC3-D5npDAVn.js → quadrantDiagram-D57K4MC3-BHa-69ir.js} +1 -1
- package/editor-web/assets/{radar-ABXABTNO-C8RDrRqi.js → radar-ABXABTNO-BeRPjBBR.js} +1 -1
- package/editor-web/assets/{railroad-I3PHUGI6-ebDrmYTK.js → railroad-I3PHUGI6-BaRQqRsK.js} +1 -1
- package/editor-web/assets/{railroad-abnf-LNEFI6M7-BxKuqg6V.js → railroad-abnf-LNEFI6M7-BZfwomxZ.js} +1 -1
- package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-DOclnfpr.js → railroad-ebnf-DWYD2UWJ-DbgqpEF5.js} +1 -1
- package/editor-web/assets/{railroad-peg-JR7BVNR7-DN0A1fpq.js → railroad-peg-JR7BVNR7-BYOf3PsQ.js} +1 -1
- package/editor-web/assets/{railroadDiagram-Y72NRBL7-B3PjoVWw.js → railroadDiagram-Y72NRBL7-B5OAzOsD.js} +1 -1
- package/editor-web/assets/react-Byupo4pA.js +1 -0
- package/editor-web/assets/replace-CLLMtF4e.js +1 -0
- package/editor-web/assets/{requirementDiagram-EQYSW5RA-DLdzkQk5.js → requirementDiagram-EQYSW5RA-wqYNoqO0.js} +1 -1
- package/editor-web/assets/ribbon-tabs-B3IC9WOt.js +1 -0
- package/editor-web/assets/row-DqS4-5b1.js +1 -0
- package/editor-web/assets/{sankeyDiagram-SY24JHO5-Dip4Piv_.js → sankeyDiagram-SY24JHO5-Crf6GRsa.js} +1 -1
- package/editor-web/assets/schemas-C21MyseF.js +1 -0
- package/editor-web/assets/{iso-DoC-ZoBr.js → schemas-DlRAoVtq.js} +1 -1
- package/editor-web/assets/{scissors-B_xOiUhd.js → scissors-m6QcoEf2.js} +1 -1
- package/editor-web/assets/search-D75Bi2GU.js +1 -0
- package/editor-web/assets/{sequenceDiagram-BLEHNHQU-QnPcoybL.js → sequenceDiagram-BLEHNHQU-DUcHz4_d.js} +1 -1
- package/editor-web/assets/{session-DMlLCFWg.js → session--OJYv_B7.js} +1 -1
- package/editor-web/assets/{sigma-DSUsJhMn.js → sigma-B4AWtnVA.js} +1 -1
- package/editor-web/assets/snapshots-DYooVfOx.js +1 -0
- package/editor-web/assets/sound-DkR3qxSt.js +1 -0
- package/editor-web/assets/{square-arrow-out-up-right-DF5dvsSp.js → square-arrow-out-up-right-1NqFsNDe.js} +1 -1
- package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-D103CiMX.js → stateDiagram-v2-A6IESKWZ-DbeLdnpS.js} +1 -1
- package/editor-web/assets/{sticky-note-BdkIu5_D.js → sticky-note-s4QfzaBB.js} +1 -1
- package/editor-web/assets/{surface-DtCjIlrq.js → surface-BUoi7cmR.js} +1 -1
- package/editor-web/assets/swatch-DCmD1gZl.js +1 -0
- package/editor-web/assets/{swimlanes-B3ENRKFQ-y4gCqEoa.js → swimlanes-B3ENRKFQ-BDi6AeJI.js} +1 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-2wwOmxbv.js +8 -0
- package/editor-web/assets/{switch-8MU4Nfxe.js → switch-b6GCy_ix.js} +1 -1
- package/editor-web/assets/syntax-Bqyhj0dw.js +1 -0
- package/editor-web/assets/table-BW43XXVd.js +1 -0
- package/editor-web/assets/tablet-C6oePHEW.js +1 -0
- package/editor-web/assets/text-wrap-Baus6l-V.js +1 -0
- package/editor-web/assets/{textarea-D7TnPwv1.js → textarea-Bu6uPEqT.js} +1 -1
- package/editor-web/assets/{timeline-definition-JXYKGLGB-BMp76v4V.js → timeline-definition-JXYKGLGB-B0awa2hh.js} +1 -1
- package/editor-web/assets/tolerant-DM9s0Mt1.js +1 -0
- package/editor-web/assets/trash-2-SFReAxVM.js +1 -0
- package/editor-web/assets/{treeView-D4JQ5SDB-Q_GYyk0b.js → treeView-D4JQ5SDB-C91G0IGm.js} +1 -1
- package/editor-web/assets/{treemap-SAJKECNS-B5lRWdQB.js → treemap-SAJKECNS-CiOWiwl2.js} +1 -1
- package/editor-web/assets/{undo-2-C47jrRp5.js → undo-2-DCbMWoug.js} +1 -1
- package/editor-web/assets/updating-D0GEtwnJ.js +1 -0
- package/editor-web/assets/{usecaseDiagram-WPOLBNNX--QRllA-U.js → usecaseDiagram-WPOLBNNX-DMYM1MRe.js} +1 -1
- package/editor-web/assets/{vennDiagram-Q3Y3IDCW-CzkATPA3.js → vennDiagram-Q3Y3IDCW-DQIJ5vvN.js} +1 -1
- package/editor-web/assets/video-mMOFXHYK.js +1 -0
- package/editor-web/assets/{wardley-7MLQ67FV-BXzwcdJa.js → wardley-7MLQ67FV-C3H9HG8r.js} +1 -1
- package/editor-web/assets/{wardleyDiagram-IVAIDKWA-BQvC8Agx.js → wardleyDiagram-IVAIDKWA-DgsjqY1Y.js} +1 -1
- package/editor-web/assets/{whole-word-D3ZAtnkw.js → whole-word-C9TkGBCY.js} +1 -1
- package/editor-web/assets/{words-CaUHhQHf.js → words-B2jQwWpp.js} +3 -3
- package/editor-web/assets/words-DgMuEmDO.js +3 -0
- package/editor-web/assets/workbook-NtMEyLgf.js +41 -0
- package/editor-web/assets/{x-DlhyIKuu.js → x-BAJilkKD.js} +1 -1
- package/editor-web/assets/{xychartDiagram-4URNHDU4-aY-lsD5o.js → xychartDiagram-4URNHDU4-DzsGI527.js} +1 -1
- package/editor-web/assets/{zoom-in-PgsC94hP.js → zoom-in-yAGKspfC.js} +1 -1
- package/editor-web/index.html +9 -9
- package/package.json +6 -3
- package/CHANGELOG.md +0 -251
- package/dist/commands/render.js +0 -3
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +0 -4
- package/dist/node_modules/@allyhub/video-measure/dist/still.js +0 -2
- package/editor-web/assets/arrow-down-B8VUPCGi.js +0 -1
- package/editor-web/assets/arrow-up-Ds4juY8X.js +0 -1
- package/editor-web/assets/article-8evPh712.js +0 -3
- package/editor-web/assets/article-BhRtWYMd.js +0 -7
- package/editor-web/assets/calc-worker-oEIqrrTM.js +0 -45
- package/editor-web/assets/channel-wIj_OqDm.js +0 -1
- package/editor-web/assets/chart-amT4lgX3.js +0 -2
- package/editor-web/assets/chart-file-dGiRgFcH.js +0 -1
- package/editor-web/assets/code-CD-CbJG9.js +0 -1
- package/editor-web/assets/deck-C7fN0Qtn.js +0 -1
- package/editor-web/assets/dist-3iovns9K.js +0 -16
- package/editor-web/assets/dist-BkHnbOEj.js +0 -4
- package/editor-web/assets/dist-BvOrNcK-.js +0 -19
- package/editor-web/assets/dist-CEIszq39.js +0 -1
- package/editor-web/assets/dist-CU5RbLNH.js +0 -1
- package/editor-web/assets/dist-CWZj8IAm.js +0 -1
- package/editor-web/assets/dist-C_Mtrnif.js +0 -17
- package/editor-web/assets/dist-CdqpwdCV.js +0 -24
- package/editor-web/assets/dist-CjT76RAw.js +0 -43
- package/editor-web/assets/dist-CpzEn9T8.js +0 -6
- package/editor-web/assets/dist-CrFYWl5-.js +0 -3
- package/editor-web/assets/dist-D3C6FyrO.js +0 -82
- package/editor-web/assets/dist-D4eBFGVL.js +0 -1
- package/editor-web/assets/dist-DTcjb3cP.js +0 -18
- package/editor-web/assets/dist-D_WSM29I.js +0 -17
- package/editor-web/assets/dist-Dp_9ISjP.js +0 -531
- package/editor-web/assets/dist-J-tPYKGS.js +0 -5
- package/editor-web/assets/dist-YW8hS4IM.js +0 -9
- package/editor-web/assets/esm-Cjv8ogpP.js +0 -21
- package/editor-web/assets/file-exclamation-point-_L3ElCJ5.js +0 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-BlVUglzw.js +0 -1
- package/editor-web/assets/index-BQWZnyAQ.js +0 -28
- package/editor-web/assets/index-Dvh1t1om.css +0 -2
- package/editor-web/assets/layout-SWqqA0yV.js +0 -1
- package/editor-web/assets/minus-CbPnUIOy.js +0 -1
- package/editor-web/assets/props-form-BpSXbrSF.js +0 -1
- package/editor-web/assets/react-Edyoga_4.js +0 -1
- package/editor-web/assets/row-C_svyL8o.js +0 -1
- package/editor-web/assets/schemas-CQ_UU8-Z.js +0 -1
- package/editor-web/assets/search-Ba2BbT6T.js +0 -1
- package/editor-web/assets/slides-7xWhREpt.js +0 -1
- package/editor-web/assets/snapshots-BLX4NTQC.js +0 -1
- package/editor-web/assets/sound-bTlco_K3.js +0 -1
- package/editor-web/assets/split-tFGKk-x8.js +0 -3
- package/editor-web/assets/strikethrough-BwXWi4zg.js +0 -1
- package/editor-web/assets/svg-CWIBMIQ9.js +0 -1
- package/editor-web/assets/swatch-DhztHwPU.js +0 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-DKzB_wSf.js +0 -8
- package/editor-web/assets/syntax-CU_WPKxt.js +0 -1
- package/editor-web/assets/table-DRbddzx0.js +0 -1
- package/editor-web/assets/tabs-CuEawka3.js +0 -1
- package/editor-web/assets/tag-CIfWT8B_.js +0 -1
- package/editor-web/assets/text-align-start-Cic2-TLh.js +0 -1
- package/editor-web/assets/video-D0uTbHWx.js +0 -1
- package/editor-web/assets/words-XlXG79Ur.js +0 -3
- package/editor-web/assets/workbook-CiCXkjmN.js +0 -45
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
export const REPORT_LIMIT_DEFAULTS={ofOneErrorPerWindow:3,ofAllErrorsPerWindow:30,windowMs:36e5};const w=/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|\b[0-9a-f]{8,}\b|\d+/giu;export function errorCountedOfReport(e){const o=e.exception?.values?.at(-1),r=typeof e.message=="string"?e.message:e.message?.formatted??e.message?.message??"";return(o===void 0?r:`${o.type??"Error"}: ${o.value??""}`).replace(w,"#")}export function limitReports(e={}){const o={...REPORT_LIMIT_DEFAULTS,...e},r=e.now??Date.now;let n=r(),t=0;const s=new Map;return c=>{const a=r();a-n>=o.windowMs&&(n=a,t=0,s.clear());const f=errorCountedOfReport(c),i=s.get(f)??0;return t>=o.ofAllErrorsPerWindow||i>=o.ofOneErrorPerWindow?!1:(t+=1,s.set(f,i+1),!0)}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allyhub/telemetry",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
"types": "./dist/errors.d.ts",
|
|
16
16
|
"default": "./dist/errors.js"
|
|
17
17
|
},
|
|
18
|
+
"./limit": {
|
|
19
|
+
"types": "./dist/limit.d.ts",
|
|
20
|
+
"default": "./dist/limit.js"
|
|
21
|
+
},
|
|
18
22
|
"./levels": {
|
|
19
23
|
"types": "./dist/levels.d.ts",
|
|
20
24
|
"default": "./dist/levels.js"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{faceAt as A,facesAt as
|
|
2
|
+
import{faceAt as A,facesAt as g}from"@allyhub/piece";import{keyAt as f,rectAt as C,simplifyKeys as z}from"./motion.js";export function sourceAt(t,e){const n=t.cuts;if(n&&n.length>0){let s=n[0]??{at:t.start,from:t.from};for(const c of n)c.at<=e+1e-9&&(s=c);return s.from+(e-s.at)}return t.from+(e-t.start)*t.speed}export function sourceSpans(t){const e=(t.cuts??[]).map(c=>c.at).filter(c=>c>t.start&&c<t.end),n=[t.start,...e,t.end],s=[];for(let c=0;c<n.length-1;c++){const o=n[c]??0,u=n[c+1]??o;if(u<=o)continue;const r=sourceAt(t,o),h=r+(u-o)*(t.cuts?.length?1:t.speed);s.push(r<=h?[r,h]:[h,r])}return s.sort((c,o)=>c[0]-o[0])}export function zoomRect(t,e,n,s){if(e===1)return t;const c=1-1/e;return[t[0]+n*t[2]*c,t[1]+s*t[3]*c,t[2]/e,t[3]/e]}export function zoomChannel(t,e){return t.map(n=>({t:n.t,v:n[e],...n.ease?{ease:n.ease}:{}}))}export function placementAt(t,e){let n=t.box,s=t.picture;if(t.boxes&&t.boxes.length>0){const o=t.boxes[0]?.box??t.box,u=C(t.boxes.map(m=>({t:m.t,rect:m.box,...m.ease?{ease:m.ease}:{}})),e),r=boxFit(t,o,u),[h,d,i,x]=t.picture,a=u[0]+u[2]/2+(h+i/2-(o[0]+o[2]/2))*r,p=u[1]+u[3]/2+(d+x/2-(o[1]+o[3]/2))*r;s=[a-i*r/2,p-x*r/2,i*r,x*r],n=u}let c=t.crop;if(c&&t.pan&&t.pan.length>0){const o=f(t.pan.map(r=>({t:r.t,v:r.x})),e),u=f(t.pan.map(r=>({t:r.t,v:r.y})),e);c=[o,u,c[2],c[3]]}return c&&t.zoom&&t.zoom.length>0&&(c=zoomRect(c,f(zoomChannel(t.zoom,"z"),e),f(zoomChannel(t.zoom,"cx"),e),f(zoomChannel(t.zoom,"cy"),e))),{box:n,picture:s,...c?{crop:c}:{}}}export function boxFit(t,e,n){const[,,s,c]=t.picture;if(s<=0||c<=0||e[2]<=0||e[3]<=0)return 1;const o=t.fit==="cover"?Math.max:Math.min,u=o(e[2]/s,e[3]/c);return o(n[2]/s,n[3]/c)/u}export function sourceToFrame(t,e){const n=t.crop;if(!n)return e;const s=t.picture[2]/n[2],c=t.picture[3]/n[3];return[t.picture[0]+(e[0]-n[0])*s,t.picture[1]+(e[1]-n[1])*c,e[2]*s,e[3]*c]}function w(t,e){const n=Math.max(t[0],e[0]),s=Math.max(t[1],e[1]),c=Math.min(t[0]+t[2],e[0]+e[2]),o=Math.min(t[1]+t[3],e[1]+e[3]);return c>n&&o>s?[n,s,c-n,o-s]:void 0}export function faceOnFrame(t,e,n,s=t.speaker??e.speaker){if(n<t.start||n>=t.end)return;const c=A(e,sourceAt(t,n),s);if(!c)return;const o=placementAt(t,n);return w(sourceToFrame(o,c),o.box)}export function facesOnFrame(t,e,n){if(n<t.start||n>=t.end)return[];const s=placementAt(t,n);return g(e,sourceAt(t,n)).flatMap(c=>{const o=w(sourceToFrame(s,c.box),s.box);return o?[{id:c.id,box:o}]:[]})}export function reframeWindow(t,e){const n=e.w/e.h,s=Math.min(t.width,t.height*n);return{w:Math.min(t.width,Math.round(s)),h:Math.min(t.height,Math.round(s/n))}}export const REFRAME_FACE_Y=.4,REFRAME_FALLBACK={x:.5,y:.4};export function reframePath(t){const{window:e,source:n,layer:s}=t,c=a=>Math.min(Math.max(a,0),n.width-e.w),o=a=>Math.min(Math.max(a,0),n.height-e.h),u=t.faceY??REFRAME_FACE_Y,r=a=>{const p=t.track?A(t.track,sourceAt(s,a),t.speaker??t.track.speaker):void 0,m=p?p[0]+p[2]/2:(t.focus?.x??.5)*n.width,l=p?p[1]+p[3]/2:(t.focus?.y??.4)*n.height;return[c(m-e.w/2),o(l-e.h*u)]},h=(s.cuts??[]).map(a=>a.at).filter(a=>a>s.start&&a<s.end),d=[s.start,...h,s.end],i=[];for(let a=0;a<d.length-1;a++){const p=d[a]??0,m=d[a+1]??p,l=[];for(let y=p;y<m-1e-6;y+=.1)l.push({t:y,v:r(y)});const M=Math.max(p,m-.001);l.push({t:M,v:r(M)});for(const y of z(l,1.5))i.push({t:Math.round(y.t*1e6)/1e6,x:Math.round((y.v[0]??0)*100)/100,y:Math.round((y.v[1]??0)*100)/100})}const x=i[0];return x&&i.every(a=>a.x===x.x&&a.y===x.y)?[x]:i}export const PUNCH_IN=.2,PUNCH_OUT=.25,PUNCH_SCALE=1.12,PUNCH_EASE="in-out",PUNCH_CENTER={x:.5,y:.42};export function punchKeys(t){const e=[...t].sort((o,u)=>o.start-u.start),n=[],s=o=>Math.round(o*1e6)/1e6;let c=PUNCH_OUT;for(const o of e){const u=o.in??PUNCH_IN,r=o.out??PUNCH_OUT,h=o.ease??PUNCH_EASE,d=o.start-u/2,i=o.start+u/2,x=n.at(-1);x&&x.t>d?(n.pop(),n.push({t:s(Math.max(x.t-c,i)),z:o.scale,cx:o.cx,cy:o.cy,ease:h})):(n.push({t:s(Math.max(0,d)),z:1,cx:o.cx,cy:o.cy}),n.push({t:s(i),z:o.scale,cx:o.cx,cy:o.cy,ease:h}));const a=Math.max(o.end,i);n.push({t:s(a),z:o.scale,cx:o.cx,cy:o.cy}),n.push({t:s(a+r),z:1,cx:o.cx,cy:o.cy,ease:h}),c=r}return n}export const PULLBACK_SCALE=1.12,PULLBACK_DUR=.6,PULLBACK_EASE="out";export function pullbackKeys(t,e,n=[]){const s=r=>Math.round(r*1e6)/1e6,c=n[0],o=Math.min(t+e.dur,c?.t??1/0);if(o<=t+1e-6)return[...n];const u=c&&c.t<=o+1e-9&&c.z===1?n.slice(1):n;return[{t:s(t),z:e.scale,cx:e.cx,cy:e.cy},{t:s(o),z:1,cx:e.cx,cy:e.cy,ease:e.ease??PULLBACK_EASE},...u]}export function parsePunch(t){const e=/^(.*\S)@(\d*\.\d+)$/u.exec(t.trim());return!e?.[1]||e[2]===void 0?{ref:t}:{ref:e[1],scale:Number(e[2])}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{READ_DEFAULTS as
|
|
2
|
+
import{READ_DEFAULTS as T,countWords as v,phoneScale as B}from"@allyhub/piece";import{boxFit as C,zoomChannel as D}from"./footage-motion.js";import{keyAt as E,rectAt as F}from"./motion.js";export function textTime(t,i,r=T){const e=new Map;for(const n of t)e.set(n.text,(e.get(n.text)??0)+1);let o,a=0;for(const n of t){const m=e.get(n.text)??0;m>=a&&(a=m,o=n.text)}if(o===void 0)return;const u=t.filter(n=>n.text===o),c=n=>n.opacity>=r.opacity-1e-9&&n.shown>=r.shown-1e-9,h=r.every,f=n=>M(Math.min(n+h,i.end)),p=[];for(const n of u){if(!c(n))continue;const m=p.at(-1);m&&n.t-m[1]<h*.5?m[1]=f(n.t):p.push([M(n.t),f(n.t)])}const d=u.find(c)??u[0];if(!d)return;const g=(u.some(c)?u.filter(c):u).flatMap(n=>n.size===void 0?[]:[n.size]),x=g.length>0?Math.min(...g):void 0,s=(u.some(c)?u.filter(c):u).flatMap(n=>n.xHeight===void 0?[]:[n.xHeight]),l=s.length>0?Math.min(...s):void 0,w=B(i.frame,r.phone),y=n=>M(n.reduce((m,[A,L])=>m+Math.max(0,L-A),0)),z=[];for(const n of u){const m=z.at(-1);m&&n.t-m[1]<h*.5?m[1]=f(n.t):z.push([M(n.t),f(n.t)])}return{part:i.part,text:{layer:i.layer,z:i.z,text:o,box:d.box},...v(o),seconds:y(p),spans:p,onScreen:y(z),first:M(d.t),...x===void 0?{}:{size:{px:b(x),phone:b(x*w),...l===void 0?{}:{lowercase:{px:b(l),phone:b(l*w)}}}}}}const S=t=>t.toLowerCase().replace(/[^\p{L}\p{N}]/gu,"");export function speechShown(t,i){const r=new Set(i.flatMap(a=>a.split(/\s+/u).map(S))),e=t.split(/\s+/u).filter(a=>S(a)!==""),o=e.filter(a=>!r.has(S(a)));return{words:e.length,shown:e.length-o.length,unshown:[...new Set(o.map(S))]}}export function wordsAtOnce(t){const i=new Map;for(const e of t){if(e.spans.length===0)continue;const o=i.get(e.part)??[];o.push(e),i.set(e.part,o)}const r=[];for(const[e,o]of i){const a=[...new Set(o.flatMap(h=>h.spans.flat()))].sort((h,f)=>h-f),u=[];let c;for(const[h,f]of a.entries()){const p=o.filter(x=>x.spans.some(([s,l])=>f>=s&&f<l)),d=p.reduce((x,s)=>x+s.words,0),g=u.at(-1);(g?.words!==d||g.texts!==p.length)&&u.push({t:f,words:d,texts:p.length}),p.length>0&&(!c||d>c.words)?c={words:d,chars:p.reduce((x,s)=>x+s.chars,0),texts:p.length,from:f,until:a[h+1]??f}:c?.until===f&&d===c.words&&(c.until=a[h+1]??f)}c&&r.push({part:e,...c,steps:u})}return r}const M=t=>Math.round(t*1e3)/1e3,b=t=>Math.round(t*10)/10;export{cutThroughout}from"@allyhub/image-measure/layout";export function footageScale(t,i=1,r){const e=t.crop;if(!e||!t.source||e[2]<=0||e[3]<=0)return;const o=t.picture,a=t.zoom&&t.zoom.length>0?D(t.zoom,"z"):[],u=t.boxes&&t.boxes.length>1?t.boxes:void 0,c=u?.[0]?.box,h=u?.map(s=>({t:s.t,rect:s.box,...s.ease?{ease:s.ease}:{}})),f=Math.max(t.start,r?t.end-1/r:t.end),p=[t.start,...a.map(s=>s.t),...(u??[]).map(s=>s.t),f].map(s=>Math.min(Math.max(s,t.start),f)).sort((s,l)=>s-l),d=s=>{const l=a.length>0?E(a,s):1,w=h&&c?C(t,c,F(h,s)):1,y=Math.max(o[2]*w/e[2],o[3]*w/e[3])*l*i,z=[t.fit];return Math.abs(l-1)>1e-6&&z.push(`zoom ${String(M(l))}×`),h&&Math.abs(w-1)>1e-6&&z.push(`box key ${String(M(w))}×`),{scale:M(y),t:M(s),from:z}};let g=d(t.start),x=g;for(const s of p){const l=d(s);l.scale>g.scale&&(g=l),l.scale<x.scale&&(x=l)}return{part:t.part,file:t.file,source:[t.source.width,t.source.height],shown:[Math.round(e[2]),Math.round(e[3])],max:g,min:x}}export function contentBox(t,i,r){return{x:[r.left,Math.max(r.left,t-r.right)],y:[r.top,Math.max(r.top,i-r.bottom)]}}export function unionSpans(t){const i=t.filter(([e,o])=>o>e).map(([e,o])=>[e,o]).sort((e,o)=>e[0]-o[0]),r=[];for(const e of i){const o=r.at(-1);o&&e[0]<=o[1]?o[1]=Math.max(o[1],e[1]):r.push(e)}return r}export function freeBands(t,i){const[r,e]=t.y,o=[];let a=r;const u=(c,h)=>{h>c&&o.push({y:[c,h],x:[t.x[0],t.x[1]],height:h-c})};for(const[c,h]of unionSpans(i))if(!(h<=a)){if(c>=e)break;u(a,Math.min(c,e)),a=Math.max(a,h)}return u(a,e),o}export function boxRows(t,i){if(!(t[2]<=0||t[3]<=0)&&!(t[0]>=i[1]||t[0]+t[2]<=i[0]))return[Math.floor(t[1]),Math.ceil(t[1]+t[3])]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
export const SEAM_DEFAULTS={frames:3,rest:15,top:3};export function seamOptions(t={}){const
|
|
2
|
+
export const SEAM_DEFAULTS={frames:3,rest:15,top:3};export function seamOptions(t={}){const s=(o,h,M)=>o!==void 0&&Number.isFinite(o)&&o>=h?Math.round(o):M;return{frames:s(t.frames,2,SEAM_DEFAULTS.frames),rest:t.rest!==void 0&&Number.isFinite(t.rest)&&t.rest>=0?t.rest:SEAM_DEFAULTS.rest,top:s(t.top,0,SEAM_DEFAULTS.top)}}const F=t=>Math.round(t*10)/10,x=t=>Math.round(t*1e3)/1e3,N=t=>[t[0]+t[2]/2,t[1]+t[3]/2],$=t=>Math.sqrt(Math.max(0,t[2])*Math.max(0,t[3]));export function angleOf(t,s){return F(Math.atan2(s,t)*180/Math.PI)}export function turnOf(t,s){let o=(s-t)%360;return o>180&&(o-=360),o<=-180&&(o+=360),F(o)}const k=(t,s,o)=>{const h=Math.hypot(t,s);return{vx:F(t),vy:F(s),speed:F(h),...h>=o&&h>0?{angle:angleOf(t,s)}:{}}};export function seamSide(t,s,o,h,M,y){const p=new Map(o.map(n=>[x(n),n])),g=[];for(const n of t){if(n.part!==s)continue;const a=n.samples.filter(w=>p.has(x(w.t))&&w.box!==void 0&&w.opacity>.05),S=h==="last"?a.at(-1):a[0];if(!S?.box)continue;const r=a[0],i=a.at(-1);let f=0,m=0,v=0,O=0,b=0;const z=r?p.get(x(r.t))??r.t:0,E=i?p.get(x(i.t))??i.t:0;if(r?.box&&i?.box&&E>z){const w=E-z,[D,L]=N(r.box),[P,T]=N(i.box);f=(P-D)/w,m=(T-L)/w;const I=$(r.box);b=($(i.box)-I)/w,v=I>0?b/I:0,O=(i.opacity-r.opacity)/w}const C=k(f,m,y.rest),A=S.box;g.push({layer:n.layer,what:n.what,selector:n.selector,...n.name===void 0?{}:{name:n.name},box:A,area:x(A[2]*A[3]/Math.max(1,M[0]*M[1])),...C,scale:x(v),fade:x(O),moving:Math.hypot(f,m)>=y.rest||Math.abs(b)>=y.rest})}const l=n=>Math.max(0,n.box[2]*n.box[3]),e=g.filter(n=>n.moving),d=[...e.sort((n,a)=>l(a)-l(n)),...g.filter(n=>!n.moving).sort((n,a)=>l(a)-l(n))],c=e.reduce((n,a)=>n+l(a),0),u=c>0?{...k(e.reduce((n,a)=>n+a.vx*l(a),0)/c,e.reduce((n,a)=>n+a.vy*l(a),0)/c,y.rest),scale:x(e.reduce((n,a)=>n+a.scale*l(a),0)/c)}:void 0;return{part:s,from:x(o[0]??0),to:x(o.at(-1)??0),things:g.length,moving:e.length,list:y.top===0?d:d.filter(n=>n.moving).slice(0,y.top),...u?{overall:u}:{}}}export function changeOf(t,s){return{...t?.angle!==void 0&&s?.angle!==void 0?{turn:turnOf(t.angle,s.angle)}:{},speed:[t?.speed??0,s?.speed??0]}}export function seamCarriers(t,s,o){const h=e=>!o||(e[0]??0)<o[0]&&(e[0]??0)+(e[2]??0)>0&&(e[1]??0)<o[1]&&(e[1]??0)+(e[3]??0)>0,M=e=>e.name??(e.what.startsWith("text ")?e.what:void 0),y=e=>{const d=new Map;for(const c of e){const u=M(c);u!==void 0&&d.set(u,d.has(u)?null:c)}return d},p=y(t),g=y(s),l=[];for(const[e,d]of p){const c=g.get(e);if(!d||!c||!h(d.box)||!h(c.box))continue;const[u,n]=N(d.box),[a,S]=N(c.box),r=$(d.box);l.push({name:e,before:d.box,after:c.box,distance:F(Math.hypot(a-u,S-n)),size:x(r>0?$(c.box)/r:0),speed:[d.speed,c.speed]})}return l}const q=t=>{const s=new Float32Array(t.width*t.height);for(let o=0;o<s.length;o++)s[o]=.2126*(t.data[o*4]??0)+.7152*(t.data[o*4+1]??0)+.0722*(t.data[o*4+2]??0);return s};export function pictureShift(t,s,o){const h=Math.min(t.width,s.width),M=Math.min(t.height,s.height),y=q(t),p=q(s),g=(r,i)=>{let f=0,m=0;for(let v=Math.max(0,i);v<Math.min(M,M+i);v++){const O=v-i;for(let b=Math.max(0,r);b<Math.min(h,h+r);b++)f+=Math.abs((p[v*s.width+b]??0)-(y[O*t.width+(b-r)]??0)),m++}return m>=h*M/2?f/m:1/0},l=g(0,0);let e={dx:0,dy:0,c:l};const d=new Map,c=Math.max(0,Math.round(o));for(let r=-c;r<=c;r++)for(let i=-c;i<=c;i++){const f=g(i,r);d.set(`${String(i)},${String(r)}`,f),(f<e.c-1e-9||Math.abs(f-e.c)<=1e-9&&Math.hypot(i,r)<Math.hypot(e.dx,e.dy))&&(e={dx:i,dy:r,c:f})}const u=(r,i)=>d.get(`${String(r)},${String(i)}`)??1/0,n=(r,i,f)=>{if(!Number.isFinite(r)||!Number.isFinite(f))return 0;const m=r-2*i+f;return m>1e-9?Math.max(-.5,Math.min(.5,(r-f)/(2*m))):0},a=n(u(e.dx-1,e.dy),e.c,u(e.dx+1,e.dy)),S=n(u(e.dx,e.dy-1),e.c,u(e.dx,e.dy+1));return{dx:e.c<l-1e-9?e.dx+a:0,dy:e.c<l-1e-9?e.dy+S:0,error:x(e.c),still:x(l)}}export function pictureMotion(t,s,o,h,M){if(t.length<2)return;let y=0,p=0,g=0,l=0,e=0;for(let d=1;d<t.length;d++){const c=t[d-1],u=t[d];if(!c||!u)continue;const n=pictureShift(c,u,h);y+=n.dx,p+=n.dy,g+=n.error,l+=n.still,e++}if(e!==0)return{...k(y/e*o*s,p/e*o*s,M),match:x(g/e),still:x(l/e)}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
2
|
import{INTERPRETATION_FILE as g}from"@allyhub/formats";import{INTERPRETATION_SHAPE as j}from"@allyhub/video-measure";const p=(e,s)=>`${String(e)} ${s}${e===1?"":"s"}`,h=e=>e.toFixed(2),f=e=>`${e>=0?"+":""}${String(Math.round(e*100))}%`,l=e=>e>=0?`+${e.toFixed(2)}`:`−${(-e).toFixed(2)}`,$=(e,s=2)=>e===null?"—":String(Math.round(e*10**s)/10**s),S=(e,s=70)=>`“${e.slice(0,s)}${e.length>s?"…":""}”`,T=12;function x(e){if(!e)return"";const s=e.bitrate===void 0?"":` at ${String(Math.round(e.bitrate/1e3))} kbps`;return` · ${e.codec??""}${s}`}function P(e){const s=t=>`median ${String(t.median)} dBFS (${String(t.p10)} to ${String(t.p90)})`;return` sound: ${e.words?`under the words ${s(e.words)}`:`whole ${s(e.whole)}`}${e.between?`; between them ${String(e.between.seconds)} s, ${s(e.between)}, ${String(Math.round(e.between.voicedShare*100))}% voiced, ${String(e.between.onsetsPerMinute)} onsets/min`:""}; floor ${String(e.floor)} dBFS`}function E(e){const s=e.motion;return` picture: luma ${$(e.luma.p1,1)}/${$(e.luma.p50,1)}/${$(e.luma.p99,1)} (1st/50th/99th), at black ${$(e.blackShare,3)}, grain ${$(e.noise)}, sharpness ${$(e.sharpness)}, saturation ${$(e.saturation,3)}, warmth ${$(e.warmth,3)}; camera speed ${$(s.speed.p50,4)} widths/s, shake ${$(s.shake.p50,5)} widths, still ${$(s.stillShare,3)}`}function F(e){const s=n=>e.recording.spectrum.find(a=>a.hz===n)?.db,t=e.bandwidth.reach.map(n=>`−${String(n.drop)} dB at ${n.hz===null?"—":`${String(n.hz)} Hz`}`).join(", ");return` loudness: ${$(e.loudness.integrated,1)} LUFS, range ${$(e.loudness.range,1)} LU, true peak ${$(e.loudness.truePeak,1)} dBTP; bands ${[125,500,2e3,8e3].map(n=>`${String(n)} ${String(s(n)??"—")}`).join(", ")} dB against 1 kHz; reach ${t}`}export function referenceText(e,s){const t=e.reference,n=t.pacing,a=t.shots,c=e.sections,m=Math.max(4,...c.sections.map(o=>o.name.length)),u=[s(`${e.dir}/reference.json`),` ${h(t.duration)} s · ${String(t.width)}×${String(t.height)} · ${String(t.fps)} fps${x(t.encoding)} · ${t.wordsMissing?"words missing":p(t.wordCount,"word")} · ${p(a.cuts.length,"cut")} (${String(a.weak.length)} weak; a cut scores ${String(a.threshold)} or more${a.candidates?`, all ${String(a.candidates.length)} peaks in shots.candidates`:""})`,...t.wordsMissing?[` words: not heard (${t.wordsMissing.message}${t.wordsMissing.hint===void 0?"":` ${t.wordsMissing.hint}`}); ${t.wordsMissing.instead}`]:t.sound===void 0?[" speech: none (no sound)"]:[` speech: ${p(t.speech.sentences.length,"sentence")}, ${p(t.speech.pauses.length,"pause")} of ${String(t.speech.pause)} s or more`],t.textMissing?` on-screen text: not read (${t.textMissing.message}${t.textMissing.hint===void 0?"":` ${t.textMissing.hint}`}); ${t.textMissing.instead}`:` on-screen text: ${p(t.text.length,"line")} read in ${p(t.ocr.frames,"frame")}${t.ocr.unread?`; ${p(t.ocr.unread,"frame")} not read (ocr.unread)`:""}`,...t.sound?[P(t.sound)]:[],` pace: ${String(n.cutsPerMinute)} cuts/min, median shot ${h(n.medianShot)} s, ${String(n.wordsPerMinute)} words/min${n.timeToFirstWord===void 0?"":`, first word at ${h(n.timeToFirstWord)} s`}, text on screen ${String(Math.round(n.textShare*100))}%${n.tempo?`, tempo ${String(n.tempo.bpm)} BPM (confidence ${$(n.tempo.confidence)})`:""}`,E(t.picture),...t.audio?[F(t.audio)]:[],"",c.from==="interpretation"?` Sections (${g}):`:" Neutral split, mechanics only (its rule is segments.rule in reference.json):",...c.sections.map(o=>` ${o.name.padEnd(m)} ${h(o.start).padStart(6)}–${h(o.end).padEnd(6)} ${p(o.cuts.length,"cut").padEnd(7)} ${String(o.wordsPerMinute).padStart(5)} words/min ${S(o.said)}`)];if(t.text.length>0){const o=[...t.text].sort((d,r)=>r.seconds-d.seconds||d.id-r.id).slice(0,T);u.push("",` Text on screen, the ${String(o.length)} longest on screen of ${String(t.text.length)} (#id; reference.json's text[] has every line with its box and spans):`,...o.map(d=>` #${String(d.id).padEnd(4)} ${S(d.text,40).padEnd(44)} y ${h(d.box[1]+d.box[3]/2)} height ${d.height.toFixed(3)} ${h(d.seconds).padStart(6)} s said ${String(Math.round(d.said*100))}%`))}u.push("",` sheets: ${e.sheets.map(s).join(", ")}`);const i=e.interpretation;return i&&"problems"in i?u.push(` ${s(i.file)} was not used: ${i.problems.join("; ")}. Fix it and run allyhub reference ${s(e.dir)} again.`):i||u.push(` No interpretation yet. Read the sheets and reference.json, then write ${s(`${e.dir}/${g}`)}: ${j}. allyhub reference ${s(e.dir)} then labels the sheets with its sections.`),u.join(`
|
|
3
|
-
`)}export function compareText(e,s,t){const n=e.comparison,a=n.overall,c=a.diff,m=r=>`${r>=0?"+":""}${String(r)}`,u=(r,b,M,y)=>` ${r.padEnd(16)} ${b.padStart(9)} → ${M.padEnd(9)} ${y}`,i=r=>r===void 0?"none":`${h(r)} s`,o=n.matches.filter(r=>!r.withinTolerance),d=e.problems.filter(r=>r.level==="error");return[`${e.piece} (${e.format}) against ${s(e.reference)}`,n.sections.from==="interpretation"?`The reference's sections are ${g}'s.`:`The reference's sections are its neutral segments (s1, s2…: a mechanical split by pauses and cuts); write ${g} beside reference.json to compare against sections of your own.`,...e.ref.wordsMissing?["The reference's words are missing: its words/min and first word read as none."]:[],n.by==="time"?`Compared by time${n.byWhy===void 0?"":` (${n.byWhy}; --by parts tries anyway)`}: each section against the same seconds of the piece, named by the parts they span.`:"Compared by parts: the piece's parts aligned to the sections (--by time for the same seconds of each).",`The piece measured from its code: ${String(n.places.filter(r=>r.cut).length)} of the ${String(n.places.length)} places its picture may cut are cuts at the reference's threshold (places in --json).`,"Per section, reference → piece (piece − reference):",...n.matches.map(r=>` ${r.ref.names.join("+").padEnd(14)} ${h(r.ref.dur).padStart(6)} s → ${r.ours.keys.join("+").padEnd(16)} ${h(r.ours.dur).padStart(6)} s ${l(r.diff.seconds)} s (${f(r.diff.share)}) cuts/min ${String(r.ref.cutsPerMinute)}→${String(r.ours.cutsPerMinute)} words/min ${String(r.ref.wordsPerMinute)}→${String(r.ours.wordsPerMinute)} text ${h(r.ref.textSeconds)}→${h(r.ours.textSeconds)} s`),"Overall:",u("duration",`${h(a.reference.duration)} s`,`${h(a.ours.duration)} s`,`${l(c.seconds)} s (${f(c.share)})`),u("cuts/min",String(a.reference.cutsPerMinute),String(a.ours.cutsPerMinute),m(c.cutsPerMinute)),u("words/min",String(a.reference.wordsPerMinute),String(a.ours.wordsPerMinute),m(c.wordsPerMinute)),u("first word",i(a.reference.timeToFirstWord),i(a.ours.timeToFirstWord),c.timeToFirstWord===void 0?"":`${l(c.timeToFirstWord)} s`),u("text on screen",`${String(Math.round(a.reference.textShare*100))}%`,`${String(Math.round(a.ours.textShare*100))}%`,`${m(Math.round(c.textShare*100))} points`),"",n.summary.meanDurationDiff===void 0?"No section matched.":`At ±${String(Math.round(n.summary.tolerance*100))}%: ${String(n.summary.sectionsWithin)} of ${String(n.summary.sections)} reference sections within, mean |duration difference| ${String(Math.round(n.summary.meanDurationDiff*100))}%${o.length?`; outside: ${o.map(r=>r.ref.names.join("+")).join(", ")}`:""}.`,` sheet: ${s(e.sheet)}`,...d.length>0?["
|
|
3
|
+
`)}export function compareText(e,s,t){const n=e.comparison,a=n.overall,c=a.diff,m=r=>`${r>=0?"+":""}${String(r)}`,u=(r,b,M,y)=>` ${r.padEnd(16)} ${b.padStart(9)} → ${M.padEnd(9)} ${y}`,i=r=>r===void 0?"none":`${h(r)} s`,o=n.matches.filter(r=>!r.withinTolerance),d=e.problems.filter(r=>r.level==="error");return[`${e.piece} (${e.format}) against ${s(e.reference)}`,n.sections.from==="interpretation"?`The reference's sections are ${g}'s.`:`The reference's sections are its neutral segments (s1, s2…: a mechanical split by pauses and cuts); write ${g} beside reference.json to compare against sections of your own.`,...e.ref.wordsMissing?["The reference's words are missing: its words/min and first word read as none."]:[],n.by==="time"?`Compared by time${n.byWhy===void 0?"":` (${n.byWhy}; --by parts tries anyway)`}: each section against the same seconds of the piece, named by the parts they span.`:"Compared by parts: the piece's parts aligned to the sections (--by time for the same seconds of each).",`The piece measured from its code: ${String(n.places.filter(r=>r.cut).length)} of the ${String(n.places.length)} places its picture may cut are cuts at the reference's threshold (places in --json).`,"Per section, reference → piece (piece − reference):",...n.matches.map(r=>` ${r.ref.names.join("+").padEnd(14)} ${h(r.ref.dur).padStart(6)} s → ${r.ours.keys.join("+").padEnd(16)} ${h(r.ours.dur).padStart(6)} s ${l(r.diff.seconds)} s (${f(r.diff.share)}) cuts/min ${String(r.ref.cutsPerMinute)}→${String(r.ours.cutsPerMinute)} words/min ${String(r.ref.wordsPerMinute)}→${String(r.ours.wordsPerMinute)} text ${h(r.ref.textSeconds)}→${h(r.ours.textSeconds)} s`),"Overall:",u("duration",`${h(a.reference.duration)} s`,`${h(a.ours.duration)} s`,`${l(c.seconds)} s (${f(c.share)})`),u("cuts/min",String(a.reference.cutsPerMinute),String(a.ours.cutsPerMinute),m(c.cutsPerMinute)),u("words/min",String(a.reference.wordsPerMinute),String(a.ours.wordsPerMinute),m(c.wordsPerMinute)),u("first word",i(a.reference.timeToFirstWord),i(a.ours.timeToFirstWord),c.timeToFirstWord===void 0?"":`${l(c.timeToFirstWord)} s`),u("text on screen",`${String(Math.round(a.reference.textShare*100))}%`,`${String(Math.round(a.ours.textShare*100))}%`,`${m(Math.round(c.textShare*100))} points`),"",n.summary.meanDurationDiff===void 0?"No section matched.":`At ±${String(Math.round(n.summary.tolerance*100))}%: ${String(n.summary.sectionsWithin)} of ${String(n.summary.sections)} reference sections within, mean |duration difference| ${String(Math.round(n.summary.meanDurationDiff*100))}%${o.length?`; outside: ${o.map(r=>r.ref.names.join("+")).join(", ")}`:""}.`,` sheet: ${s(e.sheet)}`,...d.length>0?["Errors, which stop numbers past them being measured:",...t(d)]:[]].join(`
|
|
4
4
|
`)}const w=e=>e===void 0||!Number.isFinite(e)?"—":String(Number(e.toPrecision(4)));export function setText(e){const s=Object.entries(e.numbers),t=s.filter(([i])=>!i.includes("[")),n=Math.min(48,Math.max(8,...t.map(([i])=>i.length))),a=e.place!==void 0,c=[`${p(e.n,"reference")}${e.where?`, labels ${e.where.map(i=>`${i.key}=${i.value}`).join(", ")}`:""}${a?`; placed: ${e.place?.id??""}`:""}`,...(e.left??[]).map(i=>` left out: ${i.dir}: ${i.why}`),"",`${"number".padEnd(n)} ${"n".padStart(4)} ${["p10","p25","p50","p75","p90"].map(i=>i.padStart(9)).join(" ")}${a?` ${"value".padStart(9)} pct`:""}`,...t.map(([i,o])=>`${(i.length>n?`…${i.slice(i.length-n+1)}`:i).padEnd(n)} ${String(o.n).padStart(4)} ${[o.p10,o.p25,o.p50,o.p75,o.p90].map(r=>w(r).padStart(9)).join(" ")}${a?` ${w(o.value).padStart(9)} ${o.percentile===void 0?" —":String(Math.round(o.percentile)).padStart(3)}`:""}`)];t.length<s.length&&c.push(` and ${String(s.length-t.length)} numbers by bin (spectra, reaches, sharpness by speed, grain by light) in --json`);const m=Object.entries(e.labels);m.length>0&&c.push("",`Labels (${g}), each value's share:`,...m.map(([i,o])=>` ${i}: ${Object.entries(o).map(([d,r])=>`${d} ${String(Math.round(r*100))}%`).join(", ")}`));const u=Object.entries(e.measuredWith).filter(([,i])=>Object.keys(i).length>1);return u.length>0&&c.push("","Measured with different parameters:",...u.map(([i,o])=>` ${i}: ${Object.entries(o).map(([d,r])=>`${d} (${String(r)})`).join(", ")}`)),c.join(`
|
|
5
5
|
`)}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{contrast as o}from"./contrast.js";import{fidelity as
|
|
2
|
+
import{contrast as o}from"./contrast.js";import{fidelity as m}from"./fidelity.js";import{seams as r}from"./joins.js";import{loop as t}from"./loop.js";import{timeline as i}from"./timeline.js";const e={timeline:i,loop:t,contrast:o,seams:r,fidelity:m};export default e;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{z as
|
|
2
|
+
import{z as a}from"zod";import{STRETCH as l,VERSION_FIELDS as m,allFindings as c,defineView as p}from"@allyhub/build";import{SEAM_DEFAULTS as u}from"@allyhub/video-core";import{cutSeams as f,stretchOf as h}from"@allyhub/video-measure";import{filmOf as S,looking as d,mustBeVideo as g}from"./common.js";export const seams=p({input:a.strictObject({...m,...l,all:c(`every thing at each join (without it, the ${String(u.top)} largest each side)`)}),positional:["item"],examples:["allyhub inspect seams launch/film --part hook"],async run(t,e){const o=await e.version(t,"check",async r=>{const i=S(r);g(i,"it has no joins"),await d(e,i,t);const{from:s,to:n}=h(i.timeline,t);return f(i.version,t.all?{top:0}:{},{picture:!0,from:s,to:n})});return e.measured(o.result,o,{all:t.all})}});
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{z as m}from"zod";import{VERSION_FIELDS as l,defineView as f}from"@allyhub/build";import{loopSeam as p}from"@allyhub/video-measure";import{filmOf as c,looking as g,mustBeVideo as u}from"./common.js";export const loop=f({input:m.strictObject(l),positional:["item"],examples:["allyhub inspect loop launch/film"],async run(a,e){const i=await e.version(a,"render",async o=>{const s=c(o);return u(s,"it has no loop"),await g(e,s),p(s.timeline,n=>s.still(n))}),t=i.result,r=o=>`mean ${String(o.mean)} of 255, largest ${String(o.max)}`;return{value:{loop:t,...e.pageJson(i)},text:[`Loop seam (${String(t.frames)} frames at ${String(t.fps)} fps): the last frame against the first differs by ${r(t.seam)}.`,` Two frames in a row, for scale: the first two ${r(t.first)}; the last two ${r(t.last)}.`,...e.pageLines(i)].join(`
|
|
3
|
+
`)}}});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allyhub/video-extension",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./tools": {
|
|
@@ -265,18 +265,10 @@
|
|
|
265
265
|
"kind": "flat-frames",
|
|
266
266
|
"about": "Runs of nearly flat frames unlike the picture around them"
|
|
267
267
|
},
|
|
268
|
-
{
|
|
269
|
-
"kind": "still-picture",
|
|
270
|
-
"about": "Stretches where the picture holds: how long, and how much changed in them"
|
|
271
|
-
},
|
|
272
268
|
{
|
|
273
269
|
"kind": "cut-seam",
|
|
274
270
|
"about": "How things move either side of each join: direction, speed and the change across; things named alike on both sides"
|
|
275
271
|
},
|
|
276
|
-
{
|
|
277
|
-
"kind": "flash",
|
|
278
|
-
"about": "Frames unlike both the frame before and the frame after: a flash, a blank frame, a layer for one frame"
|
|
279
|
-
},
|
|
280
272
|
{
|
|
281
273
|
"kind": "music-length",
|
|
282
274
|
"about": "Music length against video length"
|
|
@@ -312,24 +304,14 @@
|
|
|
312
304
|
"summary": "One version's timeline, drawn nowhere: each part's stretch, layers and their stacking, speech, anchors, room tone, transitions, sound effects, music, generated media",
|
|
313
305
|
"module": "./dist/inspect/index.js"
|
|
314
306
|
},
|
|
315
|
-
{
|
|
316
|
-
"name": "motion",
|
|
317
|
-
"summary": "Follow everything on screen frame by frame and list each thing's largest step, a move or a fade",
|
|
318
|
-
"module": "./dist/inspect/index.js"
|
|
319
|
-
},
|
|
320
307
|
{
|
|
321
308
|
"name": "loop",
|
|
322
309
|
"summary": "A video's last frame against its first, and two frames in a row at each end for scale",
|
|
323
310
|
"module": "./dist/inspect/index.js"
|
|
324
311
|
},
|
|
325
|
-
{
|
|
326
|
-
"name": "still",
|
|
327
|
-
"summary": "The stretches where a video's picture holds, measured now",
|
|
328
|
-
"module": "./dist/inspect/index.js"
|
|
329
|
-
},
|
|
330
312
|
{
|
|
331
313
|
"name": "contrast",
|
|
332
|
-
"summary": "The text against the pixels behind its glyphs now, as WCAG contrast ratios
|
|
314
|
+
"summary": "The text against the pixels behind its glyphs now, as WCAG contrast ratios",
|
|
333
315
|
"module": "./dist/inspect/index.js"
|
|
334
316
|
},
|
|
335
317
|
{
|
|
@@ -337,11 +319,6 @@
|
|
|
337
319
|
"summary": "A video's joins measured now, the picture's own shift too",
|
|
338
320
|
"module": "./dist/inspect/index.js"
|
|
339
321
|
},
|
|
340
|
-
{
|
|
341
|
-
"name": "flash",
|
|
342
|
-
"summary": "Every frame of a video against the frames beside it, now",
|
|
343
|
-
"module": "./dist/inspect/index.js"
|
|
344
|
-
},
|
|
345
322
|
{
|
|
346
323
|
"name": "fidelity",
|
|
347
324
|
"summary": "A scenery's screens drawn in the world against their own elements, now; each comparison side by side in .allyhub/work/fidelity/",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{comboKey as M}from"@allyhub/piece";import{ffmpegOf as S,ffmpegRuns as A,postPlaces as C,postProblems as E}from"@allyhub/render";import{cutThroughout as L}from"@allyhub/video-core";import{matrixFacts as _,measuredFacts as O}from"./facts.js";import{flatFrames as R}from"./flat.js";import{generatedFact as $,mismatchFacts as H}from"./generated.js";import{StretchLoudness as D,estimatePlan as K,loadedPlan as T,planProblems as U,wholeOf as j}from"./plans.js";import{cutSeams as z
|
|
3
|
-
`)[0]??""}`}}return await A(t)?{ffmpeg:t}:{missing:`${t} does not run`}}export async function checkFilm(
|
|
2
|
+
import{comboKey as M}from"@allyhub/piece";import{ffmpegOf as S,ffmpegRuns as A,postPlaces as C,postProblems as E}from"@allyhub/render";import{cutThroughout as L}from"@allyhub/video-core";import{matrixFacts as _,measuredFacts as O}from"./facts.js";import{flatFrames as R}from"./flat.js";import{generatedFact as $,mismatchFacts as H}from"./generated.js";import{StretchLoudness as D,estimatePlan as K,loadedPlan as T,planProblems as U,wholeOf as j}from"./plans.js";import{cutSeams as z}from"./seams.js";const B=new Set(["text-time","words-on-screen","speech-on-screen","text-covered","flat-frames"]);export const CUT_RECHECK={most:48,every:2};export async function recheckCuts(n,t,s,r){const g=L(t);if(g.length===0)return t;const F=CUT_RECHECK.every/s,y=new Set;for(const a of g){const i=r.find(e=>e.key===a.part);if(!i)continue;const p=t.moments.filter(e=>e.part===a.part).map(e=>e.t).sort((e,m)=>e-m),d=a.moments[0]??a.t,w=a.moments.at(-1)??a.t,h=Math.max(i.start,p.filter(e=>e<d).at(-1)??i.start),f=Math.min(i.end-1/s,p.find(e=>e>w)??i.end),o=Math.min(CUT_RECHECK.most,Math.floor((f-h)/F)+1),c=o>1?(f-h)/(o-1):0;for(let e=0;e<o;e++){const m=Math.round((h+c*e)*s)/s;p.includes(m)||y.add(m)}}if(y.size===0)return t;const b=await n.measure([...y].sort((a,i)=>a-i));return{...t,moments:[...t.moments,...b.moments].sort((a,i)=>a.t-i.t)}}export{offFrameProblems}from"@allyhub/image-measure/layout";import{offFrameProblems as G}from"@allyhub/image-measure/layout";function I(n){const t=n.options,s=t.post,r=typeof s=="object"&&s!==null?s.filter:void 0;return{transparent:t.transparent===!0,deliverable:t.deliverable!==!1,...typeof t.maxDuration=="number"?{maxDuration:t.maxDuration}:{},...typeof r=="string"?{post:r}:{}}}async function Y(n){let t;try{t=await S(n===void 0?{}:{ffmpeg:n})}catch(s){return{missing:`the pinned ffmpeg could not be had: ${(s instanceof Error?s.message:String(s)).split(`
|
|
3
|
+
`)[0]??""}`}}return await A(t)?{ffmpeg:t}:{missing:`${t} does not run`}}export async function checkFilm(n){const{piece:t,prepared:s}=n,r=I(t),g=t.kind,F=t.format;let y;const b=()=>y??=Y(n.ffmpeg),a=[],i=[..._(t)],p=await n.versions({layout:async(o,c,e)=>{const m=o.timeline,l=await e.layout();c.problems.push(...G(await n.time("recheck cut text",()=>recheckCuts(o,l,m.fps,m.parts)),e.target));const x=await b();c.facts.push(...await n.time("layout facts",()=>O(l,m,e.target,{root:s.root,media:s.media,ffmpeg:"ffmpeg"in x?x.ffmpeg:"ffmpeg"})))},timing:async(o,c)=>{n.facts&&(r.transparent||c.facts.push(...await n.time("flat frames",()=>R(o))),c.facts.push(...await n.time("cut seams",()=>z(o))))},...r.deliverable?{}:{keep:o=>!B.has(o.kind)}});a.push(...p.problems),i.push(...p.facts);const d=p.loaded,w=C(r.post,d.map(o=>o.timeline));if(w.length>0){const o=await b();"ffmpeg"in o&&a.push(...await n.time("post chains",()=>E(w,{piece:t.id,output:g},o.ffmpeg)))}const h=[];let f;for(const{combo:o,id:c}of p.combos){const e=M(o),m=d.find(u=>M(u.combo)===e),l=m?T(m,c):K(t,o,c,g,F,d);if(!l)continue;if(h.push(j(l,m?.timeline)),t.matrix&&f===void 0){const u=await b();if("ffmpeg"in u){const P=new D(s.root,u.ffmpeg);await P.open(),f=P}else f={missing:"ffmpeg",why:`${u.missing} (set ALLYHUB_FFMPEG to an ffmpeg, or let the runtime manager fetch its pinned one)`}}const x=await n.time("plans (loudness, music)",()=>U(l,{...r.maxDuration===void 0?{}:{maxDuration:r.maxDuration},fps:m?.timeline.fps??d[0]?.timeline.fps??30,media:s.media,local:u=>n.mediaPath(u),...t.matrix&&f?{loudness:f}:{}}));a.push(...x.problems),i.push(...x.facts);const v=$(l,s.media);v&&i.push(v)}return i.push(...H({piece:t.id},p.media,s.media)),f instanceof D&&await f.save(),{problems:a,facts:i,wholes:h}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
export{OpenedFilm,filmTimes,lookOf,partOf,projectMedia,versionSound}from"./version.js";export{graphicsPage}from"./graphics.js";export{generatedReads,momentsIn,stretchOf}from"./stretch.js";export{projectSays}from"./says.js";export{CUT_RECHECK,checkFilm,offFrameProblems,recheckCuts}from"./check.js";export{StretchLoudness,estimatePlan,loadedPlan,planProblems}from"./plans.js";export{generatedFact,generatedPagedFact,mismatchFacts,secondsOf}from"./generated.js";export{Mattes,matrixFacts,matteOutline,matteRows,measuredFacts,personShare}from"./facts.js";export{FLAT_DEFAULTS,THUMB_WIDTH,flatFrames,flatRuns,pictureOf,probeFrames}from"./flat.js";export{
|
|
2
|
+
export{OpenedFilm,filmTimes,lookOf,partOf,projectMedia,versionSound}from"./version.js";export{graphicsPage}from"./graphics.js";export{generatedReads,momentsIn,stretchOf}from"./stretch.js";export{projectSays}from"./says.js";export{CUT_RECHECK,checkFilm,offFrameProblems,recheckCuts}from"./check.js";export{StretchLoudness,estimatePlan,loadedPlan,planProblems}from"./plans.js";export{generatedFact,generatedPagedFact,mismatchFacts,secondsOf}from"./generated.js";export{Mattes,matrixFacts,matteOutline,matteRows,measuredFacts,personShare}from"./facts.js";export{FLAT_DEFAULTS,THUMB_WIDTH,flatFrames,flatRuns,pictureOf,probeFrames}from"./flat.js";export{cutSeams,joinsOf}from"./seams.js";export{filmWords,listCuts,partFolder,stripFrames,wordsAround}from"./cuts.js";export{CUT_REVIEW_DEFAULTS,CUT_SHEET_WIDTH,cutLine,cutSheetHtml,dbText,reviewCuts,silenceText,speechEdgeText}from"./cut-sheet.js";export{fileSoundReport,soundReport}from"./sound-report.js";export{ONSET_TOLERANCE_MS,landings,recordingDifference,speechStretches,voiceStep}from"./sound-measures.js";export{fileRecording,recordingReport,versionRecording}from"./recording-report.js";export{versionVoice}from"./version-voice.js";export{frameChange,loopSeam}from"./loop.js";export{INTERPRETATION_SHAPE,ReferenceError,badInterpretation,makeReference,readInterpretation,readReference,referenceDir,referenceId}from"./reference/folder.js";export{WORDS_MISSING_INSTEAD,measureVideo,referenceJson}from"./reference/video.js";export{SEGMENT_RULE,SPLIT_DEFAULTS,boundaryCandidates,gaps,measurePacing,numbersOf,segments,sentences}from"./reference/sections.js";export{TEXT_DEFAULTS,linesIn,observeText,textSeconds}from"./reference/text.js";export{labelsOf,referenceSections}from"./reference/interpret.js";export{TIMING_TOLERANCE,alignSections,compareSections}from"./reference/compare.js";export{comparePiece,measurePiece}from"./reference/piece.js";export{labelShares,labelsMatch,percentileOf,quantileOf,referenceNumbers,referenceParameters,referenceSet,statOf}from"./reference/sets.js";export{makeWords}from"./words.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{changeOf as
|
|
2
|
+
import{changeOf as P,fact as I,pictureMotion as J,seamCarriers as K,seamOptions as L,seamSide as y}from"@allyhub/video-core";import{readPng as N}from"@allyhub/render";const b=t=>Math.round(t*1e3)/1e3;export function joinsOf(t){const f=t.fps,i=[];for(let r=1;r<t.parts.length;r++){const c=t.parts[r-1],n=t.parts[r];if(!c||!n)continue;const p=Math.round(n.start*f),s=(t.transitions??[]).find(e=>e.part===n.key);i.push({from:c.key,to:n.key,at:p,before:s?Math.round(s.start*f):p,after:s?Math.round(s.end*f):p,first:Math.round(c.start*f),end:Math.round(n.end*f),...s?{transition:{type:s.type,start:b(s.start),end:b(s.end)}}:{}})}return i}const Q=t=>{const{width:f,height:i,data:r}=N(t);return{width:f,height:i,data:r}};function R(t,f,i){const r=new Map,c=new Map,n=new Map,p=async e=>(r.has(e)||r.set(e,await t.sign(e/f)),r.get(e)),s=async e=>Q(await t.thumb(e/f,i));return{sign:p,async same(e,m){const u=await p(e);return u!==void 0&&u===await p(m)},async picture(e){const m=n.get(e);if(m)return m;const u=await p(e),d=(u===void 0?void 0:c.get(u))??Promise.resolve(await s(e));return n.set(e,d),u!==void 0&&c.set(u,d),d}}}export async function cutSeams(t,f={},i={}){const r=t.timeline,c=L(f),n=r.fps,p=c.frames,s=[r.width,r.height],e=i.width??160,m=i.picture?R(t,n,e):void 0,u=[];for(const a of joinsOf(r)){const d=a.at/n;if(i.from!==void 0&&d<i.from-1e-6||i.to!==void 0&&d>i.to+1e-6)continue;const M=Math.max(a.first,a.before-p),k=a.before-1,v=a.after,x=Math.min(a.end-1,a.after+p-1);if(k<M||x<v)continue;const S=(o,h)=>Array.from({length:h-o+1},(F,w)=>o+w),O=S(M,k),A=S(v,x),j=await t.tracks(M/n,k/n),B=await t.tracks(v/n,x/n),g=y(j,a.from,O.map(o=>o/n),"last",s,c),l=y(B,a.to,A.map(o=>o/n),"first",s,c);if(m){const o=r.width/e,h=async G=>{const D=[];for(const H of G)D.push(await m.picture(H));return J(D,n,o,8,c.rest)},F=await h(O),w=await h(A);F&&(g.picture=F),w&&(l.picture=w)}const C={...c,top:0},_=y(j,a.from,O.map(o=>o/n),"last",s,C).list,q=y(B,a.to,A.map(o=>o/n),"first",s,C).list,z=o=>o.find(h=>h.moving),E={at:b(d),before:g,after:l,...a.transition?{transition:a.transition}:{},change:{lead:P(z(_),z(q)),overall:P(g.overall,l.overall),...g.picture&&l.picture?{picture:P(g.picture,l.picture)}:{}},carriers:K(_,q,s),options:c};u.push(I("cut-seam",{piece:t.target.piece,output:t.target.output,combo:t.target.combo,format:t.target.format,part:a.to,t:b(d)},E))}return u}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{join as l}from"node:path";import{ProjectError as
|
|
2
|
+
import{join as l}from"node:path";import{ProjectError as c}from"@allyhub/build";import{parseAnchorRef as w}from"@allyhub/piece";import{backgroundStill as $,finalStill as m,soundOf as y}from"@allyhub/render";import{webp as v}from"@allyhub/image-render/webp";import{graphicsPage as f}from"./graphics.js";export function lookOf(o){const t=o.options,e=t.motionBlur,a=t.post,n=t.capture,h=i=>typeof i=="object"&&i!==null?i:void 0,u=h(e),r=h(a),s=r?.filter,p=r?.lut;return{...t.transparent===!0?{transparent:!0}:{},...u&&typeof u.samples=="number"?{motionBlur:{samples:u.samples,...typeof u.shutter=="number"?{shutter:u.shutter}:{}}}:{},...h(n)?{capture:n}:{},...typeof s=="string"||typeof p=="string"?{post:{...typeof s=="string"?{filter:s}:{},...typeof p=="string"?{lut:p}:{}}}:{}}}export function projectMedia(o){return{root:o.root,media:o.media,path:t=>Object.hasOwn(o.media,t)?l(o.root,t):void 0}}export function versionSound(o,t,e,a={}){return y(projectMedia(o),t,e,a)}export function filmTimes(o,t,e){const n=(e?[e]:t).flatMap(r=>(r.anchors??[]).map(s=>({part:r.key,...s}))),h=new Set(n.map(r=>r.name)),u=n.length>0?`Anchors${e?` of ${e.key}`:""}: ${n.map(r=>`@${r.name} (${r.part} ${r.at.toFixed(2)}${r.end===void 0?"":`–${r.end.toFixed(2)}`})`).join(", ")}.`:`${e?`Part ${e.key}`:"It"} has no anchors: a part gives them with anchors: { name: seconds }, or its script's line with @{name}.`;return o.map(r=>{if(typeof r=="number")return e?e.start+r:r;const s=w(r,h),p=s?n.filter(d=>d.name===s.name):[],i=p[0];if(!s||!i)throw new c("no-anchor",`No anchor ${r}.`,"not-found",u);if(p.length>1)throw new c("bad-time",`${String(p.length)} parts have an anchor ${s.name}: ${p.map(d=>d.part).join(", ")}.`,"usage","Name the part.");if(s.end&&i.end===void 0)throw new c("bad-time",`${r} asks for the end of the anchor ${i.name} of ${i.part}, which is a point.`,"usage",`Use @${i.name}.`);const g=(s.end?i.end??i.at:i.at)+s.shift;return Math.round(g*1e3)/1e3})}export function partOf(o,t){const e=o.parts.filter(n=>n.key.startsWith(`${t}/`)),a=o.parts.find(n=>n.key===t)??(e.length===1?e[0]:void 0);if(!a)throw new c("no-part",`No part ${t}.`,"not-found",`Parts: ${o.parts.map(n=>n.key).join(", ")}.`);return a}export class OpenedFilm{opened;page;constructor(t){this.opened=t}get target(){return this.opened.target}get piece(){return this.opened.piece}get prepared(){return this.opened.prepared}get version(){return this.opened.version}get timeline(){return this.version.timeline}get look(){return lookOf(this.piece)}get media(){return projectMedia(this.prepared)}graphics(){return this.page??=f(this.version.stage,{gpu:this.opened.gpu}),this.page}async openPage(){const t=await this.opened.another();return f(t.stage,{gpu:this.opened.gpu})}code(){return this.opened.code()}still(t,e={}){return this.timeline.parts.find(n=>t>=n.start&&t<n.end)?.frame?this.ownFrame(t,e.format??"png"):m(this.graphics(),t,{target:this.target,look:this.look,media:this.media,...e.raw===void 0?{}:{raw:e.raw},...e.format===void 0?{}:{format:e.format},...e.ffmpeg===void 0?{}:{ffmpeg:e.ffmpeg}})}coverKeys(){return(this.version.summary?.covers??[]).map(t=>t.key)}async cover(t){const e=this.coverKeys().indexOf(t);if(e<0)throw new Error(`No cover ${t}.`);return $(this.timeline,await this.graphics().cover(e))}async ownFrame(t,e){return await this.version.seek(t),this.version.stage.capture({format:e})}sound(t={}){return versionSound(this.prepared,this.target,this.timeline,t)}draws(){return{compose:async(t,e,a)=>{if((this.timeline.footage??[]).some(h=>h.part===e))return m(f(t.stage,{gpu:this.opened.gpu}),a,{target:this.target,look:this.look,media:this.media})},webp:t=>v(t,"lossless")}}partStills(t){return this.opened.partStills(t,this.draws())}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
export{clamp,ease,fitText,lerp,progress,rand,stagger,tween}from"./anim.js";export{noise2D,noise3D,noise4D}from"./noise.js";export{drag,fittsTime,INPUT_DEFAULTS,cursor,handPath,reach,scroll,tap,typing}from"./input.js";export{aimed}from"@allyhub/scenery";export{drawOn,interpolatePath,normalizePath,pathLength,pointAtLength,tangentAtLength,trimPath}from"./paths.js";export{ROUTE_DEFAULTS,routeConnections,routeCrossings}from"./route.js";export{FIT_LINES_PRECISION,fitLines,textLines}from"@allyhub/image-sdk/dom";export{custom,defineComponent,LAYER_OPTIONS}from"@allyhub/image-sdk/define";export{adjustment,fill,group,shape,textLayer}from"@allyhub/image-sdk";export{say}from"./parts.js";export{defineConfig,definePiece,paged}from"./piece.js";export{asset,boolean,color,list,number,object,text,time}from"@allyhub/image-sdk/props";export{countText,splitText}from"@allyhub/image-sdk/text";export{pictureProblem}from"@allyhub/image-sdk/picture";export{PICTURE_DEFAULTS}from"@allyhub/piece";export{markRuns,readMarks,withoutMarks}from"@allyhub/piece";
|
|
2
|
+
export{clamp,ease,fitText,lerp,progress,rand,stagger,tween}from"./anim.js";export{noise2D,noise3D,noise4D}from"./noise.js";export{drag,fittsTime,INPUT_DEFAULTS,cursor,handPath,reach,scroll,tap,typing}from"./input.js";export{aimed}from"@allyhub/scenery";export{drawOn,interpolatePath,normalizePath,pathLength,pointAtLength,tangentAtLength,trimPath}from"./paths.js";export{ROUTE_DEFAULTS,routeConnections,routeCrossings}from"./route.js";export{FIT_LINES_PRECISION,fitLines,textLines}from"@allyhub/image-sdk/dom";export{custom,defineComponent,LAYER_OPTIONS}from"@allyhub/image-sdk/define";export{block}from"@allyhub/image-sdk/block";export{adjustment,fill,group,shape,textLayer}from"@allyhub/image-sdk";export{say}from"./parts.js";export{defineConfig,definePiece,paged}from"./piece.js";export{asset,boolean,color,list,number,object,text,time}from"@allyhub/image-sdk/props";export{countText,splitText}from"@allyhub/image-sdk/text";export{pictureProblem}from"@allyhub/image-sdk/picture";export{PICTURE_DEFAULTS}from"@allyhub/piece";export{markRuns,readMarks,withoutMarks}from"@allyhub/piece";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
export{WebsiteProblem,buildWebsite,installPackages,readWebsite,setWebsiteSite,sourceDigest}from"./website.js";export{readHeaders,readRedirects}from"./rules.js";export{deployWebsite,siteManifest,slugFrom}from"./publish.js";
|
|
2
|
+
export{WebsiteProblem,buildWebsite,installPackages,runNpmInstall,readWebsite,setWebsiteSite,sourceDigest}from"./website.js";export{readHeaders,readRedirects}from"./rules.js";export{deployWebsite,siteManifest,slugFrom}from"./publish.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{spawn as b}from"node:child_process";import{createHash as
|
|
3
|
-
${i.trim()}`)}export async function installPackages(e,t){const n=s=>
|
|
2
|
+
import{spawn as b}from"node:child_process";import{createHash as x}from"node:crypto";import{readFile as u,stat as g,writeFile as k}from"node:fs/promises";import{basename as y,delimiter as v,dirname as P,join as d,relative as p,resolve as $,sep as f}from"node:path";import{hashFolder as m}from"@allyhub/cloud";import{parseWebsite as j}from"@allyhub/formats";import{applyEdits as _,modify as W}from"jsonc-parser";const E=4e3;export class WebsiteProblem extends Error{hint;constructor(t,n){super(t),this.name="WebsiteProblem",this.hint=n}}export async function readWebsite(e){const t=await u(e,"utf8").catch(()=>{});if(t===void 0)throw new WebsiteProblem(`${e} is missing.`);const n=j(t);if(!n.ok)throw new WebsiteProblem(`${e}: ${n.problems.join("; ")}`);return n.value}export async function setWebsiteSite(e,t){const n=await u(e,"utf8");await k(e,_(n,W(n,["site"],t,{formattingOptions:{insertSpaces:!0,tabSize:2}})))}async function w(e,t,n){const s=b(t,n.args??[],{cwd:e,shell:n.shell,env:{...n.env,PATH:[d(e,"node_modules",".bin"),n.env.PATH??""].join(v)},stdio:["ignore","pipe","pipe"]});let i="";const a=o=>{i=(i+o.toString()).slice(-E)};if(s.stdout.on("data",a),s.stderr.on("data",a),await new Promise((o,h)=>{s.once("error",h),s.once("exit",o)})!==0)throw new WebsiteProblem(`${t} failed in ${e}:
|
|
3
|
+
${i.trim()}`)}export async function runNpmInstall(e,t){await w(e,t.npm??"npm",{args:["install"],shell:!1,env:t.env})}export async function installPackages(e,t){const n=s=>g(d(e,s)).then(()=>!0,()=>!1);await n("package.json")&&!await n("node_modules")&&await runNpmInstall(e,t)}export async function buildWebsite(e,t,n){await installPackages(e,n),t.build!==void 0&&(n.onProgress?.(`Building: ${t.build}`),await w(e,t.build,{shell:!0,env:n.env}))}const F=new Set(["package.json","package-lock.json","pnpm-lock.yaml","yarn.lock"]),O=".well-known",r=e=>e.slice(e.lastIndexOf("/")+1),l=e=>e.startsWith(".")&&e!==O,S=(e,t)=>p(e,t).split(f).join("/");export const publishedFiles=(e,t,n)=>{const s=n===void 0?void 0:S(e,n);return m(e,t,{skip:["node_modules"],enter:i=>!l(r(i)),only:i=>!l(r(i))&&!F.has(r(i))&&i!==s,onLink:i=>{throw new WebsiteProblem(`${i} is a link. A site's files are its own: copy what it points to.`)},prune:!1})};export function sourceFiles(e,t,n){const s=P(e),i=y(e),a=$(s,t.output),c=t.build===void 0?void 0:p(s,a).split(f).join("/");return m(s,n,{skip:["node_modules"],enter:o=>!l(r(o))&&o!==c,only:o=>!l(r(o))&&o!==i,prune:!1})}export const digestOf=e=>x("sha256").update(e.map(t=>`${t.path}:${t.sha256}`).join(`
|
|
4
4
|
`)).digest("hex");export async function sourceDigest(e,t,n){const s=await sourceFiles(e,t,n);return await n.save(),digestOf(s)}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allyhub/website-extension",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./tools": {
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"cliCommands": [
|
|
81
81
|
{
|
|
82
82
|
"name": "site deploy",
|
|
83
|
-
"summary": "Build a website here and upload it to AllyHub as a new version of its site, sending only the files AllyHub lacks; private until --live",
|
|
83
|
+
"summary": "Build a website here and upload it to AllyHub as a new version of its site, sending only the files AllyHub lacks; private until --live; the first deploy writes site into the website's file. Without the person's leave, --live answers live: false and confirm, a page for them to say yes on; a site's first publish is always confirmed in their browser",
|
|
84
84
|
"work": "websites",
|
|
85
85
|
"module": "./dist/cli/index.js"
|
|
86
86
|
},
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
"name": "site live",
|
|
95
|
-
"summary": "Make a version of a website what its address serves, an earlier one or one not live yet; nothing is built",
|
|
95
|
+
"summary": "Make a version of a website what its address serves, an earlier one or one not live yet; nothing is built; without the person's leave it answers live: false and confirm, a page for them to say yes on. Taking a site offline is the person's alone, in Studio",
|
|
96
96
|
"work": "websites",
|
|
97
97
|
"module": "./dist/cli/index.js"
|
|
98
98
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allyhub/x-extension",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./package.json": "./package.json",
|
|
@@ -93,7 +93,6 @@
|
|
|
93
93
|
},
|
|
94
94
|
"entry": "{{name}}.yaml"
|
|
95
95
|
},
|
|
96
|
-
"turnInto": false,
|
|
97
96
|
"build": "./dist/build.js",
|
|
98
97
|
"config": [
|
|
99
98
|
"x"
|
|
@@ -189,7 +188,6 @@
|
|
|
189
188
|
},
|
|
190
189
|
"entry": "{{name}}.md"
|
|
191
190
|
},
|
|
192
|
-
"turnInto": false,
|
|
193
191
|
"build": "./dist/article-kind.js",
|
|
194
192
|
"config": [
|
|
195
193
|
"x"
|
|
@@ -5,8 +5,8 @@ What will be published on X is written in X's own model, so what X counts and re
|
|
|
5
5
|
- **An X post** (`x-post`): a post, a thread or a long post, with its pictures, video and poll.
|
|
6
6
|
- **An X article** (`x-article`): a long piece in X's article blocks, with its title and cover.
|
|
7
7
|
|
|
8
|
-
Their pictures and videos can be the project's own items, an image's boards or a video
|
|
8
|
+
Their pictures and videos can be the project's own items, an image's boards or a video.
|
|
9
9
|
|
|
10
10
|
- `allyhub help x` lists the commands and prints where the SDK's `x.md` is. Read it before writing a post or an article.
|
|
11
|
-
- `allyhub frames` draws a post or an article as X shows it once published, and `allyhub inspect` gives what X counts.
|
|
12
|
-
- **To publish**, the person downloads a post's text to paste, and posts it.
|
|
11
|
+
- `allyhub frames` draws a post or an article as X shows it once published, and `allyhub inspect` gives what X counts.
|
|
12
|
+
- **To publish**, the person downloads a post's text to paste, and posts it.
|