allyhub 0.8.0 → 0.9.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/CHANGELOG.md +11 -0
- package/NOTICE +122 -42
- package/client.d.ts +1 -1
- package/dist/command.js +1 -1
- package/dist/commands/add.js +4 -4
- package/dist/commands/check.js +1 -1
- package/dist/commands/cloud-tools.js +13 -7
- package/dist/commands/cloud.js +1 -1
- package/dist/commands/contributed.js +2 -0
- package/dist/commands/dev.js +2 -2
- package/dist/commands/doctor.js +4 -4
- package/dist/commands/extensions.js +3 -0
- package/dist/commands/frames/common.js +1 -1
- package/dist/commands/frames/compare.js +1 -1
- package/dist/commands/frames/cuts.js +1 -1
- package/dist/commands/frames/doc.js +1 -1
- package/dist/commands/frames/overlay.js +2 -0
- 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 +2 -2
- package/dist/commands/inspect/common.js +2 -2
- package/dist/commands/inspect/facts.js +3 -3
- package/dist/commands/inspect/index.js +1 -1
- package/dist/commands/inspect/layout.js +1 -1
- package/dist/commands/inspect/views.js +2 -0
- package/dist/commands/mail.js +9 -0
- package/dist/commands/render.js +2 -2
- package/dist/fields.js +1 -1
- package/dist/help.js +4 -4
- package/dist/main.js +4 -4
- package/dist/media.js +1 -1
- package/dist/node_modules/@allyhub/3d-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/cli/lookup.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/cli/model.js +3 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery-input.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery.js +7 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/read-view.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/scenery-build.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/stage-routes.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/title.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/tree.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/3d-extension/package.json +295 -0
- package/dist/node_modules/@allyhub/audio/dist/levels.js +1 -1
- package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +1 -1
- package/dist/node_modules/@allyhub/audio/package.json +1 -1
- package/dist/node_modules/@allyhub/browser/dist/browser.d.ts +24 -0
- package/dist/node_modules/@allyhub/browser/dist/capture.d.ts +61 -0
- package/dist/node_modules/@allyhub/browser/dist/cdp.d.ts +51 -0
- package/dist/node_modules/@allyhub/browser/dist/flags.d.ts +13 -0
- package/dist/node_modules/@allyhub/browser/dist/frames.d.ts +35 -0
- package/dist/node_modules/@allyhub/browser/dist/html.d.ts +19 -0
- package/dist/node_modules/@allyhub/browser/dist/index.d.ts +10 -0
- package/dist/node_modules/@allyhub/browser/dist/launch.d.ts +35 -0
- package/dist/node_modules/@allyhub/browser/dist/page.d.ts +74 -0
- package/dist/node_modules/@allyhub/browser/dist/page.js +1 -1
- package/dist/node_modules/@allyhub/browser/dist/server.d.ts +26 -0
- package/dist/node_modules/@allyhub/browser/package.json +1 -1
- package/dist/node_modules/@allyhub/build/dist/build-plugins.d.ts +91 -0
- package/dist/node_modules/@allyhub/build/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/cli-command.d.ts +84 -0
- package/dist/node_modules/@allyhub/build/dist/cli-command.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/content.d.ts +12 -24
- package/dist/node_modules/@allyhub/build/dist/content.js +1 -2
- package/dist/node_modules/@allyhub/build/dist/data.d.ts +2 -4
- package/dist/node_modules/@allyhub/build/dist/data.js +2 -2
- package/dist/node_modules/@allyhub/build/dist/evaluate.d.ts +44 -0
- package/dist/node_modules/@allyhub/build/dist/evaluate.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/file-check.d.ts +35 -0
- package/dist/node_modules/@allyhub/build/dist/file-check.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/files.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/generated.d.ts +29 -0
- package/dist/node_modules/@allyhub/build/dist/generated.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/index.d.ts +23 -9
- package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/inspect-view.d.ts +119 -0
- package/dist/node_modules/@allyhub/build/dist/inspect-view.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +507 -0
- package/dist/node_modules/@allyhub/build/dist/kind-build.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +2 -1
- package/dist/node_modules/@allyhub/build/dist/matrix.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/media.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/media.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/messages.d.ts +27 -15
- package/dist/node_modules/@allyhub/build/dist/messages.js +2 -2
- package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +16 -19
- package/dist/node_modules/@allyhub/build/dist/meta-worker.js +2 -4
- package/dist/node_modules/@allyhub/build/dist/meta.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/meta.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/move-refs.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/move-refs.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +16 -8
- package/dist/node_modules/@allyhub/build/dist/plugin.js +8 -9
- package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +58 -35
- package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
- package/dist/node_modules/@allyhub/build/dist/project-root.d.ts +19 -0
- package/dist/node_modules/@allyhub/build/dist/project-root.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +116 -0
- package/dist/node_modules/@allyhub/build/dist/project-tool.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/references.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/references.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/scan.d.ts +7 -12
- package/dist/node_modules/@allyhub/build/dist/scan.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +73 -0
- package/dist/node_modules/@allyhub/build/dist/takes.d.ts +2 -26
- package/dist/node_modules/@allyhub/build/dist/takes.js +1 -2
- package/dist/node_modules/@allyhub/build/dist/types.d.ts +1 -1
- package/dist/node_modules/@allyhub/build/dist/types.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/uses.d.ts +23 -0
- package/dist/node_modules/@allyhub/build/dist/uses.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/version.d.ts +56 -0
- package/dist/node_modules/@allyhub/build/dist/version.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/work.d.ts +30 -0
- package/dist/node_modules/@allyhub/build/dist/work.js +4 -0
- package/dist/node_modules/@allyhub/build/package.json +1 -1
- package/dist/node_modules/@allyhub/canvas-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/canvas-extension/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/canvas-extension/dist/inspect.js +4 -0
- package/dist/node_modules/@allyhub/canvas-extension/package.json +106 -0
- package/dist/node_modules/@allyhub/canvas-extension/skills/allyhub/references/canvas.md +27 -0
- package/dist/node_modules/@allyhub/canvas-model/LICENSE +241 -0
- package/dist/node_modules/@allyhub/canvas-model/dist/canvas.js +8 -0
- package/dist/node_modules/@allyhub/canvas-model/dist/check.js +3 -0
- package/dist/node_modules/@allyhub/canvas-model/dist/edit.js +2 -0
- package/dist/node_modules/@allyhub/canvas-model/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/canvas-model/dist/merge.js +2 -0
- package/dist/node_modules/@allyhub/canvas-model/package.json +14 -0
- package/dist/node_modules/@allyhub/chart/dist/chart-file.js +1 -1
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +2 -2
- package/dist/node_modules/@allyhub/chart/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/chart/package.json +1 -1
- package/dist/node_modules/@allyhub/check/dist/cache.js +1 -1
- package/dist/node_modules/@allyhub/check/dist/check.js +2 -3
- package/dist/node_modules/@allyhub/check/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/check/package.json +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +29 -0
- package/dist/node_modules/@allyhub/cloud/dist/call.d.ts +91 -0
- package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
- package/dist/node_modules/@allyhub/cloud/dist/catalog.d.ts +12 -0
- package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +43 -0
- package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +25 -0
- package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +76 -0
- package/dist/node_modules/@allyhub/cloud/dist/credentials.js +2 -2
- package/dist/node_modules/@allyhub/cloud/dist/errors.d.ts +24 -0
- package/dist/node_modules/@allyhub/cloud/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/hashes.d.ts +43 -0
- package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +19 -0
- package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/keychain.d.ts +18 -0
- package/dist/node_modules/@allyhub/cloud/dist/loopback.d.ts +22 -0
- package/dist/node_modules/@allyhub/cloud/dist/mail.d.ts +16 -0
- package/dist/node_modules/@allyhub/cloud/dist/mail.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/pkce.d.ts +11 -0
- package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +42 -0
- package/dist/node_modules/@allyhub/cloud/dist/signin-worker.d.ts +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/signin.d.ts +40 -0
- package/dist/node_modules/@allyhub/cloud/dist/sites.d.ts +20 -0
- package/dist/node_modules/@allyhub/cloud/dist/token.d.ts +20 -0
- package/dist/node_modules/@allyhub/cloud/dist/token.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +58 -0
- package/dist/node_modules/@allyhub/cloud/dist/voice.d.ts +22 -0
- 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/components/r/callout.json +2 -4
- package/dist/node_modules/@allyhub/components/r/caption-line.json +1 -3
- package/dist/node_modules/@allyhub/components/r/caption-subtitle.json +1 -3
- package/dist/node_modules/@allyhub/components/r/caption-word.json +1 -3
- package/dist/node_modules/@allyhub/components/r/chart.json +2 -4
- package/dist/node_modules/@allyhub/components/r/code-panel.json +2 -4
- package/dist/node_modules/@allyhub/components/r/connector.json +19 -0
- package/dist/node_modules/@allyhub/components/r/screen-demo.json +2 -4
- package/dist/node_modules/@allyhub/components/registry.json +6 -0
- package/dist/node_modules/@allyhub/components/src/callout.ts +80 -4
- package/dist/node_modules/@allyhub/components/src/chart.ts +14 -6
- package/dist/node_modules/@allyhub/components/src/code-panel.ts +10 -5
- package/dist/node_modules/@allyhub/components/src/connector.ts +295 -0
- package/dist/node_modules/@allyhub/components/src/index.ts +6 -0
- package/dist/node_modules/@allyhub/components/src/screen-demo.ts +47 -25
- package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/card.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/exports.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/kinds.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/presence.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/reach.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/routes.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/texts.js +4 -0
- package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/tree.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/watcher.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/writer.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
- package/dist/node_modules/@allyhub/diagnostics/LICENSE +241 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/fact.d.ts +37 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/fact.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/index.d.ts +4 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +43 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/problem.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/rules.d.ts +30 -0
- package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +2 -0
- package/dist/node_modules/@allyhub/diagnostics/package.json +14 -0
- package/dist/node_modules/@allyhub/doc/dist/captions.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/cite.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/component.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/covers.js +61 -0
- package/dist/node_modules/@allyhub/doc/dist/docx.js +4 -4
- package/dist/node_modules/@allyhub/doc/dist/html.js +243 -56
- 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/model.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/page.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/parse.js +4 -4
- package/dist/node_modules/@allyhub/doc/dist/table.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/write.js +33 -28
- package/dist/node_modules/@allyhub/doc/package.json +1 -1
- package/dist/node_modules/@allyhub/doc-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/build.js +3 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/cover.js +4 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/pictures.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +3 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/doc-extension/package.json +187 -0
- package/dist/node_modules/@allyhub/doc-print/LICENSE +241 -0
- package/dist/node_modules/@allyhub/doc-print/dist/facts.js +2 -0
- package/dist/node_modules/@allyhub/doc-print/dist/fonts.js +4 -0
- package/dist/node_modules/@allyhub/doc-print/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/doc-print/dist/layout.js +116 -0
- package/dist/node_modules/@allyhub/doc-print/dist/pages.js +77 -0
- package/dist/node_modules/@allyhub/doc-print/dist/print.js +68 -0
- package/dist/node_modules/@allyhub/doc-print/package.json +13 -0
- package/dist/node_modules/@allyhub/export/dist/batch.js +1 -1
- package/dist/node_modules/@allyhub/export/dist/export.js +1 -6
- package/dist/node_modules/@allyhub/export/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/export/dist/names.js +1 -1
- package/dist/node_modules/@allyhub/export/dist/processors.js +2 -0
- package/dist/node_modules/@allyhub/export/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-api/LICENSE +241 -0
- package/dist/node_modules/@allyhub/extension-api/dist/api.js +2 -0
- package/dist/node_modules/@allyhub/extension-api/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/extension-api/dist/lifecycle.js +2 -0
- package/dist/node_modules/@allyhub/extension-api/package.json +14 -0
- package/dist/node_modules/@allyhub/extension-host/LICENSE +241 -0
- package/dist/node_modules/@allyhub/extension-host/dist/host.js +2 -0
- package/dist/node_modules/@allyhub/extension-host/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/extension-host/dist/node.js +3 -0
- package/dist/node_modules/@allyhub/extension-host/dist/points.js +2 -0
- package/dist/node_modules/@allyhub/extension-host/dist/shell.js +2 -0
- package/dist/node_modules/@allyhub/extension-host/package.json +22 -0
- package/dist/node_modules/@allyhub/formats/dist/contributed.d.ts +126 -0
- package/dist/node_modules/@allyhub/formats/dist/contributed.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +7 -12
- package/dist/node_modules/@allyhub/formats/dist/data/reference.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/script.d.ts +9 -4
- package/dist/node_modules/@allyhub/formats/dist/data/script.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +20 -82
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +96 -8
- package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/website.d.ts +2 -1
- package/dist/node_modules/@allyhub/formats/dist/data/website.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
- package/dist/node_modules/@allyhub/formats/dist/data/work.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/extension.d.ts +91 -0
- package/dist/node_modules/@allyhub/formats/dist/extension.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/files.d.ts +51 -0
- package/dist/node_modules/@allyhub/formats/dist/files.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/index.d.ts +5 -1
- package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/items.d.ts +226 -90
- package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/layout.d.ts +7 -1
- package/dist/node_modules/@allyhub/formats/dist/layout.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +46 -42
- package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
- package/dist/node_modules/@allyhub/formats/package.json +1 -1
- package/dist/node_modules/@allyhub/i18n/LICENSE +241 -0
- package/dist/node_modules/@allyhub/i18n/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/i18n/package.json +13 -0
- package/dist/node_modules/@allyhub/image-draw/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-draw/dist/context.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/env.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/errors.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/hash.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +3 -0
- package/dist/node_modules/@allyhub/image-draw/dist/layer-style.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/paint.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/plan.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/reads.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/shape-path.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/dist/tone.js +2 -0
- package/dist/node_modules/@allyhub/image-draw/package.json +14 -0
- package/dist/node_modules/@allyhub/image-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/cli.js +3 -0
- package/dist/node_modules/@allyhub/image-extension/dist/evaluate.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/facts.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/sources.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/image-extension/package.json +276 -0
- package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +44 -0
- package/dist/node_modules/@allyhub/image-measure/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-measure/dist/contrast.js +2 -0
- package/dist/node_modules/@allyhub/image-measure/dist/layout.js +5 -0
- package/dist/node_modules/@allyhub/image-measure/package.json +14 -0
- package/dist/node_modules/@allyhub/image-psd/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-psd/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/image-psd/dist/map.js +2 -0
- package/dist/node_modules/@allyhub/image-psd/dist/pixels.js +2 -0
- package/dist/node_modules/@allyhub/image-psd/dist/read.js +18 -0
- package/dist/node_modules/@allyhub/image-psd/dist/write.js +2 -0
- package/dist/node_modules/@allyhub/image-psd/package.json +14 -0
- package/dist/node_modules/@allyhub/image-render/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-render/dist/webp.js +2 -0
- package/dist/node_modules/@allyhub/image-render/package.json +14 -0
- package/dist/node_modules/@allyhub/image-runtime/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/board.js +2 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/layers.js +2 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/load.js +3 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/overset.js +2 -0
- package/dist/node_modules/@allyhub/image-runtime/dist/psd.js +2 -0
- package/dist/node_modules/@allyhub/image-runtime/package.json +18 -0
- package/dist/node_modules/@allyhub/image-sdk/LICENSE +241 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/define.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/dom.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/fill.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/fit.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/group.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/messages.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/picture.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/props.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/shape.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/stack.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/text.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/written.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/package.json +19 -0
- package/dist/node_modules/@allyhub/jobs/dist/index.d.ts +3 -0
- package/dist/node_modules/@allyhub/jobs/dist/jobs.d.ts +139 -0
- package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +41 -0
- package/dist/node_modules/@allyhub/jobs/package.json +1 -1
- package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +195 -0
- package/dist/node_modules/@allyhub/measure/dist/compare.js +1 -1
- package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +8 -0
- package/dist/node_modules/@allyhub/measure/dist/grain.js +2 -0
- package/dist/node_modules/@allyhub/measure/dist/image.d.ts +16 -0
- package/dist/node_modules/@allyhub/measure/dist/index.d.ts +4 -0
- package/dist/node_modules/@allyhub/measure/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/measure/package.json +1 -1
- package/dist/node_modules/@allyhub/media/NOTICE +1 -42
- package/dist/node_modules/@allyhub/media/dist/analysis.d.ts +25 -0
- package/dist/node_modules/@allyhub/media/dist/analysis.js +2 -0
- package/dist/node_modules/@allyhub/media/dist/audio.d.ts +2 -0
- package/dist/node_modules/@allyhub/media/dist/audio.js +1 -1
- package/dist/node_modules/@allyhub/media/dist/errors.d.ts +2 -2
- package/dist/node_modules/@allyhub/media/dist/index.d.ts +5 -21
- package/dist/node_modules/@allyhub/media/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/media/dist/tools.d.ts +2 -12
- package/dist/node_modules/@allyhub/media/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/media/dist/video.js +1 -1
- package/dist/node_modules/@allyhub/media/dist/vision/cache.d.ts +2 -2
- package/dist/node_modules/@allyhub/media/package.json +1 -1
- package/dist/node_modules/@allyhub/media-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/analyses/matte.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/asr/hear.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/cloud.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/boxes.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/common.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/matte.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/mattes.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/dist/vision/track.js +2 -0
- package/dist/node_modules/@allyhub/media-extension/package.json +62 -0
- package/dist/node_modules/@allyhub/model/dist/data.d.ts +7 -2
- package/dist/node_modules/@allyhub/model/dist/data.js +1 -1
- package/dist/node_modules/@allyhub/model/package.json +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
- package/dist/node_modules/@allyhub/piece/LICENSE +241 -0
- package/dist/node_modules/@allyhub/piece/dist/anchors.d.ts +156 -0
- package/dist/node_modules/@allyhub/piece/dist/component.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/context.d.ts +39 -0
- package/dist/node_modules/@allyhub/piece/dist/context.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/contrast.d.ts +98 -0
- package/dist/node_modules/@allyhub/piece/dist/export.d.ts +114 -0
- package/dist/node_modules/@allyhub/piece/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/formats.d.ts +149 -0
- package/dist/node_modules/@allyhub/piece/dist/formats.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/gen.d.ts +104 -0
- package/dist/node_modules/@allyhub/piece/dist/index.d.ts +26 -0
- package/dist/node_modules/@allyhub/piece/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/layer-style.d.ts +1558 -0
- package/dist/node_modules/@allyhub/piece/dist/layer-style.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +389 -0
- package/dist/node_modules/@allyhub/piece/dist/layer.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +421 -0
- package/dist/node_modules/@allyhub/piece/dist/layout.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/look.d.ts +66 -0
- package/dist/node_modules/@allyhub/piece/dist/media.d.ts +256 -0
- package/dist/node_modules/@allyhub/piece/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/messages.d.ts +94 -0
- package/dist/node_modules/@allyhub/piece/dist/names.d.ts +26 -0
- package/dist/node_modules/@allyhub/piece/dist/names.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +21 -0
- package/dist/node_modules/@allyhub/piece/dist/page/console.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +3 -0
- package/dist/node_modules/@allyhub/piece/dist/page/index.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +4 -0
- package/dist/node_modules/@allyhub/piece/dist/picture.d.ts +62 -0
- package/dist/node_modules/@allyhub/piece/dist/picture.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/piece.d.ts +15 -0
- package/dist/node_modules/@allyhub/piece/dist/piece.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/script.d.ts +81 -0
- package/dist/node_modules/@allyhub/piece/dist/script.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/source.d.ts +131 -0
- package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +285 -0
- package/dist/node_modules/@allyhub/piece/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/version.d.ts +15 -0
- package/dist/node_modules/@allyhub/piece/dist/version.js +2 -0
- package/dist/node_modules/@allyhub/piece/dist/voice.d.ts +156 -0
- package/dist/node_modules/@allyhub/piece/package.json +18 -0
- package/dist/node_modules/@allyhub/project/dist/component-stills.js +11 -1
- package/dist/node_modules/@allyhub/project/dist/console.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/digest.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/ledger.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/page.js +2 -2
- package/dist/node_modules/@allyhub/project/dist/part-keys.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/part-measure.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/part-pool.js +2 -0
- package/dist/node_modules/@allyhub/project/dist/session.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/stills.js +1 -1
- package/dist/node_modules/@allyhub/project/dist/version.js +1 -1
- package/dist/node_modules/@allyhub/project/package.json +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +139 -0
- package/dist/node_modules/@allyhub/protocol/dist/account.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +3 -10
- package/dist/node_modules/@allyhub/protocol/dist/app.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +12 -1
- package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +232 -132
- package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/files.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +22 -9
- package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +8 -0
- package/dist/node_modules/@allyhub/protocol/dist/image.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +5 -0
- package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +6 -6
- package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +98 -0
- package/dist/node_modules/@allyhub/protocol/dist/kinds.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +273 -0
- package/dist/node_modules/@allyhub/protocol/dist/mail.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +26 -0
- package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +59 -0
- package/dist/node_modules/@allyhub/protocol/dist/peer.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +21 -0
- package/dist/node_modules/@allyhub/protocol/dist/place.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +125 -0
- package/dist/node_modules/@allyhub/protocol/dist/presence.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/routes.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +35 -0
- package/dist/node_modules/@allyhub/protocol/dist/shape.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +2 -8
- package/dist/node_modules/@allyhub/protocol/dist/shares.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +70 -40
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +224 -177
- package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
- 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/dist/capture.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/composite.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/encode.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/exports.js +2 -2
- package/dist/node_modules/@allyhub/render/dist/ffmpeg.js +3 -3
- package/dist/node_modules/@allyhub/render/dist/footage.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/junction.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/parts.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/post-probe.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/post.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/render.js +2 -2
- package/dist/node_modules/@allyhub/render/dist/sound.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/version.js +2 -0
- package/dist/node_modules/@allyhub/render/package.json +1 -5
- package/dist/node_modules/@allyhub/runtime/dist/captions.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/clock.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/compose.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/embed.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/facade.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/film.js +2 -0
- package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/frame.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/measure.js +2 -2
- package/dist/node_modules/@allyhub/runtime/dist/output.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/piece.js +2 -2
- package/dist/node_modules/@allyhub/runtime/dist/player/player.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/sound.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/speech.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/stage-kit.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/takes.js +1 -1
- package/dist/node_modules/@allyhub/runtime/package.json +1 -5
- package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +14 -0
- package/dist/node_modules/@allyhub/runtimes/dist/declared.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +15 -0
- package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.js +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +2 -0
- package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/packages.js +3 -3
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +1 -0
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/manifest.json +0 -82
- package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
- package/dist/node_modules/@allyhub/scaffold/dist/index.js +6 -5
- package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery/dist/define.d.ts +2 -0
- package/dist/node_modules/@allyhub/scenery/dist/define.js +1 -1
- package/dist/node_modules/@allyhub/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +2 -3
- package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +14 -7
- package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +4 -4
- package/dist/node_modules/@allyhub/scenery-host/dist/fact.d.ts +314 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/fact.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/index.d.ts +1 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.d.ts +2 -2
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/queries.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/state.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/types.d.ts +2 -2
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.d.ts +3 -3
- package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.d.ts +42 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.js +4 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.d.ts +6 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.d.ts +70 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.js +12 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/solve.d.ts +49 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.d.ts +73 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.js +3 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.d.ts +18 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/package.json +5 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/code.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/file.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/import.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/patch.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/sdk.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
- package/dist/node_modules/@allyhub/sheet/package.json +5 -1
- package/dist/node_modules/@allyhub/sheet-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/open.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +8 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +3 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +7 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +3 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/sheet-extension/package.json +209 -0
- package/dist/node_modules/@allyhub/slides-core/dist/animation.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
- 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/connect.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/fact.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/file.js +2 -2
- 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/merge.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/package.json +5 -1
- package/dist/node_modules/@allyhub/slides-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +3 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/deck-info.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/deck-pptx.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/evaluate.js +3 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/read-view.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/slides-extension/package.json +246 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/dist/component.js +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
- package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +5 -5
- package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/stage/dist/build-process.js +2 -2
- package/dist/node_modules/@allyhub/stage/dist/build-worker.js +1 -1
- package/dist/node_modules/@allyhub/stage/dist/identity.js +1 -1
- package/dist/node_modules/@allyhub/stage/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/stage/dist/page.js +2 -2
- package/dist/node_modules/@allyhub/stage/dist/server.js +1 -1
- package/dist/node_modules/@allyhub/stage/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/install.js +2 -0
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.js +2 -2
- package/dist/node_modules/@allyhub/stage-page/dist/stage-module.js +2 -0
- package/dist/node_modules/@allyhub/stage-page/package.json +5 -1
- package/dist/node_modules/@allyhub/stage-runtime/LICENSE +241 -0
- package/dist/node_modules/@allyhub/stage-runtime/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +80 -0
- package/dist/node_modules/@allyhub/stage-runtime/dist/use.js +2 -0
- package/dist/node_modules/@allyhub/stage-runtime/package.json +17 -0
- package/dist/node_modules/@allyhub/video-core/dist/captions.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/cut-report.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/edits.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/fact.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -4
- package/dist/node_modules/@allyhub/video-core/dist/mix-plan.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/piece.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/schema.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/script-edit.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/sound-under.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/speech.js +2 -2
- package/dist/node_modules/@allyhub/video-core/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/video-core/dist/timeline.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/timing.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/transcript.js +1 -1
- package/dist/node_modules/@allyhub/video-core/package.json +1 -1
- package/dist/node_modules/@allyhub/video-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/video-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/audio-text.js +6 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/audio.js +4 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/cloud.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/draw.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +5 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/reference.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/voice.js +3 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/words-text.js +6 -0
- package/dist/node_modules/@allyhub/video-extension/dist/cli/words.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/evaluate.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/common.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/contrast.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/fidelity.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +4 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline-text.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline.js +3 -0
- package/dist/node_modules/@allyhub/video-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/read-view.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/sources.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/stage-routes.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/video-extension/package.json +454 -0
- package/dist/node_modules/@allyhub/video-measure/LICENSE +241 -0
- package/dist/node_modules/@allyhub/video-measure/dist/check.js +3 -0
- package/dist/node_modules/@allyhub/video-measure/dist/cuts.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/facts.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/generated.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/graphics.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/page.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/plans.js +3 -0
- package/dist/node_modules/@allyhub/video-measure/dist/recording-report.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/reference/piece.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/reference/sets.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/reference/text.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/reference/video.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/says.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/sound-report.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/stretch.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/version.js +2 -0
- package/dist/node_modules/@allyhub/video-measure/dist/words.js +3 -0
- package/dist/node_modules/@allyhub/video-measure/package.json +13 -0
- package/dist/node_modules/@allyhub/video-sdk/LICENSE +241 -0
- package/dist/node_modules/@allyhub/video-sdk/NOTICE +118 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/anim.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/free.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/input.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/module.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/noise.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/parts.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/paths.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/route.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/scenery.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/package.json +19 -0
- package/dist/node_modules/@allyhub/website/dist/publish.js +2 -2
- package/dist/node_modules/@allyhub/website/dist/website.js +3 -3
- package/dist/node_modules/@allyhub/website/package.json +1 -1
- package/dist/node_modules/@allyhub/website-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/website-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/dist/cli/index.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/dist/cli/site.js +4 -0
- package/dist/node_modules/@allyhub/website-extension/dist/hosting.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/dist/preview.js +6 -0
- package/dist/node_modules/@allyhub/website-extension/dist/project-tools.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/package.json +152 -0
- package/dist/node_modules/@allyhub/x-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/x-extension/dist/article-build.js +4 -0
- package/dist/node_modules/@allyhub/x-extension/dist/article-kind.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/dist/build.js +4 -0
- package/dist/node_modules/@allyhub/x-extension/dist/config.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/dist/stage-module.js +67 -0
- package/dist/node_modules/@allyhub/x-extension/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/x-extension/package.json +277 -0
- package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +67 -0
- package/dist/node_modules/@allyhub/x-model/LICENSE +241 -0
- package/dist/node_modules/@allyhub/x-model/dist/article-check.js +5 -0
- package/dist/node_modules/@allyhub/x-model/dist/article.js +3 -0
- package/dist/node_modules/@allyhub/x-model/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/content-state.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/count.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/edit.js +3 -0
- package/dist/node_modules/@allyhub/x-model/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/limits.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/post.js +2 -0
- package/dist/node_modules/@allyhub/x-model/dist/requests.js +2 -0
- package/dist/node_modules/@allyhub/x-model/package.json +14 -0
- package/dist/node_modules/@allyhub/x-view/LICENSE +241 -0
- package/dist/node_modules/@allyhub/x-view/dist/article.js +2 -0
- package/dist/node_modules/@allyhub/x-view/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/x-view/dist/post.js +3 -0
- package/dist/node_modules/@allyhub/x-view/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/x-view/dist/text.js +2 -0
- package/dist/node_modules/@allyhub/x-view/package.json +21 -0
- package/dist/node_modules/@allyhub/x-view/src/style.css +709 -0
- package/dist/package.json +16 -0
- package/dist/parameters.js +1 -1
- package/dist/presence.js +2 -0
- package/dist/project.js +1 -1
- package/dist/sdk-docs.js +1 -1
- package/dist/text/batch-text.js +1 -1
- package/dist/text/console-text.js +1 -1
- package/dist/text/facts-text.js +5 -5
- package/dist/text/format.js +2 -2
- package/dist/text/index.js +1 -1
- package/dist/tool-options.js +1 -1
- package/dist/version.js +1 -1
- package/dist/works.js +1 -1
- package/editor-web/assets/abnfDiagram-WEYOIA3C-CN5PiJYY.js +1 -0
- package/editor-web/assets/alt-BOVao_9S.js +4 -0
- package/editor-web/assets/architecture-WOLXFQ4H-BnvZtQYk.js +1 -0
- package/editor-web/assets/architectureDiagram-ZHVYKT53-tkcEcFQ8.js +36 -0
- package/editor-web/assets/arrow-up-DTP2yVSU.js +1 -0
- package/editor-web/assets/article-B6YCzhj8.js +73 -0
- package/editor-web/assets/audio-lines-Ti8-m7H2.js +1 -0
- package/editor-web/assets/blockDiagram-RJAE7QA3-DhqEIpie.js +140 -0
- package/editor-web/assets/c4Diagram-XDPPPE54-Bg9G95tl.js +38 -0
- package/editor-web/assets/caladea-latin-400-italic-BXgumMrY.woff +0 -0
- package/editor-web/assets/caladea-latin-400-italic-LV4kG-PE.woff2 +0 -0
- package/editor-web/assets/caladea-latin-400-normal-BdRVtv9R.woff +0 -0
- package/editor-web/assets/caladea-latin-400-normal-CEHWF4nY.woff2 +0 -0
- package/editor-web/assets/caladea-latin-700-italic-ChDjCuPY.woff +0 -0
- package/editor-web/assets/caladea-latin-700-italic-DswTWW_F.woff2 +0 -0
- package/editor-web/assets/caladea-latin-700-normal-0s3Ufwiy.woff +0 -0
- package/editor-web/assets/caladea-latin-700-normal-Emkxzyyt.woff2 +0 -0
- package/editor-web/assets/caladea-latin-ext-400-italic-DaI5RAJ1.woff2 +0 -0
- package/editor-web/assets/caladea-latin-ext-400-italic-Ddrq60cI.woff +0 -0
- package/editor-web/assets/caladea-latin-ext-400-normal-BjxrNPcj.woff +0 -0
- package/editor-web/assets/caladea-latin-ext-400-normal-CyFL0oLC.woff2 +0 -0
- package/editor-web/assets/caladea-latin-ext-700-italic-BPwR0tp-.woff +0 -0
- package/editor-web/assets/caladea-latin-ext-700-italic-DKIXMnVd.woff2 +0 -0
- package/editor-web/assets/caladea-latin-ext-700-normal-jPPxbA1-.woff2 +0 -0
- package/editor-web/assets/caladea-latin-ext-700-normal-sbmkuTql.woff +0 -0
- package/editor-web/assets/calc-worker-B5-fDWnb.js +45 -0
- package/editor-web/assets/carlito-cyrillic-400-italic-BBq3u1wn.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-400-italic-DkiFjkCS.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-400-normal-BtG3bBmV.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-400-normal-Bzv-FGbj.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-700-italic-BWpxjWJ1.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-700-italic-CkpLb3ak.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-700-normal-Cj42L3Bs.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-700-normal-bxg6f20d.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-400-italic-BiZjW1hk.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-400-italic-DcD3cPwb.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-400-normal-DYs6OoL4.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-400-normal-UzWcrHdi.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-700-italic-ClXPMqhh.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-700-italic-DoehkTRC.woff +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-700-normal-BAPhAm-q.woff2 +0 -0
- package/editor-web/assets/carlito-cyrillic-ext-700-normal-C5O8kkCQ.woff +0 -0
- package/editor-web/assets/carlito-greek-400-italic-C1DqF7JR.woff2 +0 -0
- package/editor-web/assets/carlito-greek-400-italic-Cnl_RiK8.woff +0 -0
- package/editor-web/assets/carlito-greek-400-normal-Cv5gcxdy.woff2 +0 -0
- package/editor-web/assets/carlito-greek-400-normal-aOjZpsFX.woff +0 -0
- package/editor-web/assets/carlito-greek-700-italic-DfpwTZ8N.woff +0 -0
- package/editor-web/assets/carlito-greek-700-italic-VWqy950O.woff2 +0 -0
- package/editor-web/assets/carlito-greek-700-normal-B-Y_qvTa.woff +0 -0
- package/editor-web/assets/carlito-greek-700-normal-BXGaow7Z.woff2 +0 -0
- package/editor-web/assets/carlito-greek-ext-400-italic-BUNDIZnl.woff +0 -0
- package/editor-web/assets/carlito-greek-ext-400-italic-o-WxseCy.woff2 +0 -0
- package/editor-web/assets/carlito-greek-ext-400-normal-DnfnTswf.woff2 +0 -0
- package/editor-web/assets/carlito-greek-ext-400-normal-m-eDGcsW.woff +0 -0
- package/editor-web/assets/carlito-greek-ext-700-italic-DD0r8DLp.woff +0 -0
- package/editor-web/assets/carlito-greek-ext-700-italic-DiO5Rxw8.woff2 +0 -0
- package/editor-web/assets/carlito-greek-ext-700-normal-BGl1PQht.woff +0 -0
- package/editor-web/assets/carlito-greek-ext-700-normal-COKnZ-5a.woff2 +0 -0
- package/editor-web/assets/carlito-latin-400-italic-BiMes9J5.woff2 +0 -0
- package/editor-web/assets/carlito-latin-400-italic-DcRV6skQ.woff +0 -0
- package/editor-web/assets/carlito-latin-400-normal-R-CeALMm.woff2 +0 -0
- package/editor-web/assets/carlito-latin-400-normal-jEGHVXAP.woff +0 -0
- package/editor-web/assets/carlito-latin-700-italic-BkeTGILl.woff +0 -0
- package/editor-web/assets/carlito-latin-700-italic-Ckstd88m.woff2 +0 -0
- package/editor-web/assets/carlito-latin-700-normal-CjG3MLqY.woff +0 -0
- package/editor-web/assets/carlito-latin-700-normal-DQ6DOkPk.woff2 +0 -0
- package/editor-web/assets/carlito-latin-ext-400-italic-B7I2MSBC.woff +0 -0
- package/editor-web/assets/carlito-latin-ext-400-italic-CqQQuoTt.woff2 +0 -0
- package/editor-web/assets/carlito-latin-ext-400-normal-D112-ed2.woff +0 -0
- package/editor-web/assets/carlito-latin-ext-400-normal-DPZWia0-.woff2 +0 -0
- package/editor-web/assets/carlito-latin-ext-700-italic-BvVMpuZ3.woff2 +0 -0
- package/editor-web/assets/carlito-latin-ext-700-italic-Cocp2sK5.woff +0 -0
- package/editor-web/assets/carlito-latin-ext-700-normal-9QIvu-gI.woff +0 -0
- package/editor-web/assets/carlito-latin-ext-700-normal-D2WO8ap1.woff2 +0 -0
- package/editor-web/assets/carlito-vietnamese-400-italic-Dpe35oQb.woff +0 -0
- package/editor-web/assets/carlito-vietnamese-400-italic-vBbFSHZk.woff2 +0 -0
- package/editor-web/assets/carlito-vietnamese-400-normal-BA1ASEPx.woff2 +0 -0
- package/editor-web/assets/carlito-vietnamese-400-normal-D0HL2cT_.woff +0 -0
- package/editor-web/assets/carlito-vietnamese-700-italic-rWsihy0W.woff +0 -0
- package/editor-web/assets/carlito-vietnamese-700-italic-tiFMON_I.woff2 +0 -0
- package/editor-web/assets/carlito-vietnamese-700-normal-DIEsMQO6.woff +0 -0
- package/editor-web/assets/carlito-vietnamese-700-normal-gG8ns3Xg.woff2 +0 -0
- package/editor-web/assets/channel-C26aBI4o.js +1 -0
- package/editor-web/assets/chart-BOnxneyw.js +1 -0
- package/editor-web/assets/choice-O5nwc2N0.js +1 -0
- package/editor-web/assets/chunk-2E7WHVMD-C8Ve9lAa.js +88 -0
- package/editor-web/assets/chunk-4EMNKR2T-BDWwPUnT.js +1 -0
- package/editor-web/assets/chunk-55XCU76K-BQiNPKgx.js +1 -0
- package/editor-web/assets/chunk-7S6XSTFO-QoEt-6jf.js +2 -0
- package/editor-web/assets/chunk-AQDTSKZB-BeuwIv0-.js +72 -0
- package/editor-web/assets/chunk-DSNLSHJZ-BHW7sLAz.js +129 -0
- package/editor-web/assets/chunk-HAGFOTED-bbGED0hu.js +62 -0
- package/editor-web/assets/chunk-HNE4Q36P-FltWp8yo.js +1 -0
- package/editor-web/assets/chunk-NQOKRVIF-NeQzr6kH.js +213 -0
- package/editor-web/assets/chunk-UHW7PFBP-eA4-WUhn.js +1 -0
- package/editor-web/assets/chunk-VQ5W62QI-BPPv325z.js +1 -0
- package/editor-web/assets/chunk-WQQL4CDK-DOCIz7Te.js +10 -0
- package/editor-web/assets/chunk-YZO67HFG-Dc_ihQJi.js +1 -0
- package/editor-web/assets/chunk-ZAUX2LTX-CoqwCPSm.js +1 -0
- package/editor-web/assets/chunk-ZCHMQSOR-CZUQPkJx.js +2 -0
- package/editor-web/assets/classDiagram-v2-4MYWR3UA-DUh9c50k.js +217 -0
- package/editor-web/assets/collaborator-BJU5qwHd.js +1 -0
- package/editor-web/assets/cousine-cyrillic-400-normal-D7Mp9hmd.woff +0 -0
- package/editor-web/assets/cousine-cyrillic-400-normal-DaHhUWxZ.woff2 +0 -0
- package/editor-web/assets/cousine-cyrillic-700-normal-BEGCXyFC.woff +0 -0
- package/editor-web/assets/cousine-cyrillic-700-normal-BkkUdX_g.woff2 +0 -0
- package/editor-web/assets/cousine-cyrillic-ext-400-normal-CfRZlfI3.woff +0 -0
- package/editor-web/assets/cousine-cyrillic-ext-400-normal-DHXCUfGT.woff2 +0 -0
- package/editor-web/assets/cousine-cyrillic-ext-700-normal-C15KMCf5.woff2 +0 -0
- package/editor-web/assets/cousine-cyrillic-ext-700-normal-DhfE94aH.woff +0 -0
- package/editor-web/assets/cousine-greek-400-normal-CWPwwPBl.woff +0 -0
- package/editor-web/assets/cousine-greek-400-normal-D28eY3d7.woff2 +0 -0
- package/editor-web/assets/cousine-greek-700-normal-DsTT0TsI.woff2 +0 -0
- package/editor-web/assets/cousine-greek-700-normal-rpH_OJFi.woff +0 -0
- package/editor-web/assets/cousine-greek-ext-400-normal-n0k5mInY.woff +0 -0
- package/editor-web/assets/cousine-greek-ext-400-normal-qdX5ZLbv.woff2 +0 -0
- package/editor-web/assets/cousine-greek-ext-700-normal-CSy642Ya.woff +0 -0
- package/editor-web/assets/cousine-greek-ext-700-normal-DgHq_I2n.woff2 +0 -0
- package/editor-web/assets/cousine-hebrew-400-normal-COyK3YUR.woff2 +0 -0
- package/editor-web/assets/cousine-hebrew-400-normal-oCiNOOyc.woff +0 -0
- package/editor-web/assets/cousine-hebrew-700-normal-BCE0G3Nu.woff2 +0 -0
- package/editor-web/assets/cousine-hebrew-700-normal-Bf9jZ0p9.woff +0 -0
- package/editor-web/assets/cousine-latin-400-normal-BhCTjpdJ.woff2 +0 -0
- package/editor-web/assets/cousine-latin-400-normal-D0CzircV.woff +0 -0
- package/editor-web/assets/cousine-latin-700-normal-BO_dhHEP.woff +0 -0
- package/editor-web/assets/cousine-latin-700-normal-CwJ0o97b.woff2 +0 -0
- package/editor-web/assets/cousine-latin-ext-400-normal-B_NP9zZK.woff +0 -0
- package/editor-web/assets/cousine-latin-ext-400-normal-CGywThDL.woff2 +0 -0
- package/editor-web/assets/cousine-latin-ext-700-normal-DWTrZAet.woff2 +0 -0
- package/editor-web/assets/cousine-latin-ext-700-normal-NvcoPDWO.woff +0 -0
- package/editor-web/assets/cousine-vietnamese-400-normal-B4JqDdoh.woff2 +0 -0
- package/editor-web/assets/cousine-vietnamese-400-normal-Bfsm3lEf.woff +0 -0
- package/editor-web/assets/cousine-vietnamese-700-normal-B4DXCoMM.woff +0 -0
- package/editor-web/assets/cousine-vietnamese-700-normal-DLBKC3PH.woff2 +0 -0
- package/editor-web/assets/createLucideIcon-B3B95oX5.js +1 -0
- package/editor-web/assets/cynefin-EF2NZ3EQ-DUTZiog0.js +1 -0
- package/editor-web/assets/cynefinDiagram-WF24UDRP-oAjpfbrU.js +62 -0
- package/editor-web/assets/dagre-NK4GIZVX-BrKvKCvb.js +4 -0
- package/editor-web/assets/diagram-CBK3MWTC-GekVRnmm.js +24 -0
- package/editor-web/assets/diagram-I5XIIV2D-CDd1VFRT.js +24 -0
- package/editor-web/assets/diagram-ODIL2UCW-535RISTn.js +30 -0
- package/editor-web/assets/diagram-PFBEJUXE-MXzzKCGG.js +3 -0
- package/editor-web/assets/diagram-RJA3I4VV-vKVwkQxY.js +41 -0
- package/editor-web/assets/diagram-TYUNFSNR-UwGAiQLx.js +200 -0
- package/editor-web/assets/dist-9ymlIMhr.js +1 -0
- package/editor-web/assets/dist-C6NqUEG4.js +16 -0
- package/editor-web/assets/dist-C9UGmCG9.js +6 -0
- package/editor-web/assets/dist-CAk5bjBm.js +1 -0
- package/editor-web/assets/dist-CKyfo5RM.js +340 -0
- package/editor-web/assets/dist-CRaWqNwq.js +37 -0
- package/editor-web/assets/dist-CwIBc7HQ.js +1 -0
- package/editor-web/assets/dist-DXRmkezB.js +38 -0
- package/editor-web/assets/dist-EKK5i0dG.js +219 -0
- package/editor-web/assets/dist-YW8hS4IM.js +9 -0
- package/editor-web/assets/dist-hHJlpLWo.js +5 -0
- package/editor-web/assets/dist-oYKcwWUj.js +4 -0
- package/editor-web/assets/dist-shKo7XVN.js +2 -0
- package/editor-web/assets/dist-wrKxBrVu.js +24 -0
- package/editor-web/assets/ebnfDiagram-V4P3TTPT-73yGokYa.js +1 -0
- package/editor-web/assets/elk-QONTBCTQ-BW6V9y6a.js +27 -0
- package/editor-web/assets/erDiagram-KYQIGQAA-BPqIJ22h.js +99 -0
- package/editor-web/assets/eventmodeling-K75KTNOO-_VZ8jvuy.js +1 -0
- package/editor-web/assets/flowDiagram-IUGLLWBU-ouDQYiTr.js +1 -0
- package/editor-web/assets/ganttDiagram-R7GPNTJY-DZ157JN2.js +292 -0
- package/editor-web/assets/gitGraph-VSP46ZUC-fmcNL9bq.js +1 -0
- package/editor-web/assets/gitGraphDiagram-PDYL7XHY-DiZDyksR.js +106 -0
- package/editor-web/assets/hint-_AQWCDMj.js +1 -0
- package/editor-web/assets/index-BsstP-cI.js +28 -0
- package/editor-web/assets/index-DQRcmxBO.css +2 -0
- package/editor-web/assets/info-OHQRW6UA-V06620kN.js +1 -0
- package/editor-web/assets/infoDiagram-MVDRKAX5-CbIgheWX.js +2 -0
- package/editor-web/assets/ishikawaDiagram-HPEHV2GE-D5oJQPkG.js +70 -0
- package/editor-web/assets/italic-CDhZKo_q.js +1 -0
- package/editor-web/assets/journeyDiagram-BOSHW7O7-BZEv6JI4.js +139 -0
- package/editor-web/assets/jsx-runtime-DePvh3-m.js +1 -0
- package/editor-web/assets/kanban-definition-FNSA4HC5-CLG1R8y_.js +89 -0
- package/editor-web/assets/layout-SWqqA0yV.js +1 -0
- package/editor-web/assets/mermaid-parser.core-DxDwXM7z.js +7 -0
- package/editor-web/assets/mermaid.core-tU55ZwVG.js +44 -0
- package/editor-web/assets/mindmap-definition-6OY57UG3-CYf4zzAh.js +98 -0
- package/editor-web/assets/minus-Cgmm6ncD.js +1 -0
- package/editor-web/assets/packet-JDAUHWVQ-DsHeKYNL.js +1 -0
- package/editor-web/assets/pegDiagram-ECIUJNBX-CQyh6TTa.js +1 -0
- package/editor-web/assets/picture-B-I4V_JT.js +1 -0
- package/editor-web/assets/pie-XZMESJXO-3vCIvpNB.js +1 -0
- package/editor-web/assets/pieDiagram-GNMPY74T-DF5yGBLn.js +39 -0
- package/editor-web/assets/progress-0B_TVsPi.js +6 -0
- package/editor-web/assets/quadrantDiagram-D57K4MC3-B7pxlDYP.js +7 -0
- package/editor-web/assets/radar-ABXABTNO-cpEA41mL.js +1 -0
- package/editor-web/assets/railroad-I3PHUGI6-BLyy5R2c.js +1 -0
- package/editor-web/assets/railroad-abnf-LNEFI6M7-Y-oyol19.js +1 -0
- package/editor-web/assets/railroad-ebnf-DWYD2UWJ-o58wHZsr.js +1 -0
- package/editor-web/assets/railroad-peg-JR7BVNR7-CcD3PXZ8.js +1 -0
- package/editor-web/assets/railroadDiagram-Y72NRBL7-BuCC4eyy.js +1 -0
- package/editor-web/assets/react-BP46yLMB.js +1 -0
- package/editor-web/assets/react-pgBZqVxJ.js +96 -0
- package/editor-web/assets/read-view-DnCFmJFo.js +1 -0
- package/editor-web/assets/read-view-uW5LmuBT.js +1 -0
- package/editor-web/assets/read-view-v3cx-9XM.js +1 -0
- package/editor-web/assets/repeat-2-C5PCbNsg.js +1 -0
- package/editor-web/assets/requirementDiagram-EQYSW5RA-Dp-JFGn4.js +84 -0
- package/editor-web/assets/sankeyDiagram-SY24JHO5-rYuCqEvw.js +40 -0
- package/editor-web/assets/schemas-Ewwjtbf4.js +1 -0
- package/editor-web/assets/sequenceDiagram-BLEHNHQU-DryW8x6d.js +169 -0
- package/editor-web/assets/session-DiI9KYRI.js +1 -0
- package/editor-web/assets/slides-CCwgBcGH.js +1 -0
- package/editor-web/assets/sound-CqryteNl.js +1 -0
- package/editor-web/assets/stateDiagram-v2-A6IESKWZ-Bnp0XfpT.js +291 -0
- package/editor-web/assets/strikethrough-DJckA35o.js +1 -0
- package/editor-web/assets/svg-BjM9RazX.js +1 -0
- package/editor-web/assets/swatch-DL3HqIjW.js +1 -0
- package/editor-web/assets/swimlanes-B3ENRKFQ-BiRRhhbd.js +1 -0
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-BkOls8Tv.js +8 -0
- package/editor-web/assets/switch-DltnKqN-.js +1 -0
- package/editor-web/assets/syntax-C0iPON60.js +18 -0
- package/editor-web/assets/syntax-CC6QYhCz.js +1 -0
- package/editor-web/assets/tabs-C-re0Kxn.js +1 -0
- package/editor-web/assets/textarea-BGtPqZdB.js +105 -0
- package/editor-web/assets/timeline-definition-JXYKGLGB-D-Q5ZtDF.js +120 -0
- package/editor-web/assets/tinos-cyrillic-400-italic-CUXT6ECP.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-400-italic-D26KjN84.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-400-normal-BInRL8Bn.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-400-normal-kS2dpklR.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-700-italic-CUFPRiVR.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-700-italic-DU6-gZzV.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-700-normal-DGklj3DM.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-700-normal-HYhic5tl.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-400-italic-Bz6A2Xew.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-400-italic-CgiySoL2.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-400-normal-DdITlKdb.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-400-normal-l41d2z3M.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-700-italic-BQu9kgBz.woff +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-700-italic-Ceua-rFl.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-700-normal-CE86bzrR.woff2 +0 -0
- package/editor-web/assets/tinos-cyrillic-ext-700-normal-yBtNmQaZ.woff +0 -0
- package/editor-web/assets/tinos-greek-400-italic-CITkaQD8.woff2 +0 -0
- package/editor-web/assets/tinos-greek-400-italic-Dc-Zjc_Z.woff +0 -0
- package/editor-web/assets/tinos-greek-400-normal-BKmklotr.woff2 +0 -0
- package/editor-web/assets/tinos-greek-400-normal-D6DCdDEC.woff +0 -0
- package/editor-web/assets/tinos-greek-700-italic-C474ACqK.woff2 +0 -0
- package/editor-web/assets/tinos-greek-700-italic-VKIu6SKO.woff +0 -0
- package/editor-web/assets/tinos-greek-700-normal-CAsZoNo7.woff +0 -0
- package/editor-web/assets/tinos-greek-700-normal-DZiY5218.woff2 +0 -0
- package/editor-web/assets/tinos-greek-ext-400-italic-C7FWsVQN.woff +0 -0
- package/editor-web/assets/tinos-greek-ext-400-italic-QOcg_kQA.woff2 +0 -0
- package/editor-web/assets/tinos-greek-ext-400-normal-1tgngtmV.woff2 +0 -0
- package/editor-web/assets/tinos-greek-ext-400-normal-BY5Lx0CY.woff +0 -0
- package/editor-web/assets/tinos-greek-ext-700-italic-2QV0uNor.woff2 +0 -0
- package/editor-web/assets/tinos-greek-ext-700-italic-zoEBc9cL.woff +0 -0
- package/editor-web/assets/tinos-greek-ext-700-normal-Bu9AJavU.woff +0 -0
- package/editor-web/assets/tinos-greek-ext-700-normal-nVGGTb9r.woff2 +0 -0
- package/editor-web/assets/tinos-hebrew-400-italic-Cp89YzKh.woff2 +0 -0
- package/editor-web/assets/tinos-hebrew-400-italic-k5xAEjEk.woff +0 -0
- package/editor-web/assets/tinos-hebrew-400-normal-B17QmYDt.woff2 +0 -0
- package/editor-web/assets/tinos-hebrew-400-normal-DhGqnHb1.woff +0 -0
- package/editor-web/assets/tinos-hebrew-700-italic-BSdnwE5c.woff2 +0 -0
- package/editor-web/assets/tinos-hebrew-700-italic-DuNrcWBH.woff +0 -0
- package/editor-web/assets/tinos-hebrew-700-normal-B737la7J.woff +0 -0
- package/editor-web/assets/tinos-hebrew-700-normal-BNVAlJ0i.woff2 +0 -0
- package/editor-web/assets/tinos-latin-400-italic-BYAl0kbZ.woff2 +0 -0
- package/editor-web/assets/tinos-latin-400-italic-HcuZF3H0.woff +0 -0
- package/editor-web/assets/tinos-latin-400-normal-B05awSIM.woff +0 -0
- package/editor-web/assets/tinos-latin-400-normal-rilFpyjL.woff2 +0 -0
- package/editor-web/assets/tinos-latin-700-italic-M0H2aQ0O.woff +0 -0
- package/editor-web/assets/tinos-latin-700-italic-vJg8Axdx.woff2 +0 -0
- package/editor-web/assets/tinos-latin-700-normal-CjcRkLdR.woff +0 -0
- package/editor-web/assets/tinos-latin-700-normal-qGf2y18O.woff2 +0 -0
- package/editor-web/assets/tinos-latin-ext-400-italic-DKtLLJa2.woff +0 -0
- package/editor-web/assets/tinos-latin-ext-400-italic-WsHooD3r.woff2 +0 -0
- package/editor-web/assets/tinos-latin-ext-400-normal-BUQPNqi9.woff +0 -0
- package/editor-web/assets/tinos-latin-ext-400-normal-C68eX7xt.woff2 +0 -0
- package/editor-web/assets/tinos-latin-ext-700-italic-BtLLKPsV.woff2 +0 -0
- package/editor-web/assets/tinos-latin-ext-700-italic-Gmi35kWa.woff +0 -0
- package/editor-web/assets/tinos-latin-ext-700-normal-CesJqEpY.woff2 +0 -0
- package/editor-web/assets/tinos-latin-ext-700-normal-nLvPiDAe.woff +0 -0
- package/editor-web/assets/tinos-vietnamese-400-italic-BJdaJnTX.woff2 +0 -0
- package/editor-web/assets/tinos-vietnamese-400-italic-C0nreyLC.woff +0 -0
- package/editor-web/assets/tinos-vietnamese-400-normal-BYl6xqrz.woff +0 -0
- package/editor-web/assets/tinos-vietnamese-400-normal-CrJeqB3M.woff2 +0 -0
- package/editor-web/assets/tinos-vietnamese-700-italic-BPJuDXkI.woff2 +0 -0
- package/editor-web/assets/tinos-vietnamese-700-italic-Dl6iR3hy.woff +0 -0
- package/editor-web/assets/tinos-vietnamese-700-normal-CmLX0U_H.woff2 +0 -0
- package/editor-web/assets/tinos-vietnamese-700-normal-bKCZ5S7w.woff +0 -0
- package/editor-web/assets/trash-2-Bjj6cWzP.js +1 -0
- package/editor-web/assets/treeView-D4JQ5SDB-B6DDatXq.js +1 -0
- package/editor-web/assets/treemap-SAJKECNS-D7j5ZhiI.js +1 -0
- package/editor-web/assets/undo-2-yOSG766T.js +1 -0
- package/editor-web/assets/usecaseDiagram-WPOLBNNX-tkrdKUJB.js +328 -0
- package/editor-web/assets/vennDiagram-Q3Y3IDCW-Ch4XbSnD.js +34 -0
- package/editor-web/assets/video-DXFiCNGc.js +1 -0
- package/editor-web/assets/wardley-7MLQ67FV-Bynt7qNQ.js +1 -0
- package/editor-web/assets/wardleyDiagram-IVAIDKWA-DRuSgm_L.js +78 -0
- package/editor-web/assets/xychartDiagram-4URNHDU4-DctpvfkL.js +7 -0
- package/editor-web/index.html +7 -3
- package/package.json +21 -5
- package/dist/audio-text.js +0 -6
- package/dist/cloud-hearing.js +0 -2
- package/dist/commands/audio.js +0 -4
- package/dist/commands/inspect/contrast.js +0 -2
- package/dist/commands/inspect/fidelity.js +0 -2
- package/dist/commands/inspect/joins.js +0 -2
- package/dist/commands/inspect/motion.js +0 -4
- package/dist/commands/inspect/sheet.js +0 -3
- package/dist/commands/inspect/timeline.js +0 -3
- package/dist/commands/model.js +0 -3
- package/dist/commands/reference-text.js +0 -5
- package/dist/commands/reference.js +0 -2
- package/dist/commands/scenery-input.js +0 -2
- package/dist/commands/scenery.js +0 -7
- package/dist/commands/sheet.js +0 -8
- package/dist/commands/site.js +0 -4
- package/dist/commands/slides.js +0 -3
- package/dist/commands/voice.js +0 -3
- package/dist/commands/words-text.js +0 -6
- package/dist/commands/words.js +0 -2
- package/dist/node_modules/@allyhub/build/dist/sheet-code.d.ts +0 -34
- package/dist/node_modules/@allyhub/build/dist/sheet-code.js +0 -2
- package/dist/node_modules/@allyhub/chart/dist/chart-file.d.ts +0 -11
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.d.ts +0 -33
- package/dist/node_modules/@allyhub/chart/dist/chart.d.ts +0 -206
- package/dist/node_modules/@allyhub/chart/dist/embedded.d.ts +0 -15
- package/dist/node_modules/@allyhub/chart/dist/index.d.ts +0 -6
- package/dist/node_modules/@allyhub/chart/dist/svg.d.ts +0 -22
- package/dist/node_modules/@allyhub/check/dist/generated.js +0 -2
- package/dist/node_modules/@allyhub/check/dist/plans.js +0 -3
- package/dist/node_modules/@allyhub/check/dist/scenery.js +0 -2
- package/dist/node_modules/@allyhub/doc/dist/chart.d.ts +0 -65
- package/dist/node_modules/@allyhub/doc/dist/color.d.ts +0 -6
- package/dist/node_modules/@allyhub/doc/dist/columns.d.ts +0 -6
- package/dist/node_modules/@allyhub/doc/dist/component.d.ts +0 -27
- package/dist/node_modules/@allyhub/doc/dist/docx.d.ts +0 -39
- package/dist/node_modules/@allyhub/doc/dist/html.d.ts +0 -49
- package/dist/node_modules/@allyhub/doc/dist/index.d.ts +0 -13
- package/dist/node_modules/@allyhub/doc/dist/markdown.d.ts +0 -13
- package/dist/node_modules/@allyhub/doc/dist/math.d.ts +0 -11
- package/dist/node_modules/@allyhub/doc/dist/model.d.ts +0 -280
- package/dist/node_modules/@allyhub/doc/dist/paper.d.ts +0 -39
- package/dist/node_modules/@allyhub/doc/dist/parse.d.ts +0 -24
- package/dist/node_modules/@allyhub/doc/dist/patch.d.ts +0 -8
- package/dist/node_modules/@allyhub/doc/dist/title.d.ts +0 -23
- package/dist/node_modules/@allyhub/doc/dist/write.d.ts +0 -18
- package/dist/node_modules/@allyhub/export/dist/deck-pptx.js +0 -2
- package/dist/node_modules/@allyhub/formats/dist/data/comments.d.ts +0 -94
- package/dist/node_modules/@allyhub/formats/dist/data/comments.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/contrast.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/cuts.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/facts.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/fidelity.js +0 -3
- package/dist/node_modules/@allyhub/measure/dist/overlay.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/recording-report.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/reference/piece.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/reference/sets.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/reference/text.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/reference/video.js +0 -2
- package/dist/node_modules/@allyhub/measure/dist/sound-report.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/hear.d.ts +0 -41
- package/dist/node_modules/@allyhub/media/dist/asr/hear.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/languages.d.ts +0 -9
- package/dist/node_modules/@allyhub/media/dist/asr/languages.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/parakeet.d.ts +0 -54
- package/dist/node_modules/@allyhub/media/dist/asr/parakeet.js +0 -7
- package/dist/node_modules/@allyhub/media/dist/asr/protocol.d.ts +0 -20
- package/dist/node_modules/@allyhub/media/dist/asr/protocol.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/transcribe.d.ts +0 -50
- package/dist/node_modules/@allyhub/media/dist/asr/transcribe.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/windows.d.ts +0 -34
- package/dist/node_modules/@allyhub/media/dist/asr/windows.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/words.d.ts +0 -7
- package/dist/node_modules/@allyhub/media/dist/asr/words.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/worker.d.ts +0 -2
- package/dist/node_modules/@allyhub/media/dist/asr/worker.js +0 -4
- package/dist/node_modules/@allyhub/media/dist/local.d.ts +0 -39
- package/dist/node_modules/@allyhub/media/dist/local.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/ocr/lines.d.ts +0 -36
- package/dist/node_modules/@allyhub/media/dist/ocr/lines.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.d.ts +0 -62
- package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/ocr/text.d.ts +0 -36
- package/dist/node_modules/@allyhub/media/dist/ocr/text.js +0 -4
- package/dist/node_modules/@allyhub/media/dist/ocr/worker.d.ts +0 -2
- package/dist/node_modules/@allyhub/media/dist/ocr/worker.js +0 -5
- package/dist/node_modules/@allyhub/media/dist/vision/common.d.ts +0 -32
- package/dist/node_modules/@allyhub/media/dist/vision/common.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/faces.d.ts +0 -18
- package/dist/node_modules/@allyhub/media/dist/vision/faces.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/index-media.d.ts +0 -48
- package/dist/node_modules/@allyhub/media/dist/vision/index-media.js +0 -3
- package/dist/node_modules/@allyhub/media/dist/vision/matte.d.ts +0 -16
- package/dist/node_modules/@allyhub/media/dist/vision/matte.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/mattes.d.ts +0 -109
- package/dist/node_modules/@allyhub/media/dist/vision/mattes.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/models.d.ts +0 -16
- package/dist/node_modules/@allyhub/media/dist/vision/models.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/protocol.d.ts +0 -51
- package/dist/node_modules/@allyhub/media/dist/vision/protocol.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/run.d.ts +0 -12
- package/dist/node_modules/@allyhub/media/dist/vision/run.js +0 -4
- package/dist/node_modules/@allyhub/media/dist/vision/runtime.d.ts +0 -16
- package/dist/node_modules/@allyhub/media/dist/vision/runtime.js +0 -8
- package/dist/node_modules/@allyhub/media/dist/vision/status.d.ts +0 -24
- package/dist/node_modules/@allyhub/media/dist/vision/status.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/track.d.ts +0 -54
- package/dist/node_modules/@allyhub/media/dist/vision/track.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/worker.d.ts +0 -2
- package/dist/node_modules/@allyhub/media/dist/vision/worker.js +0 -5
- package/dist/node_modules/@allyhub/media/dist/vision/yunet.d.ts +0 -35
- package/dist/node_modules/@allyhub/media/dist/vision/yunet.js +0 -2
- package/dist/node_modules/@allyhub/media/dist/worker-process.d.ts +0 -3
- package/dist/node_modules/@allyhub/media/dist/worker-process.js +0 -2
- package/dist/node_modules/@allyhub/ooxml/dist/brightness.d.ts +0 -31
- package/dist/node_modules/@allyhub/ooxml/dist/color.d.ts +0 -33
- package/dist/node_modules/@allyhub/ooxml/dist/enums.d.ts +0 -13
- package/dist/node_modules/@allyhub/ooxml/dist/ext.d.ts +0 -79
- package/dist/node_modules/@allyhub/ooxml/dist/generated/enums.d.ts +0 -132
- package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.d.ts +0 -28
- package/dist/node_modules/@allyhub/ooxml/dist/generated/spec.d.ts +0 -4708
- package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.d.ts +0 -57
- package/dist/node_modules/@allyhub/ooxml/dist/index.d.ts +0 -10
- package/dist/node_modules/@allyhub/ooxml/dist/mce.d.ts +0 -12
- package/dist/node_modules/@allyhub/ooxml/dist/node.d.ts +0 -111
- package/dist/node_modules/@allyhub/ooxml/dist/ns.d.ts +0 -45
- package/dist/node_modules/@allyhub/ooxml/dist/opc.d.ts +0 -48
- package/dist/node_modules/@allyhub/ooxml/dist/report.d.ts +0 -45
- package/dist/node_modules/@allyhub/ooxml/dist/xml.d.ts +0 -28
- package/dist/node_modules/@allyhub/project/dist/deck-keys.js +0 -2
- package/dist/node_modules/@allyhub/project/dist/deck-measure.js +0 -2
- package/dist/node_modules/@allyhub/project/dist/deck-pool.js +0 -2
- package/dist/node_modules/@allyhub/project/dist/says.js +0 -2
- package/dist/node_modules/@allyhub/project/dist/scenery.js +0 -2
- package/dist/node_modules/@allyhub/project/dist/stretch.js +0 -2
- package/dist/node_modules/@allyhub/render/dist/doc/fonts.js +0 -4
- package/dist/node_modules/@allyhub/render/dist/doc/index.js +0 -2
- package/dist/node_modules/@allyhub/render/dist/doc/pages.js +0 -32
- package/dist/node_modules/@allyhub/render/dist/doc/print.js +0 -41
- package/dist/node_modules/@allyhub/render/dist/webp.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/console.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/env.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/errors.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/inspect.js +0 -3
- package/dist/node_modules/@allyhub/runtime/dist/mix-plan.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/reads.js +0 -2
- package/dist/node_modules/@allyhub/runtime/dist/stage.js +0 -2
- package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package-lock.json +0 -227
- package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package.json +0 -8
- package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -105
- package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package.json +0 -8
- package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package-lock.json +0 -128
- package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package.json +0 -9
- package/dist/node_modules/@allyhub/sheet/dist/address.d.ts +0 -32
- package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.d.ts +0 -23
- package/dist/node_modules/@allyhub/sheet/dist/api/charts.d.ts +0 -204
- package/dist/node_modules/@allyhub/sheet/dist/api/code.d.ts +0 -19
- package/dist/node_modules/@allyhub/sheet/dist/api/hint.d.ts +0 -3
- package/dist/node_modules/@allyhub/sheet/dist/api/index.d.ts +0 -8
- package/dist/node_modules/@allyhub/sheet/dist/api/page.d.ts +0 -83
- package/dist/node_modules/@allyhub/sheet/dist/api/rectangles.d.ts +0 -4
- package/dist/node_modules/@allyhub/sheet/dist/api/rules.d.ts +0 -170
- package/dist/node_modules/@allyhub/sheet/dist/api/styles.d.ts +0 -117
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.d.ts +0 -362
- package/dist/node_modules/@allyhub/sheet/dist/arrange.d.ts +0 -68
- package/dist/node_modules/@allyhub/sheet/dist/calc/analyse.d.ts +0 -27
- package/dist/node_modules/@allyhub/sheet/dist/calc/coerce.d.ts +0 -23
- package/dist/node_modules/@allyhub/sheet/dist/calc/engine.d.ts +0 -199
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/aggregate.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/convert.d.ts +0 -4
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/criteria.d.ts +0 -15
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/database.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/date.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/define.d.ts +0 -95
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/delimiters.d.ts +0 -16
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/distributions.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/dynamic.d.ts +0 -19
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/finance.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/index.d.ts +0 -17
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/info.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/kernels.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/logical.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/lookup.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/maths.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/modern.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/special.d.ts +0 -29
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/text.d.ts +0 -2
- package/dist/node_modules/@allyhub/sheet/dist/calc/graph.d.ts +0 -38
- package/dist/node_modules/@allyhub/sheet/dist/calc/indexes.d.ts +0 -19
- package/dist/node_modules/@allyhub/sheet/dist/calc/remote.d.ts +0 -49
- package/dist/node_modules/@allyhub/sheet/dist/calc/server.d.ts +0 -82
- package/dist/node_modules/@allyhub/sheet/dist/calc/types.d.ts +0 -55
- package/dist/node_modules/@allyhub/sheet/dist/chart.d.ts +0 -52
- package/dist/node_modules/@allyhub/sheet/dist/check.d.ts +0 -15
- package/dist/node_modules/@allyhub/sheet/dist/diff.d.ts +0 -79
- package/dist/node_modules/@allyhub/sheet/dist/edit.d.ts +0 -154
- package/dist/node_modules/@allyhub/sheet/dist/export.d.ts +0 -32
- package/dist/node_modules/@allyhub/sheet/dist/file.d.ts +0 -19
- package/dist/node_modules/@allyhub/sheet/dist/files.d.ts +0 -24
- package/dist/node_modules/@allyhub/sheet/dist/fill.d.ts +0 -30
- package/dist/node_modules/@allyhub/sheet/dist/filter.d.ts +0 -29
- package/dist/node_modules/@allyhub/sheet/dist/format.d.ts +0 -15
- package/dist/node_modules/@allyhub/sheet/dist/formula/ast.d.ts +0 -113
- package/dist/node_modules/@allyhub/sheet/dist/formula/move.d.ts +0 -6
- package/dist/node_modules/@allyhub/sheet/dist/formula/parse.d.ts +0 -4
- package/dist/node_modules/@allyhub/sheet/dist/formula/print.d.ts +0 -6
- package/dist/node_modules/@allyhub/sheet/dist/formula/rewrite.d.ts +0 -65
- package/dist/node_modules/@allyhub/sheet/dist/formula/walk.d.ts +0 -6
- package/dist/node_modules/@allyhub/sheet/dist/generated.d.ts +0 -46
- package/dist/node_modules/@allyhub/sheet/dist/html.d.ts +0 -82
- package/dist/node_modules/@allyhub/sheet/dist/import.d.ts +0 -11
- package/dist/node_modules/@allyhub/sheet/dist/index.d.ts +0 -42
- package/dist/node_modules/@allyhub/sheet/dist/inspect.d.ts +0 -25
- package/dist/node_modules/@allyhub/sheet/dist/paginate.d.ts +0 -98
- package/dist/node_modules/@allyhub/sheet/dist/patch.d.ts +0 -4
- package/dist/node_modules/@allyhub/sheet/dist/profile.d.ts +0 -30
- package/dist/node_modules/@allyhub/sheet/dist/rules.d.ts +0 -56
- package/dist/node_modules/@allyhub/sheet/dist/scenario.d.ts +0 -42
- package/dist/node_modules/@allyhub/sheet/dist/series.d.ts +0 -10
- package/dist/node_modules/@allyhub/sheet/dist/sort.d.ts +0 -24
- package/dist/node_modules/@allyhub/sheet/dist/structure.d.ts +0 -38
- package/dist/node_modules/@allyhub/sheet/dist/table-style.d.ts +0 -32
- package/dist/node_modules/@allyhub/sheet/dist/table-styles.d.ts +0 -3
- package/dist/node_modules/@allyhub/sheet/dist/validate.d.ts +0 -26
- package/dist/node_modules/@allyhub/sheet/dist/values.d.ts +0 -67
- package/dist/node_modules/@allyhub/sheet/dist/workbook.d.ts +0 -324
- package/dist/node_modules/@allyhub/sheet/dist/write.d.ts +0 -5
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.d.ts +0 -53
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/colors.d.ts +0 -19
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/formula.d.ts +0 -31
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/functions.d.ts +0 -15
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.d.ts +0 -49
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/index.d.ts +0 -5
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/numfmt.d.ts +0 -8
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.d.ts +0 -159
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/sax.d.ts +0 -23
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.d.ts +0 -25
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.d.ts +0 -3
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.d.ts +0 -23
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/xml.d.ts +0 -28
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.d.ts +0 -40
- package/dist/node_modules/@allyhub/slides-core/dist/animation.d.ts +0 -129
- package/dist/node_modules/@allyhub/slides-core/dist/api.d.ts +0 -730
- package/dist/node_modules/@allyhub/slides-core/dist/capabilities.d.ts +0 -18
- package/dist/node_modules/@allyhub/slides-core/dist/chart-api.d.ts +0 -202
- package/dist/node_modules/@allyhub/slides-core/dist/check.d.ts +0 -7
- package/dist/node_modules/@allyhub/slides-core/dist/code.d.ts +0 -33
- package/dist/node_modules/@allyhub/slides-core/dist/components.d.ts +0 -31
- package/dist/node_modules/@allyhub/slides-core/dist/enums.d.ts +0 -329
- package/dist/node_modules/@allyhub/slides-core/dist/file.d.ts +0 -131
- package/dist/node_modules/@allyhub/slides-core/dist/identity.d.ts +0 -17
- package/dist/node_modules/@allyhub/slides-core/dist/index.d.ts +0 -25
- package/dist/node_modules/@allyhub/slides-core/dist/lang.d.ts +0 -6
- package/dist/node_modules/@allyhub/slides-core/dist/measure.d.ts +0 -34
- package/dist/node_modules/@allyhub/slides-core/dist/merge.d.ts +0 -58
- package/dist/node_modules/@allyhub/slides-core/dist/model.d.ts +0 -293
- package/dist/node_modules/@allyhub/slides-core/dist/office.d.ts +0 -84
- package/dist/node_modules/@allyhub/slides-core/dist/path.d.ts +0 -6
- package/dist/node_modules/@allyhub/slides-core/dist/placeholders.d.ts +0 -7
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.d.ts +0 -202
- package/dist/node_modules/@allyhub/slides-core/dist/script.d.ts +0 -45
- package/dist/node_modules/@allyhub/slides-core/dist/stage.d.ts +0 -61
- package/dist/node_modules/@allyhub/slides-core/dist/strict.d.ts +0 -7
- package/dist/node_modules/@allyhub/slides-core/dist/theme.d.ts +0 -72
- package/dist/node_modules/@allyhub/slides-core/dist/units.d.ts +0 -62
- package/dist/node_modules/@allyhub/slides-core/dist/values.d.ts +0 -7
- package/dist/node_modules/@allyhub/stage/dist/bakes.js +0 -4
- package/dist/node_modules/@allyhub/stage/dist/graphics.js +0 -2
- package/dist/node_modules/@allyhub/stage/dist/scenery-page.js +0 -12
- package/dist/node_modules/@allyhub/stage/dist/scenery.js +0 -2
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/runtime.js +0 -79
- package/dist/node_modules/@allyhub/video-core/dist/anchors.d.ts +0 -164
- package/dist/node_modules/@allyhub/video-core/dist/audio-types.d.ts +0 -148
- package/dist/node_modules/@allyhub/video-core/dist/backdrop.d.ts +0 -87
- package/dist/node_modules/@allyhub/video-core/dist/captions.d.ts +0 -122
- package/dist/node_modules/@allyhub/video-core/dist/component.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/contrast.d.ts +0 -98
- package/dist/node_modules/@allyhub/video-core/dist/cut-report.d.ts +0 -77
- package/dist/node_modules/@allyhub/video-core/dist/edit.d.ts +0 -77
- package/dist/node_modules/@allyhub/video-core/dist/edits.d.ts +0 -163
- package/dist/node_modules/@allyhub/video-core/dist/export.d.ts +0 -97
- package/dist/node_modules/@allyhub/video-core/dist/export.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/fact.d.ts +0 -1179
- package/dist/node_modules/@allyhub/video-core/dist/footage-motion.d.ts +0 -168
- package/dist/node_modules/@allyhub/video-core/dist/formats.d.ts +0 -205
- package/dist/node_modules/@allyhub/video-core/dist/formats.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/gen.d.ts +0 -37
- package/dist/node_modules/@allyhub/video-core/dist/index.d.ts +0 -41
- package/dist/node_modules/@allyhub/video-core/dist/look.d.ts +0 -66
- package/dist/node_modules/@allyhub/video-core/dist/measure.d.ts +0 -563
- package/dist/node_modules/@allyhub/video-core/dist/media.d.ts +0 -226
- package/dist/node_modules/@allyhub/video-core/dist/media.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/messages.d.ts +0 -88
- package/dist/node_modules/@allyhub/video-core/dist/motion.d.ts +0 -56
- package/dist/node_modules/@allyhub/video-core/dist/music.d.ts +0 -111
- package/dist/node_modules/@allyhub/video-core/dist/piece.d.ts +0 -1154
- package/dist/node_modules/@allyhub/video-core/dist/placement.d.ts +0 -37
- package/dist/node_modules/@allyhub/video-core/dist/problem.d.ts +0 -278
- package/dist/node_modules/@allyhub/video-core/dist/problem.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/render-types.d.ts +0 -49
- package/dist/node_modules/@allyhub/video-core/dist/schema.d.ts +0 -350
- package/dist/node_modules/@allyhub/video-core/dist/script-edit.d.ts +0 -180
- package/dist/node_modules/@allyhub/video-core/dist/script.d.ts +0 -76
- package/dist/node_modules/@allyhub/video-core/dist/script.js +0 -2
- package/dist/node_modules/@allyhub/video-core/dist/seams.d.ts +0 -214
- package/dist/node_modules/@allyhub/video-core/dist/sound-under.d.ts +0 -72
- package/dist/node_modules/@allyhub/video-core/dist/source.d.ts +0 -7
- package/dist/node_modules/@allyhub/video-core/dist/speech.d.ts +0 -83
- package/dist/node_modules/@allyhub/video-core/dist/timeline.d.ts +0 -631
- package/dist/node_modules/@allyhub/video-core/dist/timing.d.ts +0 -88
- package/dist/node_modules/@allyhub/video-core/dist/transcript.d.ts +0 -288
- package/dist/node_modules/@allyhub/video-core/dist/transition.d.ts +0 -300
- package/dist/node_modules/@allyhub/video-core/dist/voice.d.ts +0 -175
- package/dist/text/timeline-text.js +0 -2
- package/editor-web/assets/abnfDiagram-WEYOIA3C-B9SmmTJt.js +0 -1
- package/editor-web/assets/architecture-WOLXFQ4H-m-T100yu.js +0 -1
- package/editor-web/assets/architectureDiagram-ZHVYKT53-B5nwfRgH.js +0 -36
- package/editor-web/assets/blockDiagram-RJAE7QA3-ClawtW7w.js +0 -140
- package/editor-web/assets/c4Diagram-XDPPPE54-CFHQpxmY.js +0 -38
- package/editor-web/assets/calc-worker-BTNuOUVJ.js +0 -158
- package/editor-web/assets/channel-hhT2g1yB.js +0 -1
- package/editor-web/assets/choice-BJc3Tv5F.js +0 -10
- package/editor-web/assets/chunk-2E7WHVMD-CoQrt8De.js +0 -88
- package/editor-web/assets/chunk-4EMNKR2T-Iy5ZP2hH.js +0 -1
- package/editor-web/assets/chunk-55XCU76K-DsS8sEfz.js +0 -1
- package/editor-web/assets/chunk-7S6XSTFO-Co220fFP.js +0 -2
- package/editor-web/assets/chunk-AQDTSKZB-JIGZAIpF.js +0 -72
- package/editor-web/assets/chunk-DSNLSHJZ-Ror_NzZx.js +0 -129
- package/editor-web/assets/chunk-HAGFOTED-C07qbJaC.js +0 -62
- package/editor-web/assets/chunk-HNE4Q36P-CM3bprQy.js +0 -1
- package/editor-web/assets/chunk-NQOKRVIF-ipM1cuU7.js +0 -213
- package/editor-web/assets/chunk-UHW7PFBP-CA8McMqW.js +0 -1
- package/editor-web/assets/chunk-VQ5W62QI-DEDvdgPj.js +0 -1
- package/editor-web/assets/chunk-WQQL4CDK-h5ZO7LF7.js +0 -10
- package/editor-web/assets/chunk-YZO67HFG-yC3xdjnt.js +0 -1
- package/editor-web/assets/chunk-ZAUX2LTX-3rRCWRvD.js +0 -1
- package/editor-web/assets/chunk-ZCHMQSOR-DK_PLi39.js +0 -2
- package/editor-web/assets/classDiagram-v2-4MYWR3UA-B9pB-HTm.js +0 -217
- package/editor-web/assets/cynefin-EF2NZ3EQ-CSd3PDdQ.js +0 -1
- package/editor-web/assets/cynefinDiagram-WF24UDRP-BBCequ3T.js +0 -62
- package/editor-web/assets/dagre-NK4GIZVX-C7ZOWX5t.js +0 -4
- package/editor-web/assets/diagram-CBK3MWTC-CQVvlSNo.js +0 -24
- package/editor-web/assets/diagram-I5XIIV2D-BCkke5x3.js +0 -24
- package/editor-web/assets/diagram-ODIL2UCW-DDWQXIlX.js +0 -30
- package/editor-web/assets/diagram-PFBEJUXE-C31QlFzr.js +0 -3
- package/editor-web/assets/diagram-RJA3I4VV-DUXAFmI_.js +0 -41
- package/editor-web/assets/diagram-TYUNFSNR-BCxuoEs9.js +0 -200
- package/editor-web/assets/dist-BRuoygB7.js +0 -2
- package/editor-web/assets/dist-CK42vCmN.js +0 -550
- package/editor-web/assets/dist-C_buDsM-.js +0 -36
- package/editor-web/assets/dist-DNcXHhzn.js +0 -37
- package/editor-web/assets/dist-HxiPpGXi.js +0 -10
- package/editor-web/assets/dist-PF3VMsK7.js +0 -1
- package/editor-web/assets/ebnfDiagram-V4P3TTPT-Drbe1R2R.js +0 -1
- package/editor-web/assets/elk-QONTBCTQ-Bqwuc5U-.js +0 -27
- package/editor-web/assets/erDiagram-KYQIGQAA-lUcyPgf3.js +0 -99
- package/editor-web/assets/eventmodeling-K75KTNOO-BfxFVok7.js +0 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-FJVml4lT.js +0 -1
- package/editor-web/assets/ganttDiagram-R7GPNTJY-AYc1JnE_.js +0 -292
- package/editor-web/assets/gitGraph-VSP46ZUC-Z_2ysYZF.js +0 -1
- package/editor-web/assets/gitGraphDiagram-PDYL7XHY-CB2O1LZ6.js +0 -106
- package/editor-web/assets/hint-BwGc32IE.js +0 -1
- package/editor-web/assets/index-BQKSbBSy.js +0 -69
- package/editor-web/assets/index-CfD80QPx.css +0 -2
- package/editor-web/assets/info-OHQRW6UA-BPePkERU.js +0 -1
- package/editor-web/assets/infoDiagram-MVDRKAX5-CNluCREj.js +0 -2
- package/editor-web/assets/ishikawaDiagram-HPEHV2GE-DIBDBol9.js +0 -70
- package/editor-web/assets/journeyDiagram-BOSHW7O7-C4Hc63C8.js +0 -139
- package/editor-web/assets/kanban-definition-FNSA4HC5-BShCYR9Q.js +0 -89
- package/editor-web/assets/mermaid-parser.core-KGVt2icR.js +0 -7
- package/editor-web/assets/mermaid.core-CVH2hRmI.js +0 -44
- package/editor-web/assets/mindmap-definition-6OY57UG3-C1mo9OeK.js +0 -98
- package/editor-web/assets/packet-JDAUHWVQ-B7YpYnvD.js +0 -1
- package/editor-web/assets/pegDiagram-ECIUJNBX-Es99bVEq.js +0 -1
- package/editor-web/assets/pie-XZMESJXO-xTUp8UcP.js +0 -1
- package/editor-web/assets/pieDiagram-GNMPY74T-CD91pLk4.js +0 -39
- package/editor-web/assets/quadrantDiagram-D57K4MC3-CSnvxc94.js +0 -7
- package/editor-web/assets/radar-ABXABTNO-Dj-t0L18.js +0 -1
- package/editor-web/assets/railroad-I3PHUGI6-BK32uCwU.js +0 -1
- package/editor-web/assets/railroad-abnf-LNEFI6M7-D5R8k6d0.js +0 -1
- package/editor-web/assets/railroad-ebnf-DWYD2UWJ-Crm1KEAC.js +0 -1
- package/editor-web/assets/railroad-peg-JR7BVNR7-BILXac49.js +0 -1
- package/editor-web/assets/railroadDiagram-Y72NRBL7-CevyjvbY.js +0 -1
- package/editor-web/assets/react-BSSSHUyV.js +0 -101
- package/editor-web/assets/requirementDiagram-EQYSW5RA-B5N8Q9VV.js +0 -84
- package/editor-web/assets/sankeyDiagram-SY24JHO5-bCTsxF1A.js +0 -40
- package/editor-web/assets/sequenceDiagram-BLEHNHQU-M37m0sEI.js +0 -169
- package/editor-web/assets/stateDiagram-v2-A6IESKWZ-BDIn7XwV.js +0 -291
- package/editor-web/assets/svg-BiObwMnL.js +0 -1
- package/editor-web/assets/swatch-CwskGSEY.js +0 -105
- package/editor-web/assets/swimlanes-B3ENRKFQ-DIU1TlDI.js +0 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-DPM008dB.js +0 -8
- package/editor-web/assets/tabs-uHwPMprC.js +0 -1
- package/editor-web/assets/timeline-definition-JXYKGLGB-C0x4clqy.js +0 -120
- package/editor-web/assets/treeView-D4JQ5SDB-C9lm0KTt.js +0 -1
- package/editor-web/assets/treemap-SAJKECNS-BMH4lQc7.js +0 -1
- package/editor-web/assets/usecaseDiagram-WPOLBNNX-BhltpBsJ.js +0 -328
- package/editor-web/assets/vennDiagram-Q3Y3IDCW-D3qN9Kpt.js +0 -34
- package/editor-web/assets/wardley-7MLQ67FV-C4k02DvU.js +0 -1
- package/editor-web/assets/wardleyDiagram-IVAIDKWA-dhpBDNqg.js +0 -78
- package/editor-web/assets/xychartDiagram-4URNHDU4-0yEarQ-o.js +0 -7
- /package/dist/{commands → node_modules/@allyhub/3d-extension/dist/cli}/scenery-text.js +0 -0
- /package/dist/node_modules/@allyhub/{check/dist/result.js → build/dist/stage-route.js} +0 -0
- /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/drawn.js +0 -0
- /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/pdf.js +0 -0
- /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/contrast.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/fonts.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/guards.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/pictures.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/styles.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime/dist/bridge.js → image-extension/dist/page.js} +0 -0
- /package/dist/node_modules/@allyhub/{render → image-render}/dist/pdf.js +0 -0
- /package/dist/node_modules/@allyhub/{render → image-render}/dist/png.js +0 -0
- /package/dist/node_modules/@allyhub/{render → measure}/dist/image.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/anchors.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/component.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/contrast.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/gen.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/look.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/messages.js +0 -0
- /package/dist/node_modules/@allyhub/{runtime/dist → piece/dist/page}/locate.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/source.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/voice.js +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.d.ts +0 -0
- /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.js +0 -0
- /package/dist/node_modules/@allyhub/{stage/dist/scenery-solve.js → scenery-host/dist/stage/solve.js} +0 -0
- /package/dist/node_modules/@allyhub/{export → slides-extension}/dist/deck-fonts.js +0 -0
- /package/dist/node_modules/@allyhub/{dev-server/dist/fonts.js → slides-extension/dist/font-faces.js} +0 -0
- /package/dist/node_modules/@allyhub/{dev-server → video-extension}/dist/sound.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/cut-sheet.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/flat.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/loop.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/compare.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/folder.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/interpret.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/sections.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/seams.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/sound-measures.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/still.js +0 -0
- /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/version-voice.js +0 -0
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{INTERPRETATION_FILE as l}from"@allyhub/formats";import{INTERPRETATION_SHAPE as y}from"@allyhub/measure";import{formatProblem as j}from"../text/index.js";const m=(e,s)=>`${String(e)} ${s}${e===1?"":"s"}`,c=e=>e.toFixed(2),f=e=>`${e>=0?"+":""}${String(Math.round(e*100))}%`,g=e=>e>=0?`+${e.toFixed(2)}`:`−${(-e).toFixed(2)}`,d=(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 P(e){if(!e)return"";const s=e.bitrate===void 0?"":` at ${String(Math.round(e.bitrate/1e3))} kbps`;return` · ${e.codec??""}${s}`}function E(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 x(e){const s=e.motion;return` picture: luma ${d(e.luma.p1,1)}/${d(e.luma.p50,1)}/${d(e.luma.p99,1)} (1st/50th/99th), at black ${d(e.blackShare,3)}, grain ${d(e.noise)}, sharpness ${d(e.sharpness)}, saturation ${d(e.saturation,3)}, warmth ${d(e.warmth,3)}; camera speed ${d(s.speed.p50,4)} widths/s, shake ${d(s.shake.p50,5)} widths, still ${d(s.stillShare,3)}`}function F(e){const s=r=>e.recording.spectrum.find(a=>a.hz===r)?.db,t=e.bandwidth.reach.map(r=>`−${String(r.drop)} dB at ${r.hz===null?"—":`${String(r.hz)} Hz`}`).join(", ");return` loudness: ${d(e.loudness.integrated,1)} LUFS, range ${d(e.loudness.range,1)} LU, true peak ${d(e.loudness.truePeak,1)} dBTP; bands ${[125,500,2e3,8e3].map(r=>`${String(r)} ${String(s(r)??"—")}`).join(", ")} dB against 1 kHz; reach ${t}`}export function referenceText(e,s){const t=e.reference,r=t.pacing,a=t.shots,$=e.sections,h=Math.max(4,...$.sections.map(o=>o.name.length)),u=[s(`${e.dir}/reference.json`),` ${c(t.duration)} s · ${String(t.width)}×${String(t.height)} · ${String(t.fps)} fps${P(t.encoding)} · ${t.wordsMissing?"words missing":m(t.wordCount,"word")} · ${m(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: ${m(t.speech.sentences.length,"sentence")}, ${m(t.speech.pauses.length,"pause")} of ${String(t.speech.pause)} s or more`],` on-screen text: ${m(t.text.length,"line")} read in ${m(t.ocr.frames,"frame")}${t.ocr.low?.length?`; ${m(t.ocr.low.length,"word")} under confidence ${String(t.ocr.confidence.word)} in ocr.low`:""}`,...t.sound?[E(t.sound)]:[],` pace: ${String(r.cutsPerMinute)} cuts/min, median shot ${c(r.medianShot)} s, ${String(r.wordsPerMinute)} words/min${r.timeToFirstWord===void 0?"":`, first word at ${c(r.timeToFirstWord)} s`}, text on screen ${String(Math.round(r.textShare*100))}%${r.tempo?`, tempo ${String(r.tempo.bpm)} BPM (confidence ${d(r.tempo.confidence)})`:""}`,x(t.picture),...t.audio?[F(t.audio)]:[],"",$.from==="interpretation"?` Sections (${l}):`:" Neutral split, mechanics only (its rule is segments.rule in reference.json):",...$.sections.map(o=>` ${o.name.padEnd(h)} ${c(o.start).padStart(6)}–${c(o.end).padEnd(6)} ${m(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((n,p)=>p.seconds-n.seconds||n.id-p.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(n=>` #${String(n.id).padEnd(4)} ${S(n.text,40).padEnd(44)} y ${c(n.box[1]+n.box[3]/2)} height ${n.height.toFixed(3)} ${c(n.seconds).padStart(6)} s said ${String(Math.round(n.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}/${l}`)}: ${y}. allyhub reference ${s(e.dir)} then labels the sheets with its sections.`),u.join(`
|
|
3
|
-
`)}export function compareText(e,s){const t=e.comparison,r=t.overall,a=r.diff,$=n=>`${n>=0?"+":""}${String(n)}`,h=(n,p,b,M)=>` ${n.padEnd(16)} ${p.padStart(9)} → ${b.padEnd(9)} ${M}`,u=n=>n===void 0?"none":`${c(n)} s`,i=t.matches.filter(n=>!n.withinTolerance),o=e.problems.filter(n=>n.level==="error");return[`${e.piece} (${e.format}) against ${s(e.reference)}`,t.sections.from==="interpretation"?`The reference's sections are ${l}'s.`:`The reference's sections are its neutral segments (s1, s2…: a mechanical split by pauses and cuts); write ${l} 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."]:[],t.by==="time"?`Compared by time${t.byWhy===void 0?"":` (${t.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(t.places.filter(n=>n.cut).length)} of the ${String(t.places.length)} places its picture may cut are cuts at the reference's threshold (places in --json).`,"Per section, reference → piece (piece − reference):",...t.matches.map(n=>` ${n.ref.names.join("+").padEnd(14)} ${c(n.ref.dur).padStart(6)} s → ${n.ours.keys.join("+").padEnd(16)} ${c(n.ours.dur).padStart(6)} s ${g(n.diff.seconds)} s (${f(n.diff.share)}) cuts/min ${String(n.ref.cutsPerMinute)}→${String(n.ours.cutsPerMinute)} words/min ${String(n.ref.wordsPerMinute)}→${String(n.ours.wordsPerMinute)} text ${c(n.ref.textSeconds)}→${c(n.ours.textSeconds)} s`),"Overall:",h("duration",`${c(r.reference.duration)} s`,`${c(r.ours.duration)} s`,`${g(a.seconds)} s (${f(a.share)})`),h("cuts/min",String(r.reference.cutsPerMinute),String(r.ours.cutsPerMinute),$(a.cutsPerMinute)),h("words/min",String(r.reference.wordsPerMinute),String(r.ours.wordsPerMinute),$(a.wordsPerMinute)),h("first word",u(r.reference.timeToFirstWord),u(r.ours.timeToFirstWord),a.timeToFirstWord===void 0?"":`${g(a.timeToFirstWord)} s`),h("text on screen",`${String(Math.round(r.reference.textShare*100))}%`,`${String(Math.round(r.ours.textShare*100))}%`,`${$(Math.round(a.textShare*100))} points`),"",t.summary.meanDurationDiff===void 0?"No section matched.":`At ±${String(Math.round(t.summary.tolerance*100))}%: ${String(t.summary.sectionsWithin)} of ${String(t.summary.sections)} reference sections within, mean |duration difference| ${String(Math.round(t.summary.meanDurationDiff*100))}%${i.length?`; outside: ${i.map(n=>n.ref.names.join("+")).join(", ")}`:""}.`,` sheet: ${s(e.sheet)}`,...o.length>0?["Must fix (the numbers may be missing where they are):",...o.map(j)]:[]].join(`
|
|
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("[")),r=Math.min(48,Math.max(8,...t.map(([i])=>i.length))),a=e.place!==void 0,$=[`${m(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(r)} ${"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>r?`…${i.slice(i.length-r+1)}`:i).padEnd(r)} ${String(o.n).padStart(4)} ${[o.p10,o.p25,o.p50,o.p75,o.p90].map(p=>w(p).padStart(9)).join(" ")}${a?` ${w(o.value).padStart(9)} ${o.percentile===void 0?" —":String(Math.round(o.percentile)).padStart(3)}`:""}`)];t.length<s.length&&$.push(` and ${String(s.length-t.length)} numbers by bin (spectra, reaches, sharpness by speed, grain by light) in --json`);const h=Object.entries(e.labels);h.length>0&&$.push("",`Labels (${l}), each value's share:`,...h.map(([i,o])=>` ${i}: ${Object.entries(o).map(([n,p])=>`${n} ${String(Math.round(p*100))}%`).join(", ")}`));const u=Object.entries(e.measuredWith).filter(([,i])=>Object.keys(i).length>1);return u.length>0&&$.push("","Measured with different parameters:",...u.map(([i,o])=>` ${i}: ${Object.entries(o).map(([n,p])=>`${n} (${String(p)})`).join(", ")}`)),$.join(`
|
|
5
|
-
`)}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{join as d,relative as $,resolve as m}from"node:path";import{z as s}from"zod";import{startBrowser as M}from"@allyhub/browser";import{REFERENCE_DIR as w}from"@allyhub/formats";import{ReferenceError as A,comparePiece as C,makeReference as D,readReference as I,referenceDir as S,referenceSet as F}from"@allyhub/measure";import{EXIT as l}from"@allyhub/protocol";import{comboKey as P}from"@allyhub/video-core";import{cloudHearing as L}from"../cloud-hearing.js";import{CommandError as h,defineCommand as u}from"../command.js";import{fresh as N}from"../fields.js";import{fromMedia as q,progressLines as x}from"../media.js";import{projectOfFile as V,projectRoot as b}from"../project.js";import{VERSION_FIELDS as g,commandError as W,withVersion as _}from"../version.js";import{drawPage as y,looks as k,save as z}from"./frames/common.js";import{compareText as B,referenceText as H,setText as J}from"./reference-text.js";function K(e){return e instanceof A?new h(e.code,e.message,{exit:e.kind==="usage"?l.usage:e.kind==="not-found"?l.notFound:l.failed,...e.hint===void 0?{}:{hint:e.hint}}):W(q(e))}async function f(e){try{return await e()}catch(r){throw K(r)}}async function U(e){let r;try{r=await M();const n=r;return await e((t,o)=>y(n,{html:t,width:o}))}finally{await r?.close()}}const j=(e,r)=>{const n=$(e,r);return n===""||n.startsWith("..")?r:n};export const reference=u({name:"reference",summary:"Measure a reference video into .allyhub/work/reference/<id>/: its words, cuts, on-screen text, pace, sound and picture as numbers, contact sheets, and reference.json; your interpretation.json beside it names its sections",input:s.strictObject({source:s.string().describe("A video file, an address yt-dlp downloads (TikTok, Instagram, YouTube…), or a reference folder (its path or id) to measure again in place"),lang:s.string().optional().describe("The language spoken, one of Parakeet's 25 European languages (en, es, fr, de…); left out, Parakeet tells them apart. One it does not cover leaves the words missing and the rest measured"),all:s.boolean().default(!1).describe("Also keep what the fixed thresholds leave out: every shot peak with its score (shots.candidates), the words OCR read with too little confidence (ocr.low) and every gap between words (speech.gaps)"),fresh:N,dir:s.string().optional().describe("The project it goes in (default the nearest above the file, else the current folder's)")}),positional:["source"],output:s.looseObject({dir:s.string(),file:s.string(),reference:s.unknown()}),examples:["allyhub reference ~/Downloads/ad.mp4","allyhub reference https://www.tiktok.com/@brand/video/7412345678901234567","allyhub reference ad --all"]},async(e,r)=>{const n=/^https?:\/\//i.test(e.source),t=await V(n?".":e.source,r.cwd,e.dir);t.warning!==void 0&&r.progress(t.warning);const o=await f(()=>U(i=>D(e.source,{root:t.root,cwd:r.cwd,draw:i,pictures:k(),lang:e.lang,cloud:L(r,t.root),all:e.all,fresh:e.fresh,signal:r.signal,onProgress:x(r)})));return o.reference.wordsMissing!==void 0&&r.progress(`Speech recognition failed, so the words are missing: ${o.reference.wordsMissing.message}`),{value:{dir:o.dir,file:d(o.dir,"reference.json"),video:o.video,...o.words===void 0?{}:{words:o.words},sheets:o.sheets,...o.interpretation?{interpretation:o.interpretation}:{},sections:{from:o.sections.from,list:o.sections.sections},reference:o.reference},text:H(o,i=>j(r.cwd,i))}}),referenceCompare=u({name:"reference compare",summary:"A piece measured from its code, with no render, against a reference's sections (your interpretation.json's, else its neutral segments): per section and overall, the piece's numbers less the reference's, and a side-by-side sheet",input:s.strictObject({reference:s.string().describe("The reference: its folder, its reference.json, or its id under .allyhub/work/reference/"),...g,by:s.enum(["parts","time"]).optional().describe("parts: the piece's parts aligned to the sections, by durations, places and names; time: each section against the same seconds of the piece. Default parts, time when they cannot be aligned")}),positional:["reference","item"],output:s.looseObject({reference:s.string(),sheet:s.string(),matches:s.array(s.unknown())}),examples:["allyhub reference compare ad launch/film","allyhub reference compare .allyhub/work/reference/ad launch/film --by time"]},async(e,r)=>{const n=await b(r.cwd,e.dir),t=await S(n,r.cwd,e.reference);if(t===void 0)throw new h("no-reference",`There is no reference ${e.reference}: no reference.json at ${m(r.cwd,e.reference)} or in ${d(w,e.reference)}.`,{exit:l.notFound,hint:"Make it with allyhub reference <file or URL>."});const o=await f(()=>I(t)),i=await _(e,r,"render",async a=>{r.progress(`Measuring ${a.target.piece} from its code`);const{comparison:v,sheet:O}=await f(()=>C(a,{ref:o.ref,video:o.video,words:o.words,interpretation:o.interpretation,by:e.by,draw:(R,T)=>y(a.session.browser,{html:R,width:T})})),p=P(a.target.combo),E=await z(d(t,`compare.${a.target.piece.replaceAll("/","-")}${p==="default"?"":`.${p}`}.${k()}`),O);return{piece:a.target.piece,combo:a.target.combo,format:a.target.format,sheet:E,comparison:v}}),c=i.result;return{value:{reference:t,...o.ref.wordsMissing?{referenceWordsMissing:o.ref.wordsMissing}:{},piece:c.piece,combo:c.combo,format:c.format,sheet:c.sheet,...c.comparison,problems:i.problems.filter(a=>a.level==="error")},text:B({...c,reference:t,ref:o.ref,problems:i.problems},a=>j(r.cwd,a))}});function X(e){const r=e.indexOf("=");if(r<=0)throw new h("bad-option",`--where takes label=value, not ${JSON.stringify(e)}.`,{exit:l.usage});return{key:e.slice(0,r),value:e.slice(r+1)}}export const referenceSetCommand=u({name:"reference set",summary:"A set of references as statistics: every number their reference.json holds, by its path, with its quantiles; each value's share of their interpretation.json labels; and one folder's percentile among them",input:s.strictObject({folders:s.array(s.string()).optional().describe("Reference folders, or folders of them (default the project's .allyhub/work/reference/)"),where:s.array(s.string()).optional().describe("Only the references whose interpretation.json labels hold this, label=value (a list holds what it contains)"),place:s.string().optional().describe("A reference folder to place among the set: each of its numbers with its percentile (a piece measured with allyhub reference served)"),dir:g.dir}),positional:["folders"],output:s.looseObject({n:s.number(),numbers:s.unknown()}),examples:["allyhub reference set","allyhub reference set --where format=talking-head --place .allyhub/work/reference/film-tiktok"]},async(e,r)=>{const n=e.folders===void 0||e.folders.length===0?await b(r.cwd,e.dir):void 0,t=n===void 0?(e.folders??[]).map(i=>m(r.cwd,i)):[d(n,w)],o=await f(()=>F(t,{place:e.place===void 0?void 0:m(r.cwd,e.place),where:(e.where??[]).map(X)}));return{value:{...o},text:J(o)}});
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{z as e}from"zod";import{EXIT as l}from"@allyhub/protocol";import{CAMERA_DEFAULTS as m,cameraProblems as h}from"@allyhub/scenery";import{CommandError as b}from"../command.js";import{dir as g}from"../fields.js";const s=(t,o)=>new b("usage",t,{exit:l.usage,...o===void 0?{}:{hint:o}});export const SCENERY_FIELDS={item:e.string().describe("The scenery: a path to its folder or its scenery.ts"),dir:g,times:e.array(e.string()).optional().describe("Seconds of scenery time for the word and anchor references the scenery's moves and its update (w.time) are timed by, as a video's part gives them: @turn=3.2,@show=5.1 (@turn+0.2 is found from @turn); over --piece's"),piece:e.string().optional().describe("The video whose scenery layers give those times (default, when one is needed and --times gives none: the one video of the project that draws this scenery)")};const c=e.tuple([e.number(),e.number(),e.number()]);export const LENS_FRAME=e.enum(["diagonal","long","short","phone"]);const f=e.strictObject({position:c,target:e.union([c,e.string()]).exactOptional(),direction:c.exactOptional(),yaw:e.number().exactOptional(),pitch:e.number().exactOptional(),up:c.exactOptional(),roll:e.number().exactOptional(),lens:e.number().exactOptional(),lensFrame:e.union([LENS_FRAME,e.strictObject({aspect:e.number().positive(),keep:e.enum(["long","short"])})]).exactOptional(),fov:e.number().exactOptional(),near:e.number().exactOptional(),far:e.number().exactOptional(),aperture:e.number().exactOptional(),focus:e.union([e.number(),c,e.string()]).exactOptional(),ev:e.number().exactOptional()}),u=e.union([e.string(),f]),p=`as a scenery's code writes a CameraState: {"position":[0,1.6,3],"target":"crate","lens":26}; its fields position, target, direction, yaw, pitch, up, roll, lens (default ${String(m.lens)}), lensFrame, fov, near (default ${String(m.near)}), far (default ${String(m.far)}), aperture, focus, ev`;export const NAMED_FIELDS={camera:e.array(u).optional().describe(`Cameras to look from: each a named camera of the scenery, or one written in JSON ${p}`),move:e.array(e.string()).optional().describe("The scenery's named moves to look from, at each moment")},ONE_CAMERA_FIELDS={camera:u.optional().describe(`The camera: a named camera of the scenery, or one written in JSON ${p}`),move:e.string().optional().describe("The scenery's named move")};const d=`--camera '{"position":[0,1.6,3],"target":"crate"}'`;export function cameraOf(t){let o=t;if(typeof t=="string"){if(!t.trimStart().startsWith("{"))return{name:t};try{o=JSON.parse(t)}catch(n){throw s(`--camera ${t}: not JSON (${n.message}).`,`Write it as ${d}.`)}}const r=f.safeParse(o);if(!r.success){const n=r.error.issues.map(i=>`${i.path.length>0?`${i.path.join(".")}: `:""}${i.message}`);throw s(`--camera ${JSON.stringify(o)}: ${n.join("; ")}.`,`Write it as ${d}.`)}const a=h(r.data);if(a.length>0)throw s(`--camera ${JSON.stringify(o)}: ${a.join("; ")}.`);return{state:r.data}}export function sourcesOf(t){const o=(t.camera??[]).map(cameraOf),r=o.filter(n=>"state"in n).length;let a=0;return[...o.map(n=>"name"in n?{source:n}:(a++,{source:n,label:r>1?`camera ${String(a)}`:"camera"})),...(t.move??[]).map(n=>({source:{move:n}}))]}export function timesOf(t){if(!t||t.length===0)return{};const o={};for(const r of t){const a=r.lastIndexOf("="),n=r.slice(0,a).trim(),i=Number(r.slice(a+1));if(a<=0||n===""||!Number.isFinite(i))throw s(`--times takes reference=seconds pairs (@turn=3.2), not "${r}".`);o[n]=i}return{times:o}}export function sizeOf(t,o="size"){const r=/^(\d+)x(\d+)$/u.exec(t.trim()),a=Number(r?.[1]),n=Number(r?.[2]);if(!r||a<16||n<16||a>8192||n>8192)throw s(`--${o} is WIDTHxHEIGHT in pixels, 16 to 8192 a side, not ${t}.`);return[a,n]}export function momentsOf(t){if(t.at&&t.every!==void 0)throw s("--at lists moments; --every spreads them over --from…--to: give one way.");if(t.at&&t.at.length>0)return t.at;if(t.every===void 0)return[t.from];const{from:o,to:r}=t;if(r===void 0||!(r>o))throw s("--every needs --to, after --from (default 0).");const a=[];for(let n=o;n<=r+1e-9;n+=t.every)a.push(Math.round(n*1e6)/1e6);return a}export function pairOf(t,o){if(!t)return;const[r,a]=t;if(t.length!==2||r===void 0||a===void 0)throw s(`--${o} is two names joined with a comma.`);return[r,a]}
|
package/dist/commands/scenery.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{mkdir as R,readFile as K,writeFile as M}from"node:fs/promises";import{dirname as U,join as S,resolve as A}from"node:path";import{z as t}from"zod";import{startBrowser as X}from"@allyhub/browser";import{WORK_DIR as Q}from"@allyhub/formats";import{EXIT as y}from"@allyhub/protocol";import{FLOOR_DEFAULTS as C,INVENTORY_FRAME as ee,MAP_DEFAULTS as te,MAP_VIEWS as B,MEASURE_DEFAULTS as re,MOTION_DEFAULTS as se,SIDES as ae,SOLVE_DEFAULTS as N,SOLVE_PARAMS as oe}from"@allyhub/scenery";import{SceneryCallError as V,SceneryStage as ne,bakeStatus as ie,keepBake as ce,readBakeIndex as me,solveSceneryCamera as le,solvedPicture as de}from"@allyhub/stage";import{ProjectError as fe,findScenery as he,sceneryTimesFromVideo as ue}from"@allyhub/project";import{commandError as be}from"../version.js";import{CommandError as p,defineCommand as j}from"../command.js";import{projectRoot as we}from"../project.js";import{parameters as ye}from"../parameters.js";import{LENS_FRAME as pe,NAMED_FIELDS as I,ONE_CAMERA_FIELDS as ve,SCENERY_FIELDS as v,cameraOf as ge,momentsOf as xe,pairOf as Y,sizeOf as D,sourcesOf as P,timesOf as je}from"./scenery-input.js";import{bakeLine as ke,bakeText as Te,inventoryText as Oe,mapText as Ee,measureText as Se,motionText as $e,problemLines as De,seeText as Fe,shown as F,solveText as ze,viewText as Ae}from"./scenery-text.js";const W=`${Q}/scenery`,H="540x960",T=e=>e===void 0?{}:{times:e};async function k(e,r,m,d={}){const n=await we(r.cwd,e.dir),s=await he(n,r.cwd,e.item),i=je(e.times).times,a=await X({signal:r.signal}),c=async f=>{r.progress(`Reading the scenery times of ${f??"the video that draws it"}…`);const h=await ue({root:n,file:s.entry,browser:a,...f===void 0?{}:{piece:f}}),o=Object.entries(h.times).map(([l,b])=>`${l} ${b.toFixed(3)}`).join(", ");return r.progress(`Scenery times from ${h.piece}: ${o||"no anchors"}`),{...h.times,...i}};let u;try{const f=e.piece===void 0?i:await c(e.piece);r.progress(`Building ${s.entry}…`),u=await ne.ofProject({browser:a,root:n,file:s.entry,...d.unbaked?{unbaked:!0}:{}});const h={root:n,item:s.place,file:s.entry,stage:u,browser:a,stem:s.place.replaceAll("/","-")};try{return await m({...h,times:f})}catch(o){if(!(o instanceof V)||o.needsTime===void 0||e.times!==void 0||e.piece!==void 0)throw o;let l;try{l=await c(void 0)}catch(b){throw b instanceof fe?new p("needs-time",`${o.rule}: ${o.message} ${b.message}`,{exit:y.usage,hint:b.code==="several-videos"?`Name the one whose times to take with --piece, or give it: --times ${o.needsTime}=<seconds>.`:`Give the scenery time it is at: --times ${o.needsTime}=<seconds>.`}):b}return await m({...h,times:l})}}catch(f){throw Ie(f)}finally{await u?.close(),await a.close()}}function Ie(e){return e instanceof V?e.needsTime!==void 0?new p("needs-time",`${e.rule}: ${e.message}`,{exit:y.usage,hint:`Give the scenery time it is at: --times ${e.needsTime}=<seconds>.`}):new p(`scenery-${e.kind}`,`${e.rule}: ${e.message}`):be(e)}async function O(e){const r=await e.call("problems");return{problems:r,exit:r.some(m=>m.level==="error")?y.failed:y.ok}}const E=(e,r)=>r.length>0?`${e}
|
|
3
|
-
${De(r).join(`
|
|
4
|
-
`)}`:e;async function J(e,r){return await R(U(e),{recursive:!0}),await M(e,Buffer.from(r.replace(/^data:image\/[a-z]+;base64,/u,""),"base64")),e}async function q(e,r){const m=await e.value(e.call("info")),d=Object.keys(m.cameras)[0];if(d===void 0)throw new p("no-camera",`${r} names no camera, and none was given.`,{exit:y.usage,hint:`Give one: --camera '{"position":[x,y,z],"target":"<object>"}', --move, or --around <object> (scenery view); or name cameras in defineScenery({ cameras }).`});return d}const _=t.array(t.string()).optional().describe("The only objects drawn, by name (with what is under them)"),L=t.boolean().default(!1).describe("Also each named object inside a model or group (default: only those with no named object above them, each with all it holds)");export const scenery=j({name:"scenery",summary:"A 3D scenery's objects with their places, sizes and costs, its lights, cameras, moves and bake",input:t.strictObject({...v,at:t.number().default(0).describe("Scenery time to pose it at, s"),nested:L}),positional:["item"],output:t.looseObject({file:t.string(),objects:t.array(t.unknown()),cameras:t.record(t.string(),t.unknown()),moves:t.array(t.string()),bake:t.unknown(),problems:t.array(t.unknown())}),examples:["allyhub scenery room","allyhub scenery room --nested --json"]},async(e,r)=>k(e,r,async({root:m,item:d,file:n,stage:s,times:i})=>{const a=await s.value(s.call("inventory",e.at,ee,i)),c=await s.value(s.call("info")),u=ie(c.bake,await me(m),n),f=Oe(n,a,e.nested).split(`
|
|
5
|
-
`);f.splice(2,0,ke(d,u,c.renderer.gl,c.bake.laid??void 0));const{problems:h,exit:o}=await O(s);return{value:{file:n,...a,bake:u,problems:h},text:E(f.join(`
|
|
6
|
-
`),h),exit:o}})),sceneryView=j({name:"scenery view",summary:"Draws a 3D scenery from cameras at moments, each picture captioned with its camera in numbers",input:t.strictObject({...v,...I,around:t.string().optional().describe("Frame this object from its sides, with fitCamera"),sides:t.array(t.enum(ae)).default(["front","left","top","three-quarter"]).describe("With --around: the sides it is framed from; front is its own +Z, a glTF model's front"),at:t.array(t.number()).optional().describe("Moments of scenery time, s (default --from)"),every:t.number().positive().optional().describe("A moment every so many seconds over --from…--to"),from:t.number().default(0).describe("Where --every starts, s"),to:t.number().optional().describe("Where --every ends, s"),size:t.string().default(H).describe("Each picture's pixels, WIDTHxHEIGHT"),overlay:t.boolean().default(!1).describe("Draw over each picture the floor grid a metre apart, the axes, each named object's box and its name with the share of it others hide"),nested:L,only:_,out:t.string().optional().describe(`The picture to write, a WebP (default ${W}/<scenery>-view.webp)`)}),positional:["item"],output:t.looseObject({file:t.string()}),examples:["allyhub scenery view room --camera door",`allyhub scenery view room --camera '{"position":[0,1.6,3],"target":"crate","lens":26}' --overlay`,"allyhub scenery view room --around crate"]},async(e,r)=>{const[m,d]=D(e.size),n=xe(e),s=P(e);if(e.around!==void 0)for(const i of e.sides)s.push({source:{around:e.around,side:i}});return k(e,r,async({root:i,file:a,stage:c,stem:u,times:f})=>{s.length===0&&s.push({source:{name:await q(c,a)}});const o={tiles:n.flatMap(z=>s.map($=>({camera:$.source,t:z,...$.label?{label:$.label}:{}}))),width:m,height:d,overlay:e.overlay,labels:e.nested?"all":"top",only:e.only??[],...T(f),picture:"webp"},l=await c.value(c.call("view",o)),b=await J(e.out===void 0?S(i,W,`${u}-view.webp`):A(r.cwd,e.out),l.png),{problems:g,exit:x}=await O(c);return{value:{file:a,picture:b,width:l.width,height:l.height,columns:l.columns,tiles:l.tiles,problems:g},text:E(Ae(F(r.cwd,b),l,e.overlay),g),exit:x}})}),sceneryMap=j({name:"scenery map",summary:"Draws a 3D scenery from above, the front and the side, orthographic: a grid, each named object's outline, name and front, the cameras and the moves; and each object's footprint on the floor",input:t.strictObject({...v,camera:I.camera.describe(`Cameras written in JSON, drawn beside the scenery's own: {"position":[0,1.6,3],"target":"crate","lens":26}`),move:I.move.describe("The scenery's named moves to draw (default every move)"),at:t.number().default(0).describe("Scenery time to pose it at, s"),from:t.number().default(0).describe("Where the moves start being drawn, s"),to:t.number().default(10).describe("Where the moves stop being drawn, s"),size:t.string().default(H).describe("The frame the cameras' frustums are drawn for, WIDTHxHEIGHT; its longer side is each view's"),views:t.array(t.enum(B)).default([...B]).describe("The views"),nested:L,only:_,out:t.string().optional().describe(`The folder the views go in (default ${W})`)}),positional:["item"],output:t.looseObject({file:t.string()}),examples:["allyhub scenery map room","allyhub scenery map room --move swing --times @turn=2 --to 4"]},async(e,r)=>{const[m,d]=D(e.size);if(!(e.to>=e.from))throw new p("usage","--to comes after --from.",{exit:y.usage});const n=Object.fromEntries(P({camera:e.camera}).flatMap(s=>"state"in s.source?[[s.label??"camera",s.source.state]]:[]));return k(e,r,async({root:s,file:i,stage:a,stem:c,times:u})=>{const f=await a.value(a.call("info")),h=e.move??[],o=await a.value(a.call("map",{views:e.views,t:e.at,aspect:m/d,from:e.from,to:e.to,...te,size:Math.max(m,d),moves:h.length>0?h:f.moves,picture:"webp",...Object.keys(n).length>0?{cameras:n}:{},...T(u),only:e.only??[],...e.nested?{nested:!0}:{}})),l=(o.left??[]).find(w=>h.includes(w.move));if(l)throw new p("scenery-camera",`AK-W004: ${l.why}`,{hint:"A move timed by word or anchor references needs their times: --times @name=seconds."});const b=e.out===void 0?S(s,W):A(r.cwd,e.out),g={};for(const w of o.views)g[w.view]=await J(S(b,`${c}-map-${w.view}.webp`),w.png);const x=S(b,`${c}-map.json`);await M(x,`${JSON.stringify({file:i,t:e.at,footprints:o.footprints,paths:o.paths,...o.left?{left:o.left}:{}},null,2)}
|
|
7
|
-
`);const{problems:z,exit:$}=await O(a);return{value:{file:i,views:o.views.map(w=>({view:w.view,width:w.width,height:w.height,scale:w.scale,bounds:w.bounds,file:g[w.view]})),footprints:o.footprints,paths:o.paths,...o.left?{left:o.left}:{},json:x,problems:z},text:E(Ee(o,w=>F(r.cwd,w),g,x),z),exit:$}})}),sceneryMeasure=j({name:"scenery measure",summary:"Measures a 3D scenery's geometry: surfaces, contacts, gaps and what rests on what; line of sight, clear space and free floor when asked",input:t.strictObject({...v,at:t.number().default(0).describe("Scenery time to pose it at, s"),only:t.array(t.string()).optional().describe("The only named objects measured (default every named object with no named object above it; the rest still stand under them for support)"),nested:L,between:t.array(t.string()).optional().describe("One pair measured whatever the distance: two names"),all:t.boolean().default(!1).describe("Every pair, however far apart"),sight:t.array(t.string()).optional().describe("Line of sight between two objects: two names"),clear:t.string().optional().describe("How far is clear ahead of this object, along its own +Z"),floor:t.string().optional().describe("The free floor on this object"),floorFrom:t.string().optional().describe("With --floor: what the connected floor starts from (default the largest free area)"),params:ye({radius:t.number().positive().default(C.radius).describe("With --floor: the free floor keeps so far from anything standing, m")})}),positional:["item"],output:t.looseObject({file:t.string()}),examples:["allyhub scenery measure room","allyhub scenery measure room --between crate,floor","allyhub scenery measure room --floor floor"]},async(e,r)=>{const m=Y(e.between,"between"),d=Y(e.sight,"sight"),n={t:e.at,...e.only?{objects:e.only}:{},...re,all:e.all,nested:e.nested,...m?{between:m}:{},...d?{sight:d}:{},...e.clear===void 0?{}:{clear:e.clear},...e.floor===void 0?{}:{floor:{...C,name:e.floor,radius:e.params.radius,...e.floorFrom===void 0?{}:{from:e.floorFrom}}}};return k(e,r,async({file:s,stage:i,times:a})=>{const c=await i.value(i.call("measure",{...n,...T(a)})),{problems:u,exit:f}=await O(i);return{value:{file:s,...c,problems:u},text:E(Se(s,c,n),u),exit:f}})}),scenerySee=j({name:"scenery see",summary:"What cameras of a 3D scenery see at moments: each named object's share of the frame, what hides it, what the frame's edges cut, its distance; the camera's clearance; the picture's levels",input:t.strictObject({...v,...I,at:t.array(t.number()).default([0]).describe("Moments of scenery time, s"),only:_,size:t.string().default(H).describe("The frame, WIDTHxHEIGHT"),pick:t.array(t.number()).length(2).optional().describe("A pixel to ask what is under, x,y from the top left")}),positional:["item"],output:t.looseObject({file:t.string()}),examples:["allyhub scenery see room --camera door",`allyhub scenery see room --camera '{"position":[0,1.6,3],"target":"crate"}' --at 0,2`]},async(e,r)=>{const[m,d]=D(e.size),n=P(e),s=e.pick;return k(e,r,async({file:i,stage:a,times:c})=>{n.length===0&&n.push({source:{name:await q(a,i)}});const u=await a.value(a.call("see",{...T(c),tiles:e.at.flatMap(o=>n.map(l=>({camera:l.source,t:o,...l.label?{label:l.label}:{}}))),width:m,height:d,only:e.only??[],...s?{pick:s}:{}})),{problems:f,exit:h}=await O(a);return{value:{file:i,...u,problems:f},text:E(Fe(u),f),exit:h}})}),sceneryMotion=j({name:"scenery motion",summary:"How one camera of a 3D scenery moves over a stretch, drawing nothing: its channels in its own frame, speed, jerk, smoothness, clearance, and how each named object moves on the frame",input:t.strictObject({...v,...ve,from:t.number().default(0).describe("Where it starts, s"),to:t.number().default(10).describe("Where it ends, s"),size:t.string().default(H).describe("The frame, WIDTHxHEIGHT")}),positional:["item"],output:t.looseObject({file:t.string()}),examples:["allyhub scenery motion room --move dolly","allyhub scenery motion room --move swing --times @turn=2 --to 4"]},async(e,r)=>{const[m,d]=D(e.size);if(e.camera===void 0==(e.move===void 0))throw new p("usage","scenery motion follows one camera: give --move or --camera.",{exit:y.usage});if(!(e.to>e.from))throw new p("usage","--to comes after --from.",{exit:y.usage});const n=e.move!==void 0?{move:e.move}:ge(e.camera??""),s="move"in n?n.move:"name"in n?n.name:"camera";return k(e,r,async({file:i,stage:a,times:c})=>{const u=await a.value(a.call("motion",{...T(c),camera:n,from:e.from,to:e.to,fps:se.fps,width:m,height:d})),{problems:f,exit:h}=await O(a);return{value:{file:i,camera:s,...u,problems:f},text:E($e(s,u),f),exit:h}})});const G=t.union([t.tuple([t.number(),t.number(),t.number()]),t.strictObject({object:t.string()}),t.strictObject({screen:t.string(),uv:t.tuple([t.number(),t.number()])})]),Z=t.tuple([t.number(),t.number()]),We=t.strictObject({size:t.tuple([t.int().positive(),t.int().positive()]).optional(),points:t.array(t.strictObject({name:t.string().optional(),where:G,px:Z,weight:t.number().positive().optional()})).default([]),lines:t.array(t.strictObject({name:t.string().optional(),from:G,to:G,px:Z,weight:t.number().positive().optional()})).default([])});export const scenerySolve=j({name:"scenery solve",summary:"Finds the camera that took a picture, from points of a 3D scenery and the pixels they land on",input:t.strictObject({...v,points:t.string().describe(`The correspondences, a JSON file: { "size": [w, h], "points": [{ "name", "where", "px": [x, y] }], "lines": [{ "name", "from", "to", "px" }] }; a point is [x, y, z] in metres, { "object": "<name>" } (its box's centre) or { "screen": "<mesh name>", "uv": [u, v] }; pixels from the picture's top left`),size:t.string().optional().describe("The picture's pixels, WIDTHxHEIGHT, when the file gives no size"),lens:t.number().positive().optional().describe(`The lens, 35 mm-equivalent mm: fixed, or where the solve starts with --free lens (default ${String(N.lens)})`),lensFrame:pe.optional().describe(`What the lens is measured on: diagonal, long, short or phone (default ${N.lensFrame})`),free:t.array(t.enum(oe)).optional().describe(`What is solved for (default ${N.free.join(",")}); the rest keep their start`),from:t.string().optional().describe("A camera of the scenery to start from, by name (default: starts round the points)"),at:t.number().default(0).describe("Scenery time to pose the scenery at for named points, s"),out:t.string().optional().describe("Draw the scenery from the solved camera into this WebP, the measured pixels as yellow rings and where the camera puts them as red dots")}),positional:["item"],output:t.looseObject({file:t.string(),residuals:t.array(t.unknown())}),examples:["allyhub scenery solve room --points frame-12.json --out solved.webp"]},async(e,r)=>{const m=A(r.cwd,e.points);let d;try{d=JSON.parse(await K(m,"utf8"))}catch(a){throw new p("bad-points",`Cannot read ${e.points} as JSON: ${a.message}`,{exit:y.usage})}const n=We.safeParse(d);if(!n.success)throw new p("bad-points",`${e.points}: ${t.prettifyError(n.error)}`,{exit:y.usage});const s=n.data,i=s.size??(e.size===void 0?void 0:D(e.size));if(!i)throw new p("usage","The picture's size is not given: the pixels are measured on it.",{exit:y.usage,hint:'Give "size": [width, height] in the file, or --size WIDTHxHEIGHT.'});return k(e,r,async({file:a,stage:c,browser:u,times:f})=>{let h;if(e.from!==void 0){const x=await c.value(c.call("info"));if(h=x.cameras[e.from],!h)throw new p("no-camera",`${a} has no camera ${e.from}.`,{exit:y.usage,hint:`Its cameras: ${Object.keys(x.cameras).join(", ")||"(none)"}.`})}const o=await le(c,s,{frame:i,t:e.at,...T(f),...e.lens===void 0?{}:{lens:e.lens},...e.lensFrame===void 0?{}:{lensFrame:e.lensFrame},...e.free?{free:e.free}:{},...h?{from:h}:{}});let l;e.out!==void 0&&o.camera&&(l=A(r.cwd,e.out),await R(U(l),{recursive:!0}),await M(l,await de(c,u,o.camera,o,{frame:i,t:e.at,...T(f)})));const{problems:b,exit:g}=await O(c);return{value:{file:a,size:i,...o,...l?{picture:l}:{},problems:b},text:E(ze(o,{size:i,...l?{png:F(r.cwd,l)}:{}}),b),exit:o.camera?g:y.failed}})}),sceneryBake=j({name:"scenery bake",summary:"Bakes a 3D scenery's light into a lightmap once, kept in .allyhub/cache/bake/ and laid on it each time it is built; one baked on a GPU is laid only by that GPU, one baked on the CPU (ALLYHUB_GPU=0) by every renderer",input:t.strictObject({item:v.item,dir:v.dir}),positional:["item"],output:t.looseObject({file:t.string(),bake:t.string(),report:t.string(),digest:t.string(),renderer:t.string()}),examples:["allyhub scenery bake room","ALLYHUB_GPU=0 allyhub scenery bake room"]},async(e,r)=>k(e,r,async({root:m,file:d,stage:n})=>{r.progress("Baking…");const{report:s,bytes:i}=await n.bake(),a=await ce(m,d,s,i);return{value:{file:d,...s,...a},text:Te(d,s,{bake:F(r.cwd,S(m,a.bake)),report:F(r.cwd,S(m,a.report))},a.dropped)}},{unbaked:!0})),SCENERY_COMMANDS=[scenery,sceneryView,sceneryMap,sceneryMeasure,scenerySee,sceneryMotion,scenerySolve,sceneryBake];
|
package/dist/commands/sheet.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{mkdir as ie,readFile as H,stat as X,writeFile as ce}from"node:fs/promises";import{basename as v,dirname as N,extname as A,join as E,relative as B,resolve as D}from"node:path";import{z as d}from"zod";import{readSheetSource as he,sheetRoot as de,workbookFiles as fe}from"@allyhub/build";import{ITEM_KINDS as me,ZIP_LIMITS as ue}from"@allyhub/formats";import{EXIT as $}from"@allyhub/protocol";import{CellError as we,DIFF_DEFAULTS as pe,FormulaCell as O,Matrix as be,PROFILE_TOP as $e,SharedFormula as ge,cellName as M,checkWorkbook as q,dataValue as _,diffWorkbooks as ye,importRows as xe,profileTable as ve,rangeName as G,readAddress as ke,readArea as Se,scenarioNames as K,shownValue as S}from"@allyhub/sheet";import{CAPABILITIES as Y}from"@allyhub/sheet/api";import{COMPARE_TOLERANCE as je,importXlsx as Z}from"@allyhub/sheet/xlsx";import{CommandError as g,defineCommand as j}from"../command.js";import{projectRoot as T}from"../project.js";import{dir as C}from"../fields.js";const k=me.sheet.entries[0];export const CALC_ROWS=50,TRACE_CELLS=50;export async function findSheet(e,o,s){const t=D(o,s);for(const n of[v(t)===k?t:E(t,k),E(e,s,k)])if((await X(n).catch(()=>{}))?.isFile())return n}export const sheetFolderName=(e,o)=>B(e,N(o));export async function sheetAt(e,o,s){const t=await findSheet(e,o,s);if(t!==void 0)return t;throw new g("not-found",`There is no sheet ${s}.`,{exit:$.notFound,hint:"Name it by its folder (research/leads) or its sheet.yaml."})}export async function sourceOfSheet(e,o){const s=de(e,N(o)),t=await he(s.root,s.dir);return{...s,source:t,files:fe(s.root,t)}}export async function openSheet(e,o,s,t){const n=await sheetAt(e,o,s),{source:a,files:r}=await sourceOfSheet(e,n),{workbook:c,calc:i,problems:l}=q(r,{scenario:t});if(!c||!i)throw new g("bad-file",`${B(e,n)} cannot be read: ${l.map(m=>`${m.line===void 0?"":`line ${String(m.line)}: `}${m.message}`).join("; ")}`,{exit:$.usage,hint:"allyhub check lists what is wrong."});return{file:B(e,n),workbook:c,calc:i,problems:l.length+a.problems.length}}function Ee(e,o){const s=K(e);if(!s.includes(o))throw new g("not-found",`There is no scenario ${o}.`,{exit:$.notFound,hint:s.length>0?`It has ${s.join(", ")}.`:"sheet.yaml's scenarios holds none."})}const u=e=>e.toLocaleString("en-US"),I=e=>e.toLocaleString("en-US",{maximumFractionDigits:4}),P=e=>e>0?["",`The workbook has ${String(e)} problem${e===1?"":"s"}: allyhub check lists them.`]:[];function Oe(e,o){const s=[`${u(e.empty)} empty`,`${u(e.distinct)} distinct`];e.errors>0&&s.push(`${u(e.errors)} errors`),e.min!==void 0&&e.max!==void 0&&s.push(`${I(e.min)} to ${I(e.max)}`),e.sum!==void 0&&s.push(`sum ${I(e.sum)}`),e.mean!==void 0&&s.push(`mean ${I(e.mean)}`),e.shortest!==void 0&&e.longest!==void 0&&s.push(`${String(e.shortest)} to ${String(e.longest)} characters`);const t=[`${e.name.padEnd(o)} ${s.join(", ")}`];return e.formula!==void 0&&t.push(`${"".padEnd(o)} ${e.formula}`),e.top.some(n=>n.count>1)&&t.push(`${"".padEnd(o)} most: ${e.top.map(n=>`${JSON.stringify(n.value.length>40?`${n.value.slice(0,39)}…`:n.value)} ${u(n.count)}`).join(", ")}`),t}export const sheet=j({name:"sheet",summary:"Each table of a sheet measured: its columns' counts, empty, distinct, ranges and frequent values",input:d.strictObject({sheet:d.string().describe("The sheet, by its folder or its sheet.yaml"),dir:C}),positional:["sheet"],output:d.looseObject({}),examples:["allyhub sheet research/leads"]},async(e,o)=>{const s=await T(o.cwd,e.dir),{file:t,workbook:n,calc:a,problems:r}=await openSheet(s,o.cwd,e.sheet),c=n.tables.map(l=>({name:l.name,rows:l.rows,columns:ve(a,l)})),i=c.flatMap(l=>{const m=Math.min(24,Math.max(4,...l.columns.map(w=>w.name.length)));return["",`${l.name}: ${u(l.rows)} rows, ${String(l.columns.length)} columns; each column's ${String($e)} most frequent values`,...l.columns.flatMap(w=>Oe(w,m))]});return{value:{file:t,tables:c,problems:r},text:[`${t}: ${String(n.sheets.length)} sheet${n.sheets.length===1?"":"s"}, ${String(c.length)} table${c.length===1?"":"s"}`,...i,...P(r)].join(`
|
|
3
|
-
`)}});const Q=e=>{const o=e.sheets[0];if(!o)throw new g("bad-file","The workbook has no sheets.",{exit:$.usage});return o};function ee(e,o){const s=o.lastIndexOf("!");if(s<0)return{sheet:Q(e),address:o};const t=o.slice(0,s).replace(/^'|'$/gu,"").replaceAll("''","'"),n=e.sheet(t);if(!n)throw new g("not-found",`There is no sheet ${t}.`,{exit:$.notFound,hint:`It has ${e.sheets.map(a=>a.name).join(", ")}.`});return{sheet:n,address:o.slice(s+1)}}function R(e,o,s,t){const n=[];for(let a=o.top;a<=o.bottom;a++){const r=[];for(let c=o.left;c<=o.right;c++){const i=t.value(e,a,c),l=e.lookAt(a,c).format,m=e.at(a,c);r.push({address:M({row:a,col:c}),value:_(i,l),shown:S(i,l),...m instanceof O?{formula:m.text}:{}})}n.push(r)}return{sheet:e.name,what:s,area:G(o),rows:n}}function Te(e,o,s){const t=a=>({address:"",value:_(a,void 0),shown:S(a)});if(!(s instanceof be))return{sheet:e.name,what:o,rows:[[t(s)]]};const n=[];for(let a=0;a<s.rows;a++){const r=[];for(let c=0;c<s.cols;c++)r.push(t(s.at(a,c)));n.push(r)}return{sheet:e.name,what:o,rows:n}}function te(e,o){const{wb:s}=e;if(o===void 0)return s.sheets.flatMap(l=>{const m=l.used;return m?[R(l,m,l.name,e)]:[]});const t=s.table(o);if(t)return[R(t.sheet,t.area,o,e)];const n=s.name(o);if(n){const l=new ge(n.formula?.text??`=${o}`,0,0,{file:""}),m=Q(s);return[Te(m,o,e.evaluate(l,m))]}const a=s.sheet(o);if(a){const l=a.used;return[l?R(a,l,o,e):{sheet:a.name,what:o,rows:[]}]}const{sheet:r,address:c}=ee(s,o),i=Se(c);if(!i)throw new g("not-found",`${o} is not a sheet, a table, a name or a range of this workbook.`,{exit:$.notFound,hint:[`Sheets: ${s.sheets.map(l=>l.name).join(", ")}.`,s.tables.length>0?`Tables: ${s.tables.map(l=>l.name).join(", ")}.`:"",s.names.size>0?`Names: ${[...s.names.values()].map(l=>l.name).join(", ")}.`:"","A range is Summary!B3:D3, or B3 on the first sheet."].filter(Boolean).join(" ")});return[R(r,i,o,e)]}function W(e){const o=[];for(const s of e)s.forEach((t,n)=>{o[n]=Math.max(o[n]??0,t.length)});return e.map(s=>s.map((t,n)=>n===s.length-1?t:t.padEnd(o[n]??0)).join(" ").trimEnd())}function Ce(e,o){const s=e.area===void 0?e.what:`${e.sheet}!${e.area}`,t=e.rows.slice(0,o),n=e.area!==void 0,a=t.map(c=>[...n?[/\d+$/u.exec(c[0]?.address??"")?.[0]??""]:[],...c.map(i=>i.shown)]),r=(e.rows[0]??[]).map(c=>c.address.replace(/\d+$/u,""));return[s,...W(n?[["",...r],...a]:a),...e.rows.length>t.length?[`… ${u(e.rows.length-t.length)} more rows (--all)`]:[]]}export const sheetCalc=j({name:"sheet calc",summary:"What a sheet computes, without opening anything: a sheet, a range, a table, a name, or every sheet, as an aligned table",input:d.strictObject({sheet:d.string().describe("The sheet, by its folder or its sheet.yaml"),what:d.string().optional().describe("A sheet (its used range), a range (Summary!B3:D3, or B3 on the first sheet), a table or a name; default every sheet"),all:d.boolean().default(!1).describe(`Every row, not the first ${String(CALC_ROWS)}`),scenario:d.string().optional().describe("Compute it with this scenario's inputs (sheet.yaml's scenarios); nothing is written"),scenarios:d.boolean().default(!1).describe("Compare the base case and every scenario: what is names, cells or ranges, apart by commas, a row each; default the names no scenario sets"),dir:C}),positional:["sheet","what"],output:d.looseObject({}),examples:["allyhub sheet calc finance/budget","allyhub sheet calc finance/budget Summary","allyhub sheet calc finance/budget orders","allyhub sheet calc finance/budget 'Summary!B3:M3' --json","allyhub sheet calc finance/budget revenue --scenario high","allyhub sheet calc finance/budget 'revenue,Summary!B4' --scenarios"]},async(e,o)=>{const s=await T(o.cwd,e.dir);if(e.scenarios)return Ae(s,o.cwd,e.sheet,e.what);const{file:t,calc:n,problems:a,workbook:r}=await openSheet(s,o.cwd,e.sheet,e.scenario);e.scenario!==void 0&&Ee(r,e.scenario);const c=te(n,e.what),i=e.all?1/0:CALC_ROWS;return{value:{file:t,grids:c,problems:a},text:[...c.flatMap((l,m)=>[...m>0?[""]:[],...Ce(l,i)]),...P(a)].join(`
|
|
4
|
-
`)}});function Fe(e,o){return te(e,o.trim()).flatMap(s=>s.rows.flat().map(t=>({...t,address:t.address===""?o.trim():`${s.sheet}!${t.address}`})))}async function Ae(e,o,s,t){const n=await openSheet(e,o,s),a=K(n.workbook);if(a.length===0)throw new g("not-found",`${n.file} has no scenarios.`,{exit:$.notFound,hint:"sheet.yaml's scenarios: { high: { growth: 0.2 } } names some."});const r=new Set(a.flatMap(h=>Object.keys(n.workbook.file.scenarios?.[h]??{}).map(b=>b.toLowerCase()))),c=t?.split(",")??[...n.workbook.names.values()].map(h=>h.name).filter(h=>!r.has(h.toLowerCase()));if(c.length===0)throw new g("bad-input","Say what to compare: names, cells or ranges, apart by commas.",{exit:$.usage});const i=["Base case",...a],l=[n,...await Promise.all(a.map(h=>openSheet(e,o,s,h)))],w=c.map(h=>l.map(b=>Fe(b.calc,h))).flatMap(h=>(h[0]??[]).map((b,p)=>({output:b.address,values:Object.fromEntries(i.map((x,y)=>[x,h[y]?.[p]?.value??null])),shown:Object.fromEntries(i.map((x,y)=>[x,h[y]?.[p]?.shown??""]))})));return{value:{file:n.file,scenarios:i,outputs:w},text:[...W([["",...i],...w.map(h=>[h.output,...i.map(b=>h.shown[b]??"")])]),...P(n.problems)].join(`
|
|
5
|
-
`)}}const Me=(e,o)=>`${e.sheet===o?"":`${e.sheet.name}!`}${G({top:e.top,left:e.left,bottom:Math.min(e.bottom,Math.max(e.top,e.sheet.lastRow)),right:e.right})}`;export const sheetTrace=j({name:"sheet trace",summary:"What a cell depends on and what depends on it: its formula, where it is written, the places it reads and the cells that read it",input:d.strictObject({sheet:d.string().describe("The sheet, by its folder or its sheet.yaml"),cell:d.string().describe("The cell: Summary!B5, or B5 on the first sheet"),all:d.boolean().default(!1).describe(`Every cell that reads it, not the first ${String(TRACE_CELLS)}`),dir:C}),positional:["sheet","cell"],output:d.looseObject({}),examples:["allyhub sheet trace finance/budget 'Summary!B1'"]},async(e,o)=>{const s=await T(o.cwd,e.dir),{file:t,workbook:n,calc:a}=await openSheet(s,o.cwd,e.sheet),{sheet:r,address:c}=ee(n,e.cell),i=ke(c);if(!i)throw new g("bad-input",`${e.cell} is not a cell.`,{exit:$.usage});const{row:l,col:m}=i,w=a.value(r,l,m),h=r.lookAt(l,m).format,b=r.at(l,m),p=n.sourceOf(r,l,m),x=b instanceof O?a.precedents(b).map(f=>{const le=f.single?S(a.value(f.sheet,f.top,f.left),f.sheet.lookAt(f.top,f.left).format):`${u(f.cols)} × ${u(Math.max(0,Math.min(f.bottom,f.sheet.lastRow)-f.top+1))}`,V=f.single?f.sheet.at(f.top,f.left):void 0,J=V instanceof O?V.text:void 0;return{address:Me(f,r),shown:le,...J===void 0?{}:{formula:J}}}):[],y=a.readers(r,l,m),L=e.all?y:y.slice(0,TRACE_CELLS),U=L.map(f=>({address:`${f.sheet===r?"":`${f.sheet.name}!`}${M(f)}`,shown:S(f.value,f.sheet.lookAt(f.row,f.col).format),formula:f.text})),z=f=>[` ${f.address}`,f.shown,f.formula].filter(Boolean).join(" "),F=p===void 0?void 0:p.line===void 0?p.file:`${p.file}:${String(p.line)}`;return{value:{file:t,cell:`${r.name}!${M(i)}`,value:_(w,h),shown:S(w,h),...w instanceof we?{error:w.code}:{},...b instanceof O?{formula:b.text}:{},...F===void 0?{}:{written:F},reads:x,readBy:U,readers:y.length},text:[`${r.name}!${M(i)} ${S(w,h)}`,...b instanceof O?[` ${b.text}`]:[],...F===void 0?[]:[` written in ${F}`],...x.length>0?["reads:",...x.map(z)]:[],...y.length>0?[`read by ${u(y.length)}:`,...U.map(z),...y.length>L.length?[` … ${u(y.length-L.length)} more (--all)`]:[]]:["read by nothing"]].join(`
|
|
6
|
-
`)}}),sheetCapabilities=j({name:"sheet capabilities",summary:"What @allyhub/sdk/sheets holds of openpyxl's (its classes), how it differs and what it adds, and the worksheet functions, as JSON",input:d.strictObject({}),output:d.looseObject({}),examples:["allyhub sheet capabilities"]},()=>Promise.resolve({value:{...Y},text:JSON.stringify(Y,null,2)}));const se=new Set([".xlsx",".xlsm",".xltx",".xltm"]);export const DIFF_ROWS=50;const oe={value:"Value changed, formula the same",formula:"Formula changed, value the same",both:"Formula and value changed",added:"Added",removed:"Removed"},Ie=e=>{const o=(e.now??e.was)?.cell??"",s=e.table===void 0?o:`${e.table}[${e.key??o}]`,t=e.column===void 0?"":` ${e.column}`;return`${e.sheet}!${s}${t}`},Re=e=>{const o=e.was?.formula??"",s=e.now?.formula??"";return[Ie(e),e.was?.shown??"","→",e.now?.shown??"",e.kind==="value"?s:e.kind==="formula"||e.kind==="both"?`${o} → ${s}`:s===""?o:s]};function Le(e,o){const s=[];for(const t of e.sheets)s.push(`Sheet ${t.name} ${t.added?"added":"removed"}`);for(const t of e.tables){const n=[t.rowsAdded.length>0?`rows added: ${t.rowsAdded.slice(0,20).join(", ")}`:"",t.rowsRemoved.length>0?`rows removed: ${t.rowsRemoved.slice(0,20).join(", ")}`:"",t.columnsAdded.length>0?`columns added: ${t.columnsAdded.join(", ")}`:"",t.columnsRemoved.length>0?`columns removed: ${t.columnsRemoved.join(", ")}`:""].filter(Boolean);s.push(`Table ${t.name}, rows lined up by ${t.by==="key"?t.key??"its key":"their place"}${n.length>0?`: ${n.join("; ")}`:""}`)}for(const t of e.names)s.push(`Name ${t.name}: ${t.was??"(none)"} → ${t.now??"(none)"}`);for(const t of e.parts)s.push(`${t.sheet??"Workbook"} ${t.part}${t.key===void 0?"":` ${t.key}`}: ${t.was??"(none)"} → ${t.now??"(none)"}`);for(const t of e.charts)s.push(`Charts of ${t} changed`);for(const t of Object.keys(oe)){const n=e.cells.filter(r=>r.kind===t);if(n.length===0)continue;const a=o?n:n.slice(0,DIFF_ROWS);s.push("",`${oe[t]}: ${u(n.length)}`,...W(a.map(Re)).map(r=>` ${r}`),...n.length>a.length?[` … ${u(n.length-a.length)} more (--all)`]:[])}return s}async function ne(e,o,s){const t=D(o,s);if(se.has(A(t).toLowerCase())){const r=await H(t).catch(()=>{throw new g("not-found",`There is no file ${t}.`,{exit:$.notFound})}),c=Z(new Uint8Array(r),{name:v(t,A(t))}),{calc:i}=q({text:c.files.get(k)??"",read:l=>c.files.get(l)});if(!i)throw new g("bad-file",`${s} cannot be read.`,{exit:$.usage});return{calc:i,file:s}}const{calc:n,file:a}=await openSheet(e,o,s);return{calc:n,file:a}}export const sheetDiff=j({name:"sheet diff",summary:"Two versions of a workbook compared, by value and by formula: two folders, or a folder and an .xlsx. Cells whose formula changed and value did not are apart from those whose value changed; rows of a table line up by its key, else by their place",input:d.strictObject({was:d.string().describe("The version before: a sheet's folder or an .xlsx"),now:d.string().describe("The version after: a sheet's folder or an .xlsx"),tolerance:d.number().min(0).default(pe.tolerance).describe("How far apart two numbers may be, as a share of the larger, and be the same"),all:d.boolean().default(!1).describe(`Every cell, not the first ${String(DIFF_ROWS)} of each kind`),dir:C}),positional:["was","now"],output:d.looseObject({}),examples:["allyhub sheet diff finance/budget finance/budget-v2","allyhub sheet diff finance/budget ~/Downloads/budget.xlsx --json"]},async(e,o)=>{const s=await T(o.cwd,e.dir),t=await ne(s,o.cwd,e.was),n=await ne(s,o.cwd,e.now),a=ye(t.calc,n.calc,{tolerance:e.tolerance}),{counts:r}=a,c=a.cells.length;return{value:{was:t.file,now:n.file,...a},text:[`${t.file} → ${n.file}: ${u(c)} cell${c===1?"":"s"} differ (${u(r.value)} value, ${u(r.formula)} formula, ${u(r.both)} both, ${u(r.added)} added, ${u(r.removed)} removed); ${u(a.names.length+a.parts.length)} other thing${a.names.length+a.parts.length===1?"":"s"} differ${a.names.length+a.parts.length===1?"s":""}`,...Le(a,e.all)].join(`
|
|
7
|
-
`)}});const Ne=d.string().transform(e=>e.replace(/^\/+|\/+$/gu,"")).refine(e=>e!==""&&!e.split("/").some(o=>o===""||o==="."||o===".."),{message:"a folder from the project's root, such as research/leads"});export const IMPORT_DIFFERENCES=50;const ae=e=>e===null?"empty":typeof e=="string"?JSON.stringify(e):String(e);function Be(e,o){const{formulas:s,same:t,uncached:n,moving:a,differences:r}=e,c=[`${u(t)} of ${u(s)} formulas compute what the file holds`,...a>0?[`${u(a)} read the clock or a random number, not compared`]:[],...n>0?[`${u(n)} have no value in the file`]:[]],i=o?r:r.slice(0,IMPORT_DIFFERENCES);return[`Computed here against the file: ${c.join("; ")}.`,...r.length>0?[`${u(r.length)} differ${r.length===1?"s":""}:`,...i.map(l=>` ${l.sheet}!${l.cell} ${l.formula} file ${ae(l.file)} here ${ae(l.engine)}`),...r.length>i.length?[` … ${u(r.length-i.length)} more (--all)`]:[]]:[]]}async function re(e,o){for(const[s,t]of o){const n=E(e,s);await ie(N(n),{recursive:!0}),await ce(n,t,{flag:"wx"})}}export const sheetImport=j({name:"sheet import",summary:"Makes a sheet of an Excel, CSV or TSV file: its sheets, tables, formulas, names and looks as sheet.yaml and CSV files, said what could not be carried over, each formula computed here and compared with the value the file holds; never over a place that is taken",input:d.strictObject({file:d.string().describe("The file to make a sheet of: .xlsx, .xlsm, .csv or .tsv"),to:Ne.optional().describe("The sheet's folder, from the project's root (default the file's name)"),maxUnzipped:d.number().positive().default(ue.bytes/1024/1024).describe("MB the file may unzip to, a file past it refused"),tolerance:d.number().min(0).default(je).describe("How far apart a computed number and the file's may be, as a share of the larger, and count as the same; 0 lists every difference"),all:d.boolean().default(!1).describe(`Every difference, not the first ${String(IMPORT_DIFFERENCES)}`),dir:C}),positional:["file"],output:d.looseObject({}),examples:["allyhub sheet import ~/Downloads/forecast.xlsx --to finance/forecast","allyhub sheet import ~/Downloads/leads.csv --to research/leads"]},async(e,o)=>{const s=await T(o.cwd,e.dir),t=D(o.cwd,e.file),n=A(t).toLowerCase(),a=se.has(n);if(n===".xls"||n===".xlsb")throw new g("bad-file",`${v(t)} is Excel's binary format.`,{exit:$.usage,hint:"Save it as .xlsx, then import that."});if(!a&&n!==".csv"&&n!==".tsv")throw new g("bad-file",`${v(t)} is not an .xlsx, .xlsm, .csv or .tsv file.`,{exit:$.usage});const r=await H(t).catch(()=>{throw new g("not-found",`There is no file ${t}.`,{exit:$.notFound})}),c=v(t,A(t)),i=e.to??c;if(await X(E(s,i)).catch(()=>{}))throw new g("place-taken",`${i} is already there.`,{exit:$.conflict,hint:"Name another place with --to."});const l=E(s,i),m=e.to===void 0?c:v(e.to);if(a){let h;try{h=Z(new Uint8Array(r),{name:m,tolerance:e.tolerance,zip:{bytes:e.maxUnzipped*1024*1024}})}catch(p){throw new g("bad-file",`${v(t)} cannot be read: ${p.message}`,{exit:$.usage})}await re(l,new Map([...h.files,...h.assets]));const b=[...h.files.keys(),...h.assets.keys()];return{value:{place:i,files:b.map(p=>`${i}/${p}`),sheets:h.sheets,tables:h.tables,lost:h.lost,problems:h.problems,compared:h.compared},text:[`Made ${i}/: ${b.join(", ")}`,...h.lost.length>0?["Not carried over:",...h.lost.map(p=>` ${p}`)]:["Nothing was left out."],...Be(h.compared,e.all),...h.problems.length>0?["Problems:",...h.problems.map(p=>` ${p.file}${p.line===void 0?"":`:${String(p.line)}`}: ${p.message}`)]:[],`allyhub sheet calc ${i}, then allyhub frames ${i}, to see it.`].join(`
|
|
8
|
-
`)}}let w;try{w=xe(m,r.toString("utf8"),n===".tsv"?" ":",")}catch(h){throw new g("bad-file",h.message,{exit:$.usage})}return await re(l,new Map([[k,w.text],[w.path,w.csv]])),{value:{place:i,files:[`${i}/${k}`,`${i}/${w.path}`],rows:w.rows,lost:[]},text:`Made ${i}/${k} and ${i}/${w.path}: ${u(w.rows)} row${w.rows===1?"":"s"}`}});
|
package/dist/commands/site.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{basename as w,join as d}from"node:path";import{z as e}from"zod";import{listFiles as g}from"@allyhub/build";import{Hashes as j,goLive as $,siteDetail as O}from"@allyhub/cloud";import{CACHE_DIR as k,scanItems as x}from"@allyhub/formats";import{EXIT as u}from"@allyhub/protocol";import{WebsiteProblem as W,deployWebsite as A,readWebsite as T}from"@allyhub/website";import{CommandError as m,defineCommand as h}from"../command.js";import{dir as c}from"../fields.js";import{projectRoot as D}from"../project.js";import{cloudOf as b,cloudWork as f,plural as N}from"./cloud.js";const S=s=>f(s).catch(i=>{throw i instanceof W?new m("website-invalid",i.message,{exit:u.usage,...i.hint===void 0?{}:{hint:i.hint}}):i}),p=e.string().optional().describe("The website: its folder, or its name when several are in the project. Left out, the project's one website");async function v(s,i){const r=await D(s.cwd,i.dir),{items:a}=x(await g(r)),t=a.filter(n=>n.kind==="website"),o=i.item,l=o===void 0?t.length===1?t[0]:void 0:t.find(n=>n.dir===o||n.dir.endsWith(`/${o}`)||w(n.dir)===o);if(l!==void 0)return{root:r,found:l};throw new m("no-item",t.length===0?"This project has no website: an item is a folder with a website.json.":o===void 0?`This project has ${String(t.length)} websites; say which: ${t.map(n=>n.dir).join(", ")}.`:`No website ${o} in the project: ${t.map(n=>n.dir).join(", ")}.`,{exit:u.notFound})}async function y(s,i){const{site:r}=await T(d(s,i.dir));if(r===void 0)throw new m("no-site",`${i.dir} is not hosted yet.`,{exit:u.notFound,hint:"allyhub site deploy"});return r}const C=e.looseObject({id:e.string(),live:e.boolean(),note:e.string().nullable(),files:e.number(),createdAt:e.string()});export const siteDeploy=h({name:"site deploy",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",input:e.strictObject({item:p,slug:e.string().optional().describe("The site's address, <slug>.allyhub.site, the first time; default from the website's folder"),note:e.string().optional().describe("What this version changes"),live:e.boolean().optional().describe("Make this version what the site's address serves"),built:e.boolean().optional().describe("Upload the output folder as it is, with no build"),new:e.boolean().optional().describe("Make a site of this team's for the folder, though website.json names another team's (theirs stays as it is)"),dir:c}),positional:["item"],output:e.looseObject({site:e.looseObject({id:e.string(),url:e.string()}),version:e.string(),live:e.boolean(),confirm:e.string().optional(),files:e.number(),sent:e.number()}),examples:["allyhub site deploy","allyhub site deploy website --slug acme --live",'allyhub site deploy --note "New pricing" --live']},async(s,i)=>{const{root:r,found:a}=await v(i,s);return await S(async()=>{const t=await A(b(i),{dir:d(r,a.dir),name:w(a.dir),hashes:new j(d(r,k,"site-hashes.json")),env:{...i.env},onProgress:o=>{i.progress(o)},...s.slug===void 0?{}:{slug:s.slug},...s.note===void 0?{}:{note:s.note},...s.live===void 0?{}:{live:s.live},...s.built===!0?{build:!1}:{},...s.new===!0?{anew:!0}:{}});return{value:{site:t.site,version:t.deployment.id,live:t.live,...t.confirm===void 0?{}:{confirm:t.confirm},files:t.deployment.files,sent:t.sent},text:[`Version ${t.deployment.id}: ${N(t.deployment.files,"file")}, ${String(t.sent)} sent.`,t.live?`Live at ${t.site.url} within about a minute.`:t.confirm===void 0?`Not live. allyhub site live ${t.deployment.id} makes it what ${t.site.url} serves.`:`Not live: going public is the person's to say. Give them this page, or ask them to press ${t.site.liveDeployment===null?"Publish":"Update"} in Studio: ${t.confirm}`].join(`
|
|
3
|
-
`)}})}),siteStatus=h({name:"site status",summary:"A website's address and its versions, the live one marked",input:e.strictObject({item:p,dir:c}),positional:["item"],output:e.looseObject({site:e.looseObject({url:e.string()}),versions:e.array(C)}),examples:["allyhub site status"]},async(s,i)=>{const{root:r,found:a}=await v(i,s),t=await y(r,a);return await f(async()=>{const{site:o,deployments:l}=await O(b(i),t);return{value:{site:o,versions:l},text:[`${o.url}${o.liveDeployment===null?" (nothing live)":""}`,...l.map(n=>`${n.live?"*":" "} ${n.id} ${n.createdAt}${n.note===null?"":` ${n.note}`}`)].join(`
|
|
4
|
-
`)}})}),siteLive=h({name:"site live",summary:"Make a version of a website what its address serves, an earlier one or one not live yet; nothing is built",input:e.strictObject({version:e.string().describe("The version, from allyhub site status"),item:p,dir:c}),positional:["version","item"],output:e.looseObject({site:e.looseObject({url:e.string()}),live:e.boolean(),confirm:e.string().optional()}),examples:["allyhub site live 0e1f…"]},async(s,i)=>{const{root:r,found:a}=await v(i,s),t=await y(r,a);return await f(async()=>{const o=await $(b(i),t,s.version);return{value:o,text:o.live?`${s.version} goes live at ${o.site.url} within about a minute.`:`Not live: that is the person's to say. Give them this page, or ask them to make this version live in the website's settings in Studio: ${o.confirm??""}`}})});
|
package/dist/commands/slides.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{mkdir as y,readFile as $,stat as x,writeFile as k}from"node:fs/promises";import{basename as f,dirname as j,join as h,resolve as v}from"node:path";import{z as o}from"zod";import{ZIP_LIMITS as I}from"@allyhub/formats";import{EXIT as n}from"@allyhub/protocol";import{CAPABILITIES as u}from"@allyhub/slides-core";import{groupReport as O}from"@allyhub/ooxml";import{importDeck as P,nameOf as S,readPptx as z}from"@allyhub/slides-pptx";import{CommandError as l,defineCommand as w}from"../command.js";import{dir as T}from"../fields.js";import{projectRoot as N}from"../project.js";export const slidesCapabilities=w({name:"slides capabilities",summary:"What a deck's API holds of python-pptx's (its classes and enums), how it differs and what it adds, as JSON",input:o.strictObject({}),output:o.looseObject({}),examples:["allyhub slides capabilities"]},()=>Promise.resolve({value:{...u},text:JSON.stringify(u,null,2)}));const A=o.string().transform(e=>e.replace(/^\/+|\/+$/gu,"")).refine(e=>e!==""&&!e.split("/").some(t=>t===""||t==="."||t===".."),{message:"a folder from the project's root, such as launch/deck"});export const slidesImport=w({name:"slides import",summary:"Makes a deck of a PowerPoint file: its masters and layouts as slides.ts, its slides as slides.yaml, its words and notes as the script, its pictures and videos in media/; says what it could not hold; never over a place that is taken",input:o.strictObject({file:o.string().describe("The .pptx to make a deck of"),to:A.optional().describe("The deck's folder, from the project's root (default the file's name)"),maxUnzipped:o.number().positive().default(I.bytes/1024/1024).describe("MB the file may unzip to, a file past it refused"),lang:o.string().regex(/^[a-z]{2,3}(-[a-z0-9]+)*$/u).default("en").describe("The language of its words: the script is script.<lang>.yaml"),dir:T}),positional:["file"],output:o.looseObject({}),examples:["allyhub slides import ~/Downloads/q3-review.pptx --to reviews/q3","allyhub slides import 培训.pptx --to training --lang zh-cn"]},async(e,t)=>{const d=await N(t.cwd,e.dir),r=v(t.cwd,e.file),b=await $(r).catch(()=>{throw new l("not-found",`There is no file ${r}.`,{exit:n.notFound})}),i=e.to??S(f(r).replace(/\.pptx$/iu,""),new Set,"deck");if(await x(h(d,i)).catch(()=>{}))throw new l("place-taken",`${i} is already there.`,{exit:n.conflict,hint:"Name another place with --to."});let a;try{a=P(z(new Uint8Array(b),{bytes:e.maxUnzipped*1024*1024}),{lang:e.lang,source:f(r)})}catch(s){throw new l("bad-file",`${r} is not a PowerPoint file this can read: ${s.message}`,{exit:n.usage})}for(const[s,g]of a.files){const m=h(d,i,s);await y(j(m),{recursive:!0}),await k(m,g,{flag:"wx"})}const p=[...a.files.keys()],c=O(a.report);return{value:{place:i,files:p.map(s=>`${i}/${s}`),report:a.report,skipped:Object.fromEntries(a.reasons)},text:[`Made ${i}/: ${p.join(", ")}`,...c.length>0?[`Not carried over as it is (${String(a.report.length)}, grouped; all with --json):`,...c.map(D)]:[],`allyhub check, then allyhub frames ${i}, to see it.`].join(`
|
|
3
|
-
`)}});const C={unread:"not read",extension:"an extension not read",part:"a part not read","cannot-hold":"cannot hold",approximated:"approximated",missing:"missing"};function D(e){const t=e.where.length>3?`${e.where.slice(0,3).join("; ")} and ${String(e.where.length-3)} more`:e.where.join("; ");return` ${C[e.kind]}: ${e.what}${e.detail===void 0?"":` (${e.detail})`}${e.count>1?` ×${String(e.count)}`:""} at ${t}`}
|
package/dist/commands/voice.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{z as t}from"zod";import{projectSays as h}from"@allyhub/project";import{makeSay as u}from"@allyhub/cloud";import{EXIT as y}from"@allyhub/protocol";import{CommandError as g,defineCommand as $}from"../command.js";import{projectRoot as b}from"../project.js";import{cloudOf as v,cloudWork as w,plural as d}from"./cloud.js";import{dir as j}from"../fields.js";const p=o=>Math.round(o*1e6)/1e6;export const voice=$({name:"voice",summary:"Make the voice files a project's say(text) parts need, with their cloud voice tool, one per say that has none (assets/media/gen/say/<hash>, its words and its record)",input:t.strictObject({item:t.string().optional().describe("Only this item's says: its id, a path into it, or a folder of items"),dir:j}),positional:["item"],output:t.looseObject({says:t.number(),made:t.array(t.looseObject({part:t.string(),file:t.string()})).optional(),credits:t.number().optional()}),examples:["allyhub voice","allyhub voice launch/film"]},async(o,r)=>{const a=await b(r.cwd,o.dir),s=await h(a,o.item===void 0?{}:{piece:o.item});if(o.item!==void 0&&s.pieces.length===0)throw new g("no-item",`No video ${o.item} in the project.`,{exit:y.notFound});const l=s.says.filter(n=>n.file===void 0),f=`Every say has its file (${d(s.says.length,"say")}). Nothing to make.`;return await w(async()=>{const n=v(r),i=[];for(const e of l){r.progress(`${e.piece} · ${e.part}: ${e.tool}…`);const c=await u(n,a,e,{base:a,signal:r.signal});i.push({piece:e.piece,part:e.part,...c})}const m=p(i.reduce((e,c)=>e+c.credits,0));return{value:{says:s.says.length,made:i,kept:s.says.length-l.length,credits:m},text:i.length===0?f:[`Made ${d(i.length,"file")}:`,...i.map(e=>` ${e.file} (${e.piece} · ${e.part}, ${String(p(e.seconds))} s)`),`Credits used: ${String(m)}.`].join(`
|
|
3
|
-
`)}})});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{PARAGRAPH_GAP as u,ROOM_MATCH as S,packTranscript as b}from"@allyhub/video-core";export const CONFIDENCE_MEANS="the lowest probability Parakeet gave any of the word's letter tokens (greedy decoding), 0 to 1";const o=e=>e.toFixed(2),h=e=>e>=0?`+${e.toFixed(1)}`:`−${(-e).toFixed(1)}`,p=(e,d)=>`${String(e)} ${d}${e===1?"":"s"}`,l=e=>`#${String(e.from)}-#${String(e.to)} [${o(e.start)}-${o(e.end)}] ${e.text}`;export function hearingText(e,d){const s=i=>` ${i.i===void 0?"":`#${String(i.i).padEnd(4)} `}${o(i.start)}-${o(i.end)} ${i.confidence===null?" —":i.confidence.toFixed(3)} ${i.text}${i.padding?" (padding)":""}`,a=i=>i?`"${i}"`:"nothing",t=i=>{const c=i.findIndex(f=>!f.padding);if(c<0)return[...i];let g=c;return i.forEach((f,w)=>{f.padding||(g=w)}),i.slice(Math.max(0,c-1),g+2)},{from:$,to:n}=e.asked,r=[`${d} from ${o($)} to ${o(n)} s, heard again ${p(e.hearings.length,"time")} (${e.model}; the recognizer's times; nothing written). Confidence: ${e.confidence.means??"none given"}.`,...e.hearings.map(i=>` ${String(i.pad)} s of padding (${o(i.heard.from)}-${o(i.heard.to)}): ${a(i.text)}`),e.wordsFile?` the words file: ${a(e.wordsFile.text)}`:" no words file to compare with"];for(const i of e.hearings)r.push(`Heard with ${String(i.pad)} s of padding${i.words.length?":":": no words."}`,...t(i.words).map(s));return e.wordsFile&&r.push(`${e.wordsFile.path} there${e.wordsFile.words.length?":":": no words."}`,...t(e.wordsFile.words).map(s)),r.join(`
|
|
3
|
-
`)}function m(e,d){const s=d[e.i],a=e.expected===null||e.ratio===null||e.excess===null?"no expected length":`expected ${o(e.expected)} s (×${e.ratio.toFixed(1)})`,t=e.voicedRuns.length?`voiced ${e.voicedRuns.map(n=>`${o(n.start)}–${o(n.end)}`).join(", ")}`:"no voiced stretch",$=e.dips.length?`; dips ${e.dips.map(n=>`${o(n.start)}–${o(n.end)} −${String(n.depth)} dB`).join(", ")}`:"";return` #${String(e.i)} "${s?.text??""}" [${o(s?.start??0)}-${o(s?.end??0)}] ${o(e.dur)} s, ${a}; ${t}${$}`}export function transcriptText(e,d){const s=[];if(e.made&&s.push(`Heard ${p(e.count,"word")} with ${e.made.model??"the recognizer"}${e.made.tightened?`, ${String(e.made.tightened)} tightened to the sound`:""}; wrote ${e.wordsFile}.`),e.matches){for(const n of e.matches)s.push(`"${n.phrase}" is said ${p(n.at.length,"time")}${n.at.length?":":"."}`,...n.at.map(r=>` ${l(r)}`));return s.join(`
|
|
4
|
-
`)}const a=e.levels,t=e.soundOptions;s.push(`${d.file}: ${p(e.count,"word")}, ${o(e.duration)} s; `+(a?`speech ${h(a.words??a.speech)} dBFS, floor ${h(a.floor)} dBFS; ${p(e.sounds.length,"sound")} between words${t?` (at most ${String(t.within)} dB under the speech, ${String(t.aboveFloor)} dB over the floor, ${o(t.shortest)} s long; a frame voiced from ${String(t.voiced)}${d.all?"":"; --all lists every stretch"})`:""}`:"levels unknown (its sound could not be read)")+".",`#i is a word index; a new line at each pause of ${String(u)} s or more; (sound start–end length peak-vs-speech voicing) a stretch of the file${e.rate?"; (long length ×ratio) a word that lasts that many times what its letters take":""}${e.script?"; {…} in no script line":""}.`,"",...b(d.words,{from:e.range.from,to:e.range.to,sounds:e.sounds,long:new Map(d.shapes.filter(n=>e.long.includes(n.i)).map(n=>[n.i,n])),...e.script?{unscripted:new Set(e.script.unscripted.flatMap(n=>Array.from({length:n.to-n.from+1},(r,i)=>n.from+i)))}:{}}));const $=d.shapes.filter(n=>e.long.includes(n.i));if(d.frames&&s.push("",e.rate?`Long words (${String($.length)}): at least ×${String(e.longOptions.ratio)} and ${o(e.longOptions.excess)} s over ${e.rate.base.toFixed(3)} s + ${e.rate.perLetter.toFixed(3)} s a letter; a dip is ${String(e.longOptions.dip)} dB under each side; long is not a filler${d.all?"":" (--all lists every word's inside)"}${$.length?":":"."}`:`Words are not compared with a speaking rate: ${e.rateWhy??"none"}.`,...$.map(n=>m(n,d.words)),...d.all?["Every word's inside:",...d.shapes.map(n=>m(n,d.words))]:[]),e.stretches&&e.levels&&s.push("",`Every stretch between words above the noise floor (${String(e.stretches.length)}):`,...e.stretches.map(n=>` after #${String(n.after)} ${o(n.start)}–${o(n.end)} peak ${h(n.peak)} mean ${h(n.mean)} dB vs speech, ${h(n.aboveFloor)} dB over the floor, v${n.voiced.toFixed(2)} ${n.passes?"reported":"left out"}`)),e.script){const n=e.script;s.push("",n.unscripted.length?`Words with less than ${String(n.options.match)} of their letters in a script line (${String(n.unscripted.length)}):`:"Every word matches the script.",...n.unscripted.map(r=>` ${l(r)}`)),n.repeated.length&&s.push(`Script lines said more than once (where ${String(n.options.lineMatch)} of a line's letters match):`,...n.repeated.map(r=>` "${r.text}": ${r.matches.map(l).join("; ")}`)),d.all&&s.push("Every script line, the share of its letters matched, and where it is said:",...n.lines.map(r=>` ${String(r.line).padStart(3)}. ${r.share.toFixed(2)} "${r.text}": ${r.matches.length?r.matches.map(l).join("; "):"nowhere"}`))}return s.join(`
|
|
5
|
-
`)}export function cutText(e,d){const s=[`The edits file on words #${String(e.from)}-#${String(e.to)}: ${o(e.seconds.before)} s → ${o(e.seconds.after)} s (${o(e.seconds.removed)} s removed), ${String(e.kept.length)} kept stretch${e.kept.length===1?"":"es"}. Padding ${o(e.pad.before)} s before each cut and ${o(e.pad.after)} s after (${e.padGiven?"the edits file's":"the defaults"}).`,"Kept:",...e.kept.map(t=>` ${o(t.from)}-${o(t.to)} (${o(t.to-t.from)} s)`)];e.removed.length&&s.push("Words removed:",...e.removed.map(t=>` ${l(t)}`)),e.sounds.length&&s.push("Sounds removed:",...e.sounds.map(t=>` ${o(t.from)}-${o(t.to)}`)),e.soundsUnused.length&&s.push("Sounds listed but not between two kept words here (nothing cut):",...e.soundsUnused.map(t=>` ${o(t.from)}-${o(t.to)}`)),e.inWord.length&&s.push("Cut inside kept words, as placed:",...e.inWord.map(t=>` ${o(t.from)}-${o(t.to)}${t.words.length?` in ${t.words.map($=>`#${String($)} "${d[$]?.text??""}"`).join(", ")}`:" (between words)"}`)),e.inWordUnplaced.length&&s.push("inWord stretches that cut nothing here:",...e.inWordUnplaced.map(t=>` ${o(t.from)}-${o(t.to)}`)),e.pauses.length&&s.push(`Pauses shortened: ${e.pauses.map(t=>`after #${String(t.after)} (${o(t.was)} s)`).join(", ")}.`),e.lost.length&&s.push("Ranges the take no longer says (AK-T005):",...e.lost.map(t=>` ${String(t.from)}-${String(t.to)} ${t.text??""}`));const a=e.roomTone;if(a){const t=n=>n===null?"not measured":`${h(n)} dBFS`,$=(n,r)=>` ${n} #${String(r.word)}: ${o(r.pad)} s of its own room, floor ${t(r.floor)}; a fill beside it plays at ${h(r.gainDb)} dB${r.from==="unmeasured"?" (as recorded: too little room to measure)":r.limited?` (held at ${String(S.limitDb)} dB)`:""}`;s.push(`Room tone: ${o(a.from)}-${o(a.to)} of the file, floor ${t(a.level)}:`,$("before",a.lead),$("after",a.tail))}return e.joins.length&&s.push(...F(e)),s.join(`
|
|
6
|
-
`)}function F(e){const d=t=>t===null?"?":o(t),s=t=>t===null?"?":h(t),a=t=>`gap ${o(t.gap)} s, silent ${d(t.quiet)} s${t.peakBetween===null?"":`, peak ${h(t.peakBetween)}`}`;return[e.quietBelow===null?`Joins (${String(e.joins.length)}): per side the seconds between the kept word and the cut by word times; silence and levels unknown.`:`Joins (${String(e.joins.length)}): per side the seconds between the kept word and the cut (gap), the 10 ms frames under ${h(e.quietBelow)} dBFS reaching it (silent; the take's speech/silence level) and the loudest frame between; then each word's ${String(e.near)} s next to the cut and the step across:`,...e.joins.map(t=>` ${o(t.at)} s #${String(t.before.i)} "${t.before.text}" | #${String(t.after.i)} "${t.after.text}" (${o(t.out)}|${o(t.in)} s${t.inWord?", inside a word":""}): before ${a(t.before)}; after ${a(t.after)}; level ${s(t.before.near)} → ${s(t.after.near)}${t.step===null?"":`, step ${h(t.step)} dB`}`)]}
|
package/dist/commands/words.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{readFile as k}from"node:fs/promises";import{relative as Y,resolve as q}from"node:path";import{z as f}from"zod";import{parameters as V}from"../parameters.js";import{parse as X}from"yaml";import{makeWords as B,takeVoice as x}from"@allyhub/build";import{cloudHearing as L}from"../cloud-hearing.js";import{readDataFile as K,wordsFileFor as A}from"@allyhub/formats";import{HEAR_PADS as Q,hearAgain as Z,requireLanguage as ee}from"@allyhub/media";import{EXIT as F}from"@allyhub/protocol";import{LONG_WORD_DEFAULTS as se,PARAGRAPH_GAP as re,WORD_SHAPE_DEFAULTS as te,cutReport as oe,longWords as ne,paragraphs as ae,parseEditList as ie,parseScript as de,saidOf as le,scriptDiff as fe,searchWords as ce,takeLevels as he,unheardSounds as we,wordLevels as me,wordShapes as ue}from"@allyhub/video-core";import{CommandError as p,defineCommand as M}from"../command.js";import{existingFile as $,fromMedia as pe,media as N,progressLines as P}from"../media.js";import{projectOfFile as R}from"../project.js";import{fresh as ge}from"../fields.js";const D=f.string().optional().describe("The project whose media index keeps the recording's sound (default the nearest above the file, else the current folder's)");import{CONFIDENCE_MEANS as _,cutText as be,hearingText as ye,transcriptText as ve}from"./words-text.js";const H=f.number().nonnegative(),Fe={fps:f.number().positive().default(30).describe("The frame grid cuts are placed on")},I=f.string().describe("The recording: an audio or video file"),$e=f.strictObject({file:I,lang:f.string().optional().describe("The language spoken (en, es, fr, de…); left out, the model tells. On this computer, one of Parakeet's 25 European languages"),fresh:ge.describe("Hear the whole file again and write its words file; with --from and --to, only that stretch, writing nothing"),from:H.optional().describe("Show the words of the file from this second on"),to:H.optional().describe("Show the words of the file up to this second"),search:f.array(f.string()).optional().describe("Where these words or phrases are said (case and punctuation ignored; a phrase's last word may be a prefix), instead of the transcript"),script:f.string().optional().describe("A script to compare with: a script.<locale>.yaml (what its parts say) or a text file; marks words it does not have, {like this}, and lines said more than once"),all:f.boolean().default(!1).describe("Also list what the thresholds leave out: every stretch between words above the noise floor, every word's inside, and every script line"),dir:D}),C=(e,s)=>new p("usage",e,{exit:F.usage,...s===void 0?{}:{hint:s}});function ke(e,s,t){const n=e.flatMap((c,a)=>(s===void 0||c.end>s)&&(t===void 0||c.start<t)?[a]:[]),r=n[0],o=n.at(-1);if(r===void 0||o===void 0)throw new p("no-words",`No word is said between ${(s??0).toFixed(2)} s and ${t===void 0?"the end":`${t.toFixed(2)} s`} of the file.`,{exit:F.notFound});return{from:r,to:o}}const g=(e,s)=>{const t=Y(e,s);return t===""||t.startsWith("..")?s:t};async function O(e){const s=await k(e,"utf8").catch(()=>{});if(s===void 0)return;let t;try{t=JSON.parse(s)}catch(r){return`not JSON: ${r.message}`}const n=K("words",t);return n.ok?n.value.words.map(({confidence:r,...o})=>r===void 0?o:{...o,confidence:r}):n.problems.map(r=>r.path?`${r.path}: ${r.message}`:r.message).join("; ")}async function Ae(e,s){const t=await $(e,s);let n;try{n=JSON.parse(await k(t,"utf8"))}catch(o){throw new p("bad-edits",`${s} is not JSON: ${o.message}`)}const r=ie(n);if(typeof r=="string")throw new p("bad-edits",`${s}: ${r}.`);return r}async function Oe(e,s){const t=await k(await $(e,s),"utf8"),n=c=>c.split(/(?<=[.!?。!?])\s+|\n+/u).map(a=>a.trim()).filter(a=>a!=="");if(!/\.ya?ml$/iu.test(s))return n(t);let r;try{r=X(t)}catch(c){throw new p("bad-script",`${s} is not YAML: ${c.message}`)}const o=de(r);if("problems"in o)throw new p("bad-script",`${s}: ${o.problems[0]??""}`);return o.script.parts.flatMap(c=>{if(c.say===void 0)return[];const a=le(c.say).value;return n(typeof a=="string"?a:"speak"in a?a.speak:Object.values(a.match).join(" "))})}async function je(e,s,t,n,r){const o=await N(()=>Z(s,{from:n,to:r},Q,{cloud:L(t,t.cwd),...e.lang===void 0?{}:{lang:e.lang},onProgress:P(t),signal:t.signal})),c=Math.min(...o.hearings.map(i=>i.heard.from)),a=Math.max(...o.hearings.map(i=>i.heard.to)),l=A(s),h=await O(l),w=Array.isArray(h)?h.map((i,m)=>({i:m,w:i})).filter(({w:i})=>i.end>c&&i.start<a).map(({i,w:m})=>({i,text:m.text,start:m.start,end:m.end,confidence:m.confidence??null,padding:m.end<=n||m.start>=r})):void 0,b={file:s,asked:{from:n,to:r},model:o.model,confidence:o.confidence?{means:_}:{means:null,missing:"The recognizer gave no token probabilities."},hearings:o.hearings,wordsFile:w?{path:l,words:w,text:w.filter(i=>!i.padding).map(i=>i.text).join(" ")}:null};return{value:b,text:ye(b,g(t.cwd,s))}}export const words=M({name:"words",summary:"A recording's words: heard on this computer when it has none (or --fresh), printed by word index with the sounds between them; a stretch by seconds, heard again with --fresh",input:$e,positional:["file"],output:f.looseObject({file:f.string(),wordsFile:f.unknown()}),examples:["allyhub words talk/host.mp4","allyhub words host.mp4 --from 23 --to 25","allyhub words host.mp4 --from 23 --to 25 --fresh",'allyhub words host.mp4 --search "you know,um"']},async(e,s)=>{const t=await $(s.cwd,e.file);try{ee(e.lang)}catch(d){throw pe(d)}const n=e.from!==void 0||e.to!==void 0;if(e.from!==void 0&&e.to!==void 0&&e.to<=e.from)throw C("--to is a second after --from.");if(n&&e.fresh){if(e.from===void 0||e.to===void 0)throw C("A stretch to hear again needs --from and --to, seconds of the file.",`allyhub words ${e.file} --from 23 --to 25 --fresh`);return je(e,t,s,e.from,e.to)}const r=await R(e.file,s.cwd,e.dir);r.warning!==void 0&&s.progress(r.warning);const o=A(t);let c,a=e.fresh?void 0:await O(o);if(typeof a=="string")throw new p("bad-words",`${g(s.cwd,o)} is not a words file: ${a}.`,{hint:"Fix it, or pass --fresh to hear the recording again."});if(a===void 0){const d=await N(()=>B(t,{root:r.root,cloud:L(s,r.root),...e.lang===void 0?{}:{lang:e.lang},onProgress:P(s),signal:s.signal}));a=d.file.words.map(({confidence:y,...u})=>y===void 0?u:{...u,confidence:y}),c={tightened:d.tightened,model:d.file.model}}const l=a,h=await x(t,r.root,{signal:s.signal}),{from:w,to:b}=n?ke(l,e.from,e.to):{from:0,to:Math.max(0,l.length-1)},i=h&&l.length>0?we(l,h,{all:e.all}):void 0,m=d=>d.after>=w-1&&d.after<=b,J=h?me(l,h):void 0,v=h?ue(l,h):void 0,j=(v?.words??[]).filter(d=>d.i>=w&&d.i<=b),z=ne(j),S=e.script===void 0?void 0:await Oe(s.cwd,e.script),E=S?fe(l,S):void 0,W=l.filter(d=>d.confidence===void 0).length,G=g(s.cwd,o),T={file:t,wordsFile:G,project:r.root,...c?{made:c}:{},count:l.length,duration:h?Math.round(h.db.length*h.hop*100)/100:l.at(-1)?.end??0,levels:h?{...he(h),...i?{words:i.speech,soundFloor:i.floor}:{}}:null,...i?{soundOptions:i.options}:{},range:{from:w,to:b},words:l.slice(w,b+1).map((d,y)=>{const u=v?.words[w+y];return{i:w+y,text:d.text,start:d.start,end:d.end,confidence:d.confidence??null,...J?.[w+y]??{},...u?{letters:u.letters,expected:u.expected,ratio:u.ratio,excess:u.excess,voicedRuns:u.voicedRuns,dips:u.dips}:{}}}),rate:v?.rate??null,...v?.rateWhy===void 0?{}:{rateWhy:v.rateWhy},long:z.map(d=>d.i),longOptions:{...se,dip:te.dip},confidence:{means:W<l.length||l.length===0?_:null,missing:W},paragraphs:ae(l,re,w,b),sounds:i?.sounds.filter(m)??[],...e.all&&i?.stretches?{stretches:i.stretches.filter(m)}:{},...e.search?{matches:e.search.map(d=>({phrase:d,at:ce(l,d)}))}:{},...E?{script:E}:{}},U=ve(T,{file:g(s.cwd,t),words:l,frames:h!==void 0,shapes:j,all:e.all});return{value:T,text:U}});const Se=f.strictObject({file:I,edits:f.string().describe("The edits file: the cut list (words, sounds, stretches inside words, pauses) to report on"),dir:D,params:V(Fe)});export const wordsEdits=M({name:"words edits",summary:"What a cut list keeps of a recording: the stretches kept, every word and sound removed, the room tone at its ends, and every join measured on both sides",input:Se,positional:["file","edits"],output:f.looseObject({file:f.string(),wordsFile:f.string(),cut:f.unknown()}),examples:["allyhub words edits talk/host.mp4 talk/edits/host.json","allyhub words edits host.mp4 edits.json --param fps=25"]},async(e,s)=>{const t=await $(s.cwd,e.file),n=await R(e.file,s.cwd,e.dir);n.warning!==void 0&&s.progress(n.warning);const r=A(t),o=await O(r);if(o===void 0)throw new p("no-words",`${g(s.cwd,t)} has no words file yet.`,{exit:F.notFound,hint:`allyhub words ${e.file} hears its words and writes ${g(s.cwd,r)}.`});if(typeof o=="string")throw new p("bad-words",`${g(s.cwd,r)} is not a words file: ${o}.`,{hint:"Fix it, or hear the recording again: allyhub words --fresh."});if(o.length===0)throw new p("no-words",`${g(s.cwd,r)} has no words: there is nothing to cut.`,{exit:F.notFound});const c=await Ae(s.cwd,e.edits),a=await x(t,n.root,{signal:s.signal}),l=oe(o,c,a,{fps:e.params.fps,...a?{duration:a.db.length*a.hop}:{}});return{value:{file:t,wordsFile:g(s.cwd,r),edits:g(s.cwd,q(s.cwd,e.edits)),project:n.root,count:o.length,cut:l},text:be(l,o)}});
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { type GeneratedSheets, type WorkbookFiles } from "@allyhub/sheet";
|
|
2
|
-
import { type Problem } from "@allyhub/video-core";
|
|
3
|
-
import { MetaLoader } from "./meta.js";
|
|
4
|
-
export interface SheetSource {
|
|
5
|
-
/** Its folder, from the project's root. */
|
|
6
|
-
dir: string;
|
|
7
|
-
text: string;
|
|
8
|
-
/** The CSV files sheet.yaml names that are there, by their paths from its folder. */
|
|
9
|
-
csv: Map<string, string>;
|
|
10
|
-
generated?: GeneratedSheets;
|
|
11
|
-
/** It has a sheet.ts and that did not run: what it makes is missing. */
|
|
12
|
-
failed: boolean;
|
|
13
|
-
problems: Problem[];
|
|
14
|
-
}
|
|
15
|
-
/** Whether a sheet's folder has a sheet.ts. */
|
|
16
|
-
export declare const hasSheetCode: (root: string, dir: string) => boolean;
|
|
17
|
-
/** What a sheet's sheet.ts makes, run in `meta`. */
|
|
18
|
-
export declare function runSheetCode(root: string, dir: string, meta: MetaLoader): Promise<{
|
|
19
|
-
generated?: GeneratedSheets;
|
|
20
|
-
failed: boolean;
|
|
21
|
-
problems: Problem[];
|
|
22
|
-
}>;
|
|
23
|
-
/** A sheet's files read, with what its sheet.ts makes. */
|
|
24
|
-
export declare function readSheetSource(root: string, dir: string, o?: {
|
|
25
|
-
meta?: MetaLoader;
|
|
26
|
-
}): Promise<SheetSource>;
|
|
27
|
-
/** A sheet's folder wherever it is: its project's root and its place in it, or by itself outside `root`. */
|
|
28
|
-
export declare function sheetRoot(root: string, folder: string): {
|
|
29
|
-
root: string;
|
|
30
|
-
dir: string;
|
|
31
|
-
};
|
|
32
|
-
/** What a reader of a workbook gives the engine for a sheet's source. */
|
|
33
|
-
export declare function workbookFiles(root: string, source: SheetSource): WorkbookFiles;
|
|
34
|
-
//# sourceMappingURL=sheet-code.d.ts.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{builtinModules as h}from"node:module";import{existsSync as w,realpathSync as x}from"node:fs";import{readFile as m}from"node:fs/promises";import{dirname as b,isAbsolute as g,join as p,posix as l,relative as E}from"node:path";import{SHEET_CODE as y,SHEET_FILE as $}from"@allyhub/formats";import{dataFilesOf as v}from"@allyhub/sheet";import{problem as S,repoPath as j}from"@allyhub/video-core";import{dependenciesOf as k}from"./files.js";import{MetaLoader as A}from"./meta.js";import{nodeStackPlace as F}from"./places.js";import{lineAt as I,parse as D,walk as M}from"./scan.js";const C=new Set([...h,...h.map(e=>`node:${e}`)]);export const hasSheetCode=(e,t)=>w(p(e,t,y));async function L(e,t){const a=[],s=new Set,i=async r=>{if(s.has(r))return;s.add(r);const n=await m(p(e,r),"utf8").catch(()=>{});if(n===void 0)return;const f=D(r,n),c=[];M(f.program,o=>{if(o.type!=="ImportDeclaration"&&o.type!=="ImportExpression"&&o.type!=="ExportNamedDeclaration"&&o.type!=="ExportAllDeclaration")return;const u=o.source?.value;typeof u=="string"&&c.push({spec:u,node:o})});for(const{spec:o,node:u}of c){if(C.has(o)){a.push(S("AK-M012",`${r} imports ${o}. sheet.ts reads the project's files with data(), and reaches nothing else.`,{where:{file:r,line:I(n,u.start)}}));continue}if(o.startsWith(".")){const d=j(r,o);d!==void 0&&await i(d)}}};return await i(t),a}export async function runSheetCode(e,t,a){const s=l.join(t,y),i=await L(e,s),r=await a.request({type:"sheet",file:s});if(i.push(...r.problems),!r.ok){if(r.error!=="timeout"){const n=F(r.stack,e);i.push(S("AK-R001",`Failed to run ${s}: ${r.error??""}${n?` (at ${n.file}:${String(n.line)})`:""}`,{where:n?{file:n.file,line:n.line}:{file:s}}))}return{failed:!0,problems:i}}return{generated:r.value,failed:!1,problems:i}}export async function readSheetSource(e,t,a={}){const s=p(e,t),i=await m(p(s,$),"utf8"),r=new Map;for(const c of v(i)){const o=await m(p(s,c),"utf8").catch(()=>{});o!==void 0&&r.set(c,o)}const n={dir:t,text:i,csv:r,failed:!1,problems:[]};if(!hasSheetCode(e,t))return n;const f=a.meta??new A({root:e,media:{},dependencies:[...await k(e)],user:!0});try{const c=await runSheetCode(e,t,f);n.failed=c.failed,n.problems=c.problems,c.generated&&(n.generated=c.generated)}finally{a.meta||await f.close()}return n}export function sheetRoot(e,t){const a=E(x(e),x(t));return a.startsWith("..")||g(a)?{root:b(t),dir:l.basename(t)}:{root:e,dir:a.split("\\").join("/")}}export function workbookFiles(e,t){return{text:t.text,read:a=>t.csv.get(a),generated:t.generated,exists:a=>{const s=l.normalize(l.join(t.dir,a));return!s.startsWith("..")&&w(p(e,s))}}}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type ChartFile } from "@allyhub/formats";
|
|
2
|
-
import { type ChartDef } from "./chart.js";
|
|
3
|
-
export declare function chartOfFile(f: ChartFile, o: {
|
|
4
|
-
title: string | undefined;
|
|
5
|
-
/** The folder of the file that writes it (a deck's, a doc's). */
|
|
6
|
-
base: string;
|
|
7
|
-
/** A data file's content, by its path from that folder. */
|
|
8
|
-
rows: (path: string) => unknown;
|
|
9
|
-
problem: (message: string) => void;
|
|
10
|
-
}): ChartDef | undefined;
|
|
11
|
-
//# sourceMappingURL=chart-file.d.ts.map
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { type ChartDef } from "./chart.js";
|
|
2
|
-
/** The cells a chart's numbers are read through, in its file's spelling. */
|
|
3
|
-
export interface ChartRefs {
|
|
4
|
-
/** A series' name, or undefined when it is its own text. */
|
|
5
|
-
name: (series: number) => string | undefined;
|
|
6
|
-
/** Its categories, or undefined when it has none to name. */
|
|
7
|
-
categories: string | undefined;
|
|
8
|
-
/** Whether its categories are numbers (dates, years): a numRef. */
|
|
9
|
-
numeric?: boolean;
|
|
10
|
-
/** A series' values. */
|
|
11
|
-
values: (series: number) => string;
|
|
12
|
-
/** A scatter series' places across. */
|
|
13
|
-
x?: (series: number) => string | undefined;
|
|
14
|
-
}
|
|
15
|
-
export interface ChartPart {
|
|
16
|
-
refs: ChartRefs;
|
|
17
|
-
/** The plot's place, from the frame in points; absent: the app's own automatic layout. */
|
|
18
|
-
frame?: {
|
|
19
|
-
width: number;
|
|
20
|
-
height: number;
|
|
21
|
-
};
|
|
22
|
-
/** The title's cell: it reads the title from there. */
|
|
23
|
-
titleRef?: string;
|
|
24
|
-
/** What ends the part: a deck's workbook. */
|
|
25
|
-
tail?: string;
|
|
26
|
-
/** Rows a filter or a person hides are left out, as a chart's own option. */
|
|
27
|
-
plotVisible?: boolean;
|
|
28
|
-
/** No fill and no line round the chart's own area: it lies on the page, as a doc's does. */
|
|
29
|
-
frameless?: boolean;
|
|
30
|
-
}
|
|
31
|
-
/** A chart's part. */
|
|
32
|
-
export declare function chartSpaceXml(c: ChartDef, part: ChartPart): string;
|
|
33
|
-
//# sourceMappingURL=chart-xml.d.ts.map
|
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
import type { ChartLegendPosition, Color, SheetChartType, ThemeColor } from "@allyhub/formats";
|
|
2
|
-
export type { Color };
|
|
3
|
-
/** A theme colour at a brightness: its name alone at 0. */
|
|
4
|
-
export declare const themeColor: (theme_color: ThemeColor, brightness?: number) => Color;
|
|
5
|
-
/** The theme colour a colour is, at any brightness. */
|
|
6
|
-
export declare const themeColorOf: (c: Color) => ThemeColor | undefined;
|
|
7
|
-
/**
|
|
8
|
-
* A colour as it is drawn, against the theme in force: a theme colour's
|
|
9
|
-
* value, lighter or darker by its brightness as PowerPoint makes it, or its
|
|
10
|
-
* own. Every colour drawn or measured comes through here.
|
|
11
|
-
*/
|
|
12
|
-
export declare function colorRgb(c: Color, colors: Readonly<Record<ThemeColor, string>>): string;
|
|
13
|
-
/** The kinds a chart is drawn as: a slide's and a sheet's (which adds scatter). */
|
|
14
|
-
export type ChartKind = SheetChartType;
|
|
15
|
-
/** Where a data label sits (`c:dLblPos`). */
|
|
16
|
-
export type ChartLabelPosition = "outEnd" | "inEnd" | "ctr" | "inBase" | "t" | "b" | "l" | "r" | "bestFit";
|
|
17
|
-
export interface ChartSeriesDef {
|
|
18
|
-
name: string;
|
|
19
|
-
/** One per category; null where there is none. */
|
|
20
|
-
values: (number | null)[];
|
|
21
|
-
/** A scatter's: each point's place across, beside `values`. */
|
|
22
|
-
x?: (number | null)[];
|
|
23
|
-
/** Its values' format in the workbook (Excel's). */
|
|
24
|
-
number_format?: string;
|
|
25
|
-
/** Its colour; default the theme's accents, in turn. */
|
|
26
|
-
color?: Color;
|
|
27
|
-
/** A line's curve. */
|
|
28
|
-
smooth?: boolean;
|
|
29
|
-
/** A line's width in points. */
|
|
30
|
-
line_width?: number;
|
|
31
|
-
/** A marker's size in points. */
|
|
32
|
-
marker_size?: number;
|
|
33
|
-
}
|
|
34
|
-
export interface ChartAxisDef {
|
|
35
|
-
minimum_scale?: number;
|
|
36
|
-
maximum_scale?: number;
|
|
37
|
-
major_unit?: number;
|
|
38
|
-
has_major_gridlines?: boolean;
|
|
39
|
-
visible?: boolean;
|
|
40
|
-
/** Its tick labels' format (Excel's). */
|
|
41
|
-
number_format?: string;
|
|
42
|
-
/** Last category first. */
|
|
43
|
-
reverse_order?: boolean;
|
|
44
|
-
/** Its gridlines' colour. */
|
|
45
|
-
gridline_color?: Color;
|
|
46
|
-
/** Its line's colour. */
|
|
47
|
-
line_color?: Color;
|
|
48
|
-
/** Its title (`c:title`). */
|
|
49
|
-
title?: string;
|
|
50
|
-
}
|
|
51
|
-
export interface ChartLabelsDef {
|
|
52
|
-
show_value?: boolean;
|
|
53
|
-
show_percentage?: boolean;
|
|
54
|
-
show_category_name?: boolean;
|
|
55
|
-
show_series_name?: boolean;
|
|
56
|
-
number_format?: string;
|
|
57
|
-
position?: ChartLabelPosition;
|
|
58
|
-
/** Points. */
|
|
59
|
-
size?: number;
|
|
60
|
-
color?: Color;
|
|
61
|
-
}
|
|
62
|
-
/** A chart (`c:chartSpace`). */
|
|
63
|
-
export interface ChartDef {
|
|
64
|
-
type: ChartKind;
|
|
65
|
-
categories: string[];
|
|
66
|
-
series: ChartSeriesDef[];
|
|
67
|
-
title?: string;
|
|
68
|
-
/** Where its legend is; absent: it has none. */
|
|
69
|
-
legend?: ChartLegendPosition;
|
|
70
|
-
/** Its legend drawn over the plot, the plot not made smaller for it (python-pptx's include_in_layout false, `c:overlay`). */
|
|
71
|
-
legend_overlay?: boolean;
|
|
72
|
-
/** Its data labels; absent: it has none. */
|
|
73
|
-
labels?: ChartLabelsDef;
|
|
74
|
-
/** Between bars' groups, as a share of a bar's width, in %. */
|
|
75
|
-
gap_width?: number;
|
|
76
|
-
/** Of one bar over the next, in %, from -100 to 100. */
|
|
77
|
-
overlap?: number;
|
|
78
|
-
/** A colour per category, as a pie has by default. */
|
|
79
|
-
vary_by_categories?: boolean;
|
|
80
|
-
/** Each category's colour when they vary (`c:dPt`); default the theme's accents, in turn. */
|
|
81
|
-
category_colors?: Color[];
|
|
82
|
-
/** A doughnut's hole, in % of its size. */
|
|
83
|
-
hole_size?: number;
|
|
84
|
-
value_axis?: ChartAxisDef;
|
|
85
|
-
category_axis?: ChartAxisDef;
|
|
86
|
-
/** Its text's size in points. */
|
|
87
|
-
font_size?: number;
|
|
88
|
-
/** Its title's size in points. */
|
|
89
|
-
title_size?: number;
|
|
90
|
-
font_color?: Color;
|
|
91
|
-
/** The project file its numbers came from. */
|
|
92
|
-
source?: string;
|
|
93
|
-
}
|
|
94
|
-
/** What a chart is drawn with unless it says otherwise. */
|
|
95
|
-
export declare const CHART_DEFAULTS: {
|
|
96
|
-
/** Points. */
|
|
97
|
-
readonly fontSize: 12;
|
|
98
|
-
/** A title's size over the chart's text. */
|
|
99
|
-
readonly titleScale: 1.2;
|
|
100
|
-
readonly gapWidth: 150;
|
|
101
|
-
readonly holeSize: 50;
|
|
102
|
-
/** Space round the chart, points. */
|
|
103
|
-
readonly margin: 6;
|
|
104
|
-
readonly gridline: "#D9D9D9";
|
|
105
|
-
readonly axisLine: "#BFBFBF";
|
|
106
|
-
/** A share of a letter's size: how wide a letter is taken to be. */
|
|
107
|
-
readonly letter: 0.55;
|
|
108
|
-
/** Line widths, points. */
|
|
109
|
-
readonly lineWidth: 2.25;
|
|
110
|
-
readonly gridWidth: 0.75;
|
|
111
|
-
/** A marker's size, points. */
|
|
112
|
-
readonly marker: 5;
|
|
113
|
-
};
|
|
114
|
-
export declare const accentOf: (i: number) => Color;
|
|
115
|
-
export declare const isBar: (t: ChartKind) => boolean;
|
|
116
|
-
export declare const isHorizontal: (t: ChartKind) => boolean;
|
|
117
|
-
export declare const isLine: (t: ChartKind) => boolean;
|
|
118
|
-
export declare const isArea: (t: ChartKind) => boolean;
|
|
119
|
-
export declare const isRound: (t: ChartKind) => t is "pie" | "doughnut";
|
|
120
|
-
export declare const isScatter: (t: ChartKind) => boolean;
|
|
121
|
-
/** Whether its points are joined. */
|
|
122
|
-
export declare const hasLines: (t: ChartKind) => boolean;
|
|
123
|
-
export declare const hasMarkers: (t: ChartKind) => t is "line-markers" | "scatter" | "scatter-lines";
|
|
124
|
-
export declare const groupingOf: (t: ChartKind) => "clustered" | "stacked" | "percentStacked" | "standard";
|
|
125
|
-
/**
|
|
126
|
-
* Where each kind of chart can have its labels: PowerPoint repairs a file
|
|
127
|
-
* that names any other (a stacked bar's outside end), and an area or a
|
|
128
|
-
* doughnut names none.
|
|
129
|
-
*/
|
|
130
|
-
export declare function labelPositionsOf(t: ChartKind): readonly ChartLabelPosition[];
|
|
131
|
-
/** Where a chart's labels are: where it says if its kind can, else where this one draws them. */
|
|
132
|
-
export declare function labelPositionOf(c: Pick<ChartDef, "type" | "labels">): ChartLabelPosition | undefined;
|
|
133
|
-
/** Whether each category has its own colour. */
|
|
134
|
-
export declare const variesOf: (c: Pick<ChartDef, "type" | "vary_by_categories">) => boolean;
|
|
135
|
-
/** A number as an Excel format shows it. */
|
|
136
|
-
export declare function formatValue(value: number, code?: string): string;
|
|
137
|
-
export interface ChartScale {
|
|
138
|
-
min: number;
|
|
139
|
-
max: number;
|
|
140
|
-
major: number;
|
|
141
|
-
ticks: number[];
|
|
142
|
-
}
|
|
143
|
-
/**
|
|
144
|
-
* A value axis from the values it shows, as Excel's automatic one: zero is on
|
|
145
|
-
* it unless the values are close together, a step of 1, 2 or 5 of a power of
|
|
146
|
-
* ten that gives its length at least `room` per step, and 5 % of head room.
|
|
147
|
-
*/
|
|
148
|
-
export declare function chartScale(low: number, high: number, length: number, room: number, axis?: ChartAxisDef): ChartScale;
|
|
149
|
-
export interface ChartBox {
|
|
150
|
-
x: number;
|
|
151
|
-
y: number;
|
|
152
|
-
width: number;
|
|
153
|
-
height: number;
|
|
154
|
-
color: Color;
|
|
155
|
-
series: number;
|
|
156
|
-
category: number;
|
|
157
|
-
}
|
|
158
|
-
export interface ChartStroke {
|
|
159
|
-
/** An SVG path. */
|
|
160
|
-
d: string;
|
|
161
|
-
color: Color;
|
|
162
|
-
width: number;
|
|
163
|
-
fill?: Color;
|
|
164
|
-
series?: number;
|
|
165
|
-
category?: number;
|
|
166
|
-
}
|
|
167
|
-
export interface ChartDot {
|
|
168
|
-
x: number;
|
|
169
|
-
y: number;
|
|
170
|
-
r: number;
|
|
171
|
-
color: Color;
|
|
172
|
-
}
|
|
173
|
-
export interface ChartWord {
|
|
174
|
-
/** Where it is anchored: its left, middle or right, at its vertical middle. */
|
|
175
|
-
x: number;
|
|
176
|
-
y: number;
|
|
177
|
-
text: string;
|
|
178
|
-
size: number;
|
|
179
|
-
anchor: "start" | "middle" | "end";
|
|
180
|
-
color: Color;
|
|
181
|
-
/** Turned, in degrees: an axis's title beside it. */
|
|
182
|
-
rotate?: number;
|
|
183
|
-
}
|
|
184
|
-
/** A chart as drawn, in points in its frame, back to front. */
|
|
185
|
-
export interface ChartDrawing {
|
|
186
|
-
grid: ChartStroke[];
|
|
187
|
-
/** Filled areas, bars and slices. */
|
|
188
|
-
shapes: ChartStroke[];
|
|
189
|
-
boxes: ChartBox[];
|
|
190
|
-
lines: ChartStroke[];
|
|
191
|
-
axes: ChartStroke[];
|
|
192
|
-
dots: ChartDot[];
|
|
193
|
-
/** Swatches of the legend. */
|
|
194
|
-
keys: ChartBox[];
|
|
195
|
-
words: ChartWord[];
|
|
196
|
-
/** Where the plot is. */
|
|
197
|
-
plot: {
|
|
198
|
-
x: number;
|
|
199
|
-
y: number;
|
|
200
|
-
width: number;
|
|
201
|
-
height: number;
|
|
202
|
-
};
|
|
203
|
-
}
|
|
204
|
-
/** A chart laid out in a frame of `width` × `height` points. */
|
|
205
|
-
export declare function chartDrawing(c: ChartDef, width: number, height: number): ChartDrawing;
|
|
206
|
-
//# sourceMappingURL=chart.d.ts.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type ChartDef } from "./chart.js";
|
|
2
|
-
/**
|
|
3
|
-
* A chart's part, its numbers read from a workbook of its own laid out as
|
|
4
|
-
* chartBook lays it out: `frame` its size in points, `workbook` the
|
|
5
|
-
* relationship id of that workbook.
|
|
6
|
-
*/
|
|
7
|
-
export declare function embeddedChartXml(c: ChartDef, frame: {
|
|
8
|
-
width: number;
|
|
9
|
-
height: number;
|
|
10
|
-
}, workbook: string, o?: {
|
|
11
|
-
frameless?: boolean;
|
|
12
|
-
}): string;
|
|
13
|
-
/** The workbook behind a chart: its categories down column A, a series a column, as python-pptx lays it out. */
|
|
14
|
-
export declare function chartBook(c: ChartDef): Uint8Array;
|
|
15
|
-
//# sourceMappingURL=embedded.d.ts.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { ThemeColor } from "@allyhub/formats";
|
|
2
|
-
import { type ChartDef } from "./chart.js";
|
|
3
|
-
/** The Office theme's colours, as a chart with none of its own has them. */
|
|
4
|
-
export declare const OFFICE_COLORS: Readonly<Record<ThemeColor, string>>;
|
|
5
|
-
/** What a chart is drawn on, and in. */
|
|
6
|
-
export interface ChartSvgOptions {
|
|
7
|
-
/** The theme its theme colours are (accent1…): default Office's. */
|
|
8
|
-
colors?: Readonly<Record<ThemeColor, string>>;
|
|
9
|
-
/** Its ground: default white; `none` for none. */
|
|
10
|
-
paper?: string;
|
|
11
|
-
/** Its edge: default a light gray; `none` for none. */
|
|
12
|
-
edge?: string;
|
|
13
|
-
/** Its text's face, as CSS names it. */
|
|
14
|
-
font?: string;
|
|
15
|
-
/** Points to a pixel: default 0.75, 96 pixels to the inch. */
|
|
16
|
-
pointsPerPixel?: number;
|
|
17
|
-
/** What it shows, in words, for a reader that reads aloud. */
|
|
18
|
-
label?: string;
|
|
19
|
-
}
|
|
20
|
-
/** A chart as an SVG of `width` × `height` pixels, laid out in points. */
|
|
21
|
-
export declare function chartSvg(def: ChartDef, width: number, height: number, o?: ChartSvgOptions): string;
|
|
22
|
-
//# sourceMappingURL=svg.d.ts.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{fact as u}from"@allyhub/video-core";const f=e=>Math.round(e*1e3)/1e3;export function secondsOf(e){const i=e.flatMap(n=>n.start!==void 0&&n.end!==void 0&&n.end>n.start?[[n.start,n.end]]:[]).sort((n,t)=>n[0]-t[0]);let r=0,o=-1/0;for(const[n,t]of i)t<=o||(r+=t-Math.max(n,o),o=t);return f(r)}function h(e,i,r,o){const n=r[e],t=n?.gen;if(!(!n||t?.ai!==!0))return{file:e,kind:n.kind,...t.tool===void 0?{}:{tool:t.tool},...t.model===void 0?{}:{model:t.model},...t.at===void 0?{}:{at:t.at},...t.matches===!1?{mismatch:!0}:{},uses:i,...o?{seconds:secondsOf(i)}:{}}}export function generatedFact(e,i){const r=new Map,o=(d,s)=>{const a=r.get(d)??[];a.push(s),r.set(d,a)};let n=0;for(const d of e.parts){for(const s of d.uses){const a=n+s.from,c=s.as==="sound"?i[s.file]?.duration:void 0,m=s.to!==void 0?n+s.to:c!==void 0?Math.min(e.duration,a+c):void 0;o(s.file,{part:d.key,as:s.as,start:f(a),...m===void 0?{}:{end:f(m)}})}n+=d.dur}if(e.music!==void 0){const d=i[e.music]?.duration,s=d===void 0?void 0:Math.max(0,d-(e.musicFrom??0)),a=e.musicLength!==void 0?Math.min(e.duration,e.musicLength):e.musicLoop||s===void 0?e.duration:Math.min(e.duration,s);o(e.music,{as:"music",start:0,end:f(a)})}for(const d of e.media)r.has(d)||o(d,{as:"read"});const t=[...r].flatMap(([d,s])=>h(d,s,i,!0)??[]).sort((d,s)=>d.file<s.file?-1:1);if(t.length!==0)return u("generated-media",{piece:e.piece,output:e.output,combo:e.combo,format:e.format},{files:t,duration:f(e.duration),...e.estimated?{estimated:!0}:{}})}export function generatedPagedFact(e,i){const r=new Map;for(const n of e.reads?.media??[]){const t=r.get(n.path)??[];t.push({...n.part===void 0?{}:{part:n.part},as:"read"}),r.set(n.path,t)}const o=[...r].flatMap(([n,t])=>h(n,t,i,!1)??[]).sort((n,t)=>n.file<t.file?-1:1);if(o.length!==0)return u("generated-media",{piece:e.piece,output:e.output,combo:e.combo,format:e.format},{files:o})}export function mismatchFacts(e,i,r){const o=[];for(const n of[...new Set(i)].sort()){const t=r[n];t&&(t.genUnread?o.push(u("gen-mismatch",e,{file:n,record:t.genUnread.record,why:"unreadable",error:t.genUnread.error})):t.gen?.matches===!1&&t.gen.sha256!==void 0&&o.push(u("gen-mismatch",e,{file:n,record:t.gen.record,why:"sha256",recorded:t.gen.sha256,actual:t.sha256})))}return o}
|