allyhub 0.18.0 → 0.20.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/bin/allyhub.js +10 -0
- package/dist/args.js +1 -1
- package/dist/command.js +1 -1
- package/dist/commands/add.js +1 -1
- package/dist/commands/align.js +1 -1
- package/dist/commands/auth.js +1 -1
- package/dist/commands/check.js +1 -1
- package/dist/commands/cloud-tools.js +2 -2
- package/dist/commands/cloud.js +1 -1
- package/dist/commands/contributed.js +1 -1
- package/dist/commands/dev.js +5 -5
- package/dist/commands/export.js +3 -0
- package/dist/commands/found-extensions.js +2 -0
- package/dist/commands/frames/common.js +1 -1
- package/dist/commands/frames/doc.js +1 -1
- package/dist/commands/frames/piece.js +1 -1
- package/dist/commands/frames/sheet.js +1 -1
- package/dist/commands/frames.js +9 -9
- package/dist/commands/index.js +1 -1
- package/dist/commands/inspect/combos.js +1 -1
- package/dist/commands/inspect/common.js +3 -3
- package/dist/commands/inspect/facts.js +2 -2
- package/dist/commands/inspect/index.js +1 -1
- package/dist/commands/inspect/layout.js +1 -1
- package/dist/commands/inspect/views.js +1 -1
- package/dist/commands/list.js +2 -0
- package/dist/commands/mail.js +1 -1
- package/dist/commands/migrate.js +3 -0
- package/dist/commands/run-context.js +2 -0
- package/dist/commands/skills.js +3 -3
- package/dist/commands/upgrade.js +5 -0
- package/dist/commands.json +1 -0
- package/dist/fields.js +1 -1
- package/dist/help.js +3 -3
- package/dist/main.js +8 -7
- package/dist/node_modules/@allyhub/3d-extension/dist/build.js +1 -1
- package/dist/node_modules/@allyhub/3d-extension/dist/scenery-build.js +1 -1
- package/dist/node_modules/@allyhub/3d-extension/package.json +4 -3
- package/dist/node_modules/@allyhub/audio/package.json +1 -1
- package/dist/node_modules/@allyhub/blocks/LICENSE +241 -0
- package/dist/node_modules/@allyhub/blocks/dist/alt.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/elements.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/flow-resolve.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/flow-table.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/format.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/gantt.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/grids.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/html.js +75 -0
- package/dist/node_modules/@allyhub/blocks/dist/icons.generated.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/icons.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/layout.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/look.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/measure.js +3 -0
- package/dist/node_modules/@allyhub/blocks/dist/model.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/page.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/palette.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/path.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/resolve.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/samples.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/sankey.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/svg.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/tidy.js +2 -0
- package/dist/node_modules/@allyhub/blocks/dist/trees.js +2 -0
- package/dist/node_modules/@allyhub/blocks/package.json +19 -0
- package/dist/node_modules/@allyhub/browser/dist/html.js +1 -1
- package/dist/node_modules/@allyhub/browser/package.json +1 -1
- package/dist/node_modules/@allyhub/build/dist/build-plugins.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/fonts.js +9 -3
- package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/inspect-view.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/meta-worker.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/migrate.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/plugin.js +9 -9
- package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
- package/dist/node_modules/@allyhub/build/dist/project-root.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/scan.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/sdk-parts.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/vite.js +2 -2
- package/dist/node_modules/@allyhub/build/dist/work.js +3 -3
- package/dist/node_modules/@allyhub/build/package.json +13 -1
- package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
- package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -1
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +4 -3
- package/dist/node_modules/@allyhub/chart/dist/chart.js +4 -2
- package/dist/node_modules/@allyhub/chart/dist/chartex-xml.js +4 -0
- package/dist/node_modules/@allyhub/chart/dist/classic.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/embedded.js +2 -2
- package/dist/node_modules/@allyhub/chart/dist/extended.js +2 -0
- package/dist/node_modules/@allyhub/chart/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/chart/dist/svg.js +1 -1
- package/dist/node_modules/@allyhub/chart/dist/tree.js +2 -0
- package/dist/node_modules/@allyhub/chart/package.json +1 -1
- package/dist/node_modules/@allyhub/check/dist/check.js +2 -2
- package/dist/node_modules/@allyhub/check/package.json +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/blobs.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
- package/dist/node_modules/@allyhub/cloud/dist/catalog.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/config.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/credentials.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/device.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/loopback.js +2 -2
- package/dist/node_modules/@allyhub/cloud/dist/mail.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/records.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/signin.js +2 -2
- package/dist/node_modules/@allyhub/cloud/dist/sites.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/storage.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/token.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/cloud/dist/uploads.js +2 -2
- package/dist/node_modules/@allyhub/cloud/dist/voice.js +1 -1
- package/dist/node_modules/@allyhub/cloud/package.json +5 -1
- package/dist/node_modules/@allyhub/components/package.json +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/item-process.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/item-worker.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/pages.js +20 -1
- package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/writer.js +3 -3
- package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
- package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +1 -1
- package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
- package/dist/node_modules/@allyhub/doc/dist/blocks.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/color.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/docx-read.js +12 -0
- package/dist/node_modules/@allyhub/doc/dist/docx.js +5 -4
- package/dist/node_modules/@allyhub/doc/dist/html.js +83 -48
- package/dist/node_modules/@allyhub/doc/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/markdown.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/merges.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/numbering.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/omml.js +3 -0
- package/dist/node_modules/@allyhub/doc/dist/page.js +2 -1
- package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/parse.js +5 -4
- package/dist/node_modules/@allyhub/doc/dist/redline.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/revisions.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/shapes.js +4 -0
- package/dist/node_modules/@allyhub/doc/dist/styles.js +2 -0
- package/dist/node_modules/@allyhub/doc/dist/table.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/write.js +65 -39
- package/dist/node_modules/@allyhub/doc/package.json +5 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/build.js +2 -2
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/import.js +3 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/cli/styles.js +4 -0
- package/dist/node_modules/@allyhub/doc-extension/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/workspace.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/package.json +22 -2
- package/dist/node_modules/@allyhub/doc-print/dist/drawn.js +4 -4
- package/dist/node_modules/@allyhub/doc-print/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/doc-print/dist/layout.js +8 -7
- package/dist/node_modules/@allyhub/doc-print/dist/print.js +22 -16
- package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
- package/dist/node_modules/@allyhub/export/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/export/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-host/dist/points.js +1 -1
- package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/blocks-flow.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/blocks.d.ts +146 -0
- package/dist/node_modules/@allyhub/formats/dist/data/blocks.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.d.ts +9 -0
- package/dist/node_modules/@allyhub/formats/dist/data/cell-styles.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/deck-code.d.ts +47 -40
- package/dist/node_modules/@allyhub/formats/dist/data/deck-code.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.d.ts +6 -0
- package/dist/node_modules/@allyhub/formats/dist/data/diagram-kinds.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/diagrams.d.ts +29 -0
- package/dist/node_modules/@allyhub/formats/dist/data/diagrams.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +18 -0
- package/dist/node_modules/@allyhub/formats/dist/data/faces.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/page-data.d.ts +59 -0
- package/dist/node_modules/@allyhub/formats/dist/data/page-data.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +698 -258
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +14104 -2167
- package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/themes.d.ts +82 -0
- package/dist/node_modules/@allyhub/formats/dist/data/themes.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/tokens.d.ts +67 -0
- package/dist/node_modules/@allyhub/formats/dist/data/tokens.js +2 -0
- package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
- package/dist/node_modules/@allyhub/formats/dist/data/work.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/index.d.ts +7 -0
- package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/items.d.ts +36 -10
- package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/note-shape.d.ts +1 -1
- package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +3260 -290
- package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/tolerant.d.ts +45 -0
- package/dist/node_modules/@allyhub/formats/dist/tolerant.js +2 -0
- package/dist/node_modules/@allyhub/formats/package.json +25 -1
- package/dist/node_modules/@allyhub/html-extension/dist/project-tools.js +21 -9
- package/dist/node_modules/@allyhub/html-extension/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/html-extension/markup/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/html-extension/markup/markup.json +14 -4
- package/dist/node_modules/@allyhub/html-extension/markup/pages/budget.html +22 -1
- package/dist/node_modules/@allyhub/html-extension/package.json +9 -1
- package/dist/node_modules/@allyhub/i18n/package.json +1 -1
- package/dist/node_modules/@allyhub/image-draw/dist/fonts.js +1 -1
- package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +2 -2
- package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
- package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +1 -1
- package/dist/node_modules/@allyhub/image-extension/dist/cli.js +1 -1
- package/dist/node_modules/@allyhub/image-extension/package.json +2 -2
- package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +1 -1
- package/dist/node_modules/@allyhub/image-measure/dist/layout.js +2 -2
- package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
- package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
- package/dist/node_modules/@allyhub/image-render/package.json +1 -1
- package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/image-sdk/dist/block.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/blocks.js +2 -0
- package/dist/node_modules/@allyhub/image-sdk/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
- package/dist/node_modules/@allyhub/jobs/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -3
- package/dist/node_modules/@allyhub/linkedin-extension/skills/allyhub/references/linkedin.md +3 -3
- package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-view/src/style.css +1 -600
- package/dist/node_modules/@allyhub/measure/package.json +1 -1
- package/dist/node_modules/@allyhub/media/package.json +5 -1
- package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/asr/hear.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -2
- package/dist/node_modules/@allyhub/media-extension/dist/vision/track.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/model/package.json +1 -1
- package/dist/node_modules/@allyhub/office-extension/markup/csv/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/csv/markup.json +1 -1
- package/dist/node_modules/@allyhub/office-extension/markup/document/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/presentation/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/workbook/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/office-extension/markup/workbook/markup.json +1 -1
- package/dist/node_modules/@allyhub/office-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/ext.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/mce.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/node.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/ns.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/opc.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
- package/dist/node_modules/@allyhub/piece/dist/export.d.ts +1 -1
- package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +1 -2
- package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +2 -0
- package/dist/node_modules/@allyhub/piece/dist/look.d.ts +10 -2
- package/dist/node_modules/@allyhub/piece/dist/look.js +1 -1
- package/dist/node_modules/@allyhub/piece/dist/media.d.ts +9 -3
- package/dist/node_modules/@allyhub/piece/dist/script.js +1 -1
- package/dist/node_modules/@allyhub/piece/dist/source.d.ts +5 -2
- package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +2 -2
- package/dist/node_modules/@allyhub/piece/package.json +1 -1
- package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
- package/dist/node_modules/@allyhub/project/package.json +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/auth.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/blobs.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/events.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/jsonrpc.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/kinds.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/mail.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/page-frame.js +2 -0
- package/dist/node_modules/@allyhub/protocol/dist/paywall.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/purposes.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/registry.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/sites.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/teams.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/protocol/package.json +41 -1
- package/dist/node_modules/@allyhub/registry/package.json +1 -1
- package/dist/node_modules/@allyhub/render/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/post-probe.js +1 -1
- package/dist/node_modules/@allyhub/render/package.json +9 -1
- package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
- package/dist/node_modules/@allyhub/runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/declared.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/manifest.js +1 -1
- package/dist/node_modules/@allyhub/runtimes/dist/packages.js +2 -2
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +3 -3
- package/dist/node_modules/@allyhub/runtimes/package.json +9 -1
- package/dist/node_modules/@allyhub/scaffold/dist/index.js +12 -8
- package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +3 -3
- package/dist/node_modules/@allyhub/scenery-host/dist/fact.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +2 -2
- package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/annotations.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/index.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/arrange.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/server.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/cell-styles.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/check.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/file.js +2 -2
- package/dist/node_modules/@allyhub/sheet/dist/filter.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/heatmap.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/html.js +9 -9
- package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/inspect.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/paginate.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/printed.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/sdk.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/sparklines.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/table-style.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/table-styles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/theme.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/tiles.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/units.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/write.js +14 -14
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +2 -2
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
- package/dist/node_modules/@allyhub/sheet/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/open.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +7 -7
- package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +2 -2
- package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +2 -2
- package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +2 -2
- package/dist/node_modules/@allyhub/sheet-extension/dist/migrations.js +4 -0
- package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/package.json +7 -3
- package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
- package/dist/node_modules/@allyhub/slides-core/dist/blocks.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/code.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/file.js +3 -3
- package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/model.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/office-layouts.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/office.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/script.js +2 -2
- package/dist/node_modules/@allyhub/slides-core/dist/styles/brief.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/editorial.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/index.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/kit.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/layouts.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/pitch.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/stage.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/styles/tiles.js +2 -0
- package/dist/node_modules/@allyhub/slides-core/dist/theme.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/check.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +2 -2
- package/dist/node_modules/@allyhub/slides-extension/dist/deck-fonts.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/package.json +24 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/fonts.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/image-size.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +7 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/names.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/mtx.js +2 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +3 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/chartex.js +3 -0
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/index.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/table.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/timing.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +3 -2
- package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
- package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/stage/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/files/archivo-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/files/archivo-black-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/archivo-black/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/400-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/400.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/700-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/700.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/arimo/arial.css +1 -316
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400-italic.css +1 -19
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400.css +1 -19
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700-italic.css +1 -19
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700.css +1 -19
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/cambria.css +1 -76
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/400-italic.css +1 -69
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/400.css +1 -69
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/700-italic.css +1 -69
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/700.css +1 -69
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/carlito/calibri.css +1 -276
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/courier-new.css +1 -316
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/files/ibm-plex-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/ibm-plex-sans/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/files/inter-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/inter-static/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/files/newsreader-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/newsreader/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-color-emoji/emoji.css +1 -8
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/400.css +1 -1009
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/700.css +1 -1009
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/noto-sans-sc/microsoft-yahei.css +1 -2018
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/files/plus-jakarta-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-400.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700-italic.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/plus-jakarta-sans/latin-ext-700.css +1 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700-italic.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700.css +1 -79
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/times-new-roman.css +1 -316
- package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.html +42 -0
- package/dist/node_modules/@allyhub/stage-page/dist/style-faces.js +2 -0
- package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +96 -92
- package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/telemetry/dist/doc.js +1 -1
- package/dist/node_modules/@allyhub/telemetry/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub/telemetry/dist/limit.js +2 -0
- package/dist/node_modules/@allyhub/telemetry/dist/telemetry.js +2 -2
- package/dist/node_modules/@allyhub/telemetry/package.json +5 -1
- package/dist/node_modules/@allyhub/text-extension/markup/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/text-extension/markup-file/allyhub.yaml +2 -0
- package/dist/node_modules/@allyhub/text-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/seams.js +1 -1
- package/dist/node_modules/@allyhub/video-core/package.json +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/build-plugins.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/loop.js +3 -0
- package/dist/node_modules/@allyhub/video-extension/package.json +7 -26
- package/dist/node_modules/@allyhub/video-measure/dist/check.js +2 -2
- package/dist/node_modules/@allyhub/video-measure/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/dist/plans.js +2 -2
- package/dist/node_modules/@allyhub/video-measure/dist/reference/video.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/dist/seams.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/dist/version.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/package.json +5 -1
- package/dist/node_modules/@allyhub/video-sdk/dist/config.js +2 -0
- package/dist/node_modules/@allyhub/video-sdk/dist/free.js +1 -1
- package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +1 -1
- package/dist/node_modules/@allyhub/video-sdk/package.json +5 -1
- package/dist/node_modules/@allyhub/website/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/website/dist/website.js +2 -2
- package/dist/node_modules/@allyhub/website/package.json +1 -1
- package/dist/node_modules/@allyhub/website-extension/dist/build.js +1 -1
- package/dist/node_modules/@allyhub/website-extension/package.json +6 -6
- package/dist/node_modules/@allyhub/x-extension/dist/build.js +1 -1
- package/dist/node_modules/@allyhub/x-extension/package.json +8 -4
- package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +3 -3
- package/dist/node_modules/@allyhub/x-model/package.json +1 -1
- package/dist/node_modules/@allyhub/x-view/package.json +1 -1
- package/dist/node_modules/@allyhub/x-view/src/style.css +1 -709
- package/dist/package.json +14 -14
- package/dist/project.js +1 -1
- package/dist/resources.js +1 -1
- package/dist/sdk-docs.js +1 -1
- package/dist/self-upgrade.js +2 -0
- package/dist/slot.js +4 -0
- package/dist/telemetry.js +1 -1
- package/dist/text/batch-text.js +1 -1
- package/dist/text/facts-text.js +5 -5
- package/dist/text/format.js +2 -2
- package/dist/update-notice.js +3 -0
- package/dist/version.js +1 -1
- package/dist/works.js +1 -1
- package/editor-web/assets/{abnfDiagram-WEYOIA3C-Hy4-O0wN.js → abnfDiagram-WEYOIA3C-BkVJMd53.js} +1 -1
- package/editor-web/assets/{architecture-WOLXFQ4H-43JEVxqz.js → architecture-WOLXFQ4H-C6rnaynZ.js} +1 -1
- package/editor-web/assets/{architectureDiagram-ZHVYKT53-7bFTl41n.js → architectureDiagram-ZHVYKT53-D3vrh8LK.js} +1 -1
- package/editor-web/assets/arrow-down-D-QZrqcz.js +1 -0
- package/editor-web/assets/arrow-up-B1zjKUHX.js +1 -0
- package/editor-web/assets/article-DHf6mOY_.js +7 -0
- package/editor-web/assets/article-Dns1-Xh-.js +3 -0
- package/editor-web/assets/{audio-lines-PZj77e7t.js → audio-lines-BFoW_IeO.js} +1 -1
- package/editor-web/assets/bar-button-CKPfx2AB.js +1 -0
- package/editor-web/assets/{blockDiagram-RJAE7QA3-DcoNo1WH.js → blockDiagram-RJAE7QA3-BKngt8H7.js} +1 -1
- package/editor-web/assets/{browser-C9NP0ZYz.js → browser-DEGNhKTV.js} +1 -1
- package/editor-web/assets/{c4Diagram-XDPPPE54-CsMt61gx.js → c4Diagram-XDPPPE54-j7sUELqF.js} +1 -1
- package/editor-web/assets/calc-worker-Cr4a0xmt.js +168 -0
- package/editor-web/assets/channel-CVWSV3su.js +1 -0
- package/editor-web/assets/{chart-no-axes-column-Be0lFcGF.js → chart-no-axes-column-Dyy25XZ_.js} +1 -1
- package/editor-web/assets/chip-Bn_9JRRG.js +1 -0
- package/editor-web/assets/{chunk-2E7WHVMD-fj-TJIRG.js → chunk-2E7WHVMD-BXa-uRSi.js} +1 -1
- package/editor-web/assets/{chunk-4EMNKR2T-Du5cRy-Y.js → chunk-4EMNKR2T-B3ntcsZN.js} +1 -1
- package/editor-web/assets/{chunk-55XCU76K-BHXxBBtm.js → chunk-55XCU76K-AMvnFwUg.js} +1 -1
- package/editor-web/assets/{chunk-7S6XSTFO-R5HW6X5I.js → chunk-7S6XSTFO-BA6esfFu.js} +1 -1
- package/editor-web/assets/{chunk-AQDTSKZB-C98F2BUb.js → chunk-AQDTSKZB-BT_vANXs.js} +1 -1
- package/editor-web/assets/{chunk-DSNLSHJZ-NIGsJ2cK.js → chunk-DSNLSHJZ-DoUgmzGB.js} +1 -1
- package/editor-web/assets/{chunk-HAGFOTED-BtHxtfW5.js → chunk-HAGFOTED-DtnIrCZb.js} +1 -1
- package/editor-web/assets/{chunk-HNE4Q36P-BI8i7Vkk.js → chunk-HNE4Q36P-BlPwQx3_.js} +1 -1
- package/editor-web/assets/{chunk-NQOKRVIF-DP_Z_zEA.js → chunk-NQOKRVIF-D2r7jp2r.js} +1 -1
- package/editor-web/assets/{chunk-UHW7PFBP-C_8bui28.js → chunk-UHW7PFBP-Cmc0_F5o.js} +1 -1
- package/editor-web/assets/{chunk-VQ5W62QI-CKZgzWB2.js → chunk-VQ5W62QI-nJSMqAr0.js} +1 -1
- package/editor-web/assets/{chunk-WQQL4CDK-Ff4DgCht.js → chunk-WQQL4CDK-Btq2nbF6.js} +1 -1
- package/editor-web/assets/{chunk-YZO67HFG-Csbx1-pi.js → chunk-YZO67HFG-DTbcCoGt.js} +1 -1
- package/editor-web/assets/{chunk-ZAUX2LTX-BO1kcV3w.js → chunk-ZAUX2LTX-DVwkg-2N.js} +1 -1
- package/editor-web/assets/{chunk-ZCHMQSOR-CxeNZYZG.js → chunk-ZCHMQSOR-BV39jOOE.js} +1 -1
- package/editor-web/assets/{classDiagram-v2-4MYWR3UA-D8eHQa5i.js → classDiagram-v2-4MYWR3UA-Cj74-fhM.js} +1 -1
- package/editor-web/assets/code-Ch6AB5bZ.js +1 -0
- package/editor-web/assets/collaborator-XiHOxwGM.js +1 -0
- package/editor-web/assets/{copy-CuJSs0nI.js → copy-SoaMYqsN.js} +1 -1
- package/editor-web/assets/{createLucideIcon-lm_6n8YT.js → createLucideIcon-euu7Wcd9.js} +1 -1
- package/editor-web/assets/{cynefin-EF2NZ3EQ-lIUY3WQQ.js → cynefin-EF2NZ3EQ-C0CkiipV.js} +1 -1
- package/editor-web/assets/{cynefinDiagram-WF24UDRP-CFOOhEEs.js → cynefinDiagram-WF24UDRP-hdsnJ4cI.js} +1 -1
- package/editor-web/assets/{dagre-NK4GIZVX-DdHVup2I.js → dagre-NK4GIZVX-CC7WSgaK.js} +1 -1
- package/editor-web/assets/deck-DQpNIS2p.js +1 -0
- package/editor-web/assets/{diagram-CBK3MWTC-CFAD9Y2B.js → diagram-CBK3MWTC-DmaVm13J.js} +1 -1
- package/editor-web/assets/{diagram-I5XIIV2D-DZJAn95A.js → diagram-I5XIIV2D-De8jqp7b.js} +1 -1
- package/editor-web/assets/{diagram-ODIL2UCW-BcIeYTaY.js → diagram-ODIL2UCW-B5pBTulX.js} +1 -1
- package/editor-web/assets/{diagram-PFBEJUXE-CnZmh_fl.js → diagram-PFBEJUXE-BYsXg5_w.js} +1 -1
- package/editor-web/assets/{diagram-RJA3I4VV-DpDd9rGx.js → diagram-RJA3I4VV-DZ8f6bYe.js} +1 -1
- package/editor-web/assets/{diagram-TYUNFSNR-ouGiUQcR.js → diagram-TYUNFSNR-qXHUsauD.js} +1 -1
- package/editor-web/assets/dist--z0ZHp4T.js +16 -0
- package/editor-web/assets/dist-9kuRjUTN.js +41 -0
- package/editor-web/assets/dist-B3rd02Cg.js +6 -0
- package/editor-web/assets/dist-B5GOGGEe.js +1 -0
- package/editor-web/assets/dist-Bx6q9kCu.js +1 -0
- package/editor-web/assets/dist-C4hHtrJr.js +1 -0
- package/editor-web/assets/dist-CCXJewsi.js +19 -0
- package/editor-web/assets/dist-CfK2BLl8.js +4 -0
- package/editor-web/assets/dist-Cmux3oJ_.js +1 -0
- package/editor-web/assets/dist-Cspf85KV.js +6 -0
- package/editor-web/assets/dist-DA72-4WB.js +82 -0
- package/editor-web/assets/{dist-DruvDNQe.js → dist-DAhe-kFC.js} +5 -5
- package/editor-web/assets/dist-DIJnhQFK.js +9 -0
- package/editor-web/assets/dist-DOrGo1GD.js +19 -0
- package/editor-web/assets/{dist-Bd8IxQPP.js → dist-DQ6RpEJD.js} +2 -2
- package/editor-web/assets/dist-DjiCHlSu.js +35 -0
- package/editor-web/assets/dist-Do4a40Wn.js +19 -0
- package/editor-web/assets/dist-FKEWS3Co.js +547 -0
- package/editor-web/assets/dist-QKd2i6kG.js +5 -0
- package/editor-web/assets/dist-SGnOfLhx.js +24 -0
- package/editor-web/assets/dist-VmVB7tl4.js +3 -0
- package/editor-web/assets/{docx-draw-C4aiB8HI.js → docx-draw-L54blreB.js} +1 -1
- package/editor-web/assets/{ebnfDiagram-V4P3TTPT-HRjVlbUf.js → ebnfDiagram-V4P3TTPT-B7-IfVI-.js} +1 -1
- package/editor-web/assets/{elk-QONTBCTQ-BFmtKyOf.js → elk-QONTBCTQ-Gj_WaeBn.js} +1 -1
- package/editor-web/assets/{erDiagram-KYQIGQAA-C9gcGEgK.js → erDiagram-KYQIGQAA-BDF6Qoqx.js} +1 -1
- package/editor-web/assets/esm-PQD5Pn8a.js +21 -0
- package/editor-web/assets/{eventmodeling-K75KTNOO-Bpma5Bdb.js → eventmodeling-K75KTNOO-elxVXXEe.js} +1 -1
- package/editor-web/assets/{file-question-mark-DlIjUK37.js → file-question-mark-PeZgyqkK.js} +1 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-B-25n8zE.js +1 -0
- package/editor-web/assets/{ganttDiagram-R7GPNTJY-CE5ut4C3.js → ganttDiagram-R7GPNTJY-CEogW3jW.js} +1 -1
- package/editor-web/assets/{gitGraph-VSP46ZUC-Dva3iGx2.js → gitGraph-VSP46ZUC-Bh9cRWFa.js} +1 -1
- package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-CJXFsAWp.js → gitGraphDiagram-PDYL7XHY-BQAvdM_V.js} +1 -1
- package/editor-web/assets/{group-BdrTp7gi.js → group-DwM2yqU8.js} +1 -1
- package/editor-web/assets/hint-CbwoSBMw.js +1 -0
- package/editor-web/assets/index-CXisi0Cj.css +2 -0
- package/editor-web/assets/index-wMlfx8aT.js +28 -0
- package/editor-web/assets/{info-OHQRW6UA-BY0AOfex.js → info-OHQRW6UA-CdPrqere.js} +1 -1
- package/editor-web/assets/{infoDiagram-MVDRKAX5-4Up1gMvC.js → infoDiagram-MVDRKAX5-uwIMeP44.js} +1 -1
- package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-BkvB9Qbn.js → ishikawaDiagram-HPEHV2GE-rtfvqK7E.js} +1 -1
- package/editor-web/assets/iso-UwGLGD3F.js +1 -0
- package/editor-web/assets/{italic-zw4_eUNF.js → italic-BV7iHxoP.js} +1 -1
- package/editor-web/assets/{journeyDiagram-BOSHW7O7-BxV09WdR.js → journeyDiagram-BOSHW7O7-mmhfIyVG.js} +1 -1
- package/editor-web/assets/{kanban-definition-FNSA4HC5-zTJtIDPG.js → kanban-definition-FNSA4HC5-Fe7jBsi-.js} +1 -1
- package/editor-web/assets/{link-DopSU3aa.js → link-CFOv3nz-.js} +1 -1
- package/editor-web/assets/{mermaid-parser.core-BWT9UQh_.js → mermaid-parser.core-BxOSjBH9.js} +3 -3
- package/editor-web/assets/{mermaid.core-DFf_Vg5X.js → mermaid.core-BOln9YdH.js} +4 -4
- package/editor-web/assets/{mindmap-definition-6OY57UG3-BYexiugS.js → mindmap-definition-6OY57UG3-M3Q1LOtO.js} +1 -1
- package/editor-web/assets/minus-ngE8owxs.js +1 -0
- package/editor-web/assets/{packet-JDAUHWVQ-DX_kSrI6.js → packet-JDAUHWVQ-Dbb0TUG6.js} +1 -1
- package/editor-web/assets/{pegDiagram-ECIUJNBX-I3SrcMLp.js → pegDiagram-ECIUJNBX-BZMRpSFC.js} +1 -1
- package/editor-web/assets/{pie-XZMESJXO-BmAFSw3E.js → pie-XZMESJXO-Ctm9XdKp.js} +1 -1
- package/editor-web/assets/{pieDiagram-GNMPY74T-DIZKcme5.js → pieDiagram-GNMPY74T-cGbs5ZTl.js} +1 -1
- package/editor-web/assets/progress-DZQTiRLv.js +6 -0
- package/editor-web/assets/{quadrantDiagram-D57K4MC3-CO3oSqpQ.js → quadrantDiagram-D57K4MC3-BUe_zsxT.js} +1 -1
- package/editor-web/assets/{radar-ABXABTNO-D5CkFrrb.js → radar-ABXABTNO-CCmKtqLs.js} +1 -1
- package/editor-web/assets/{railroad-I3PHUGI6-BeKY1p0K.js → railroad-I3PHUGI6-k-yhjhjA.js} +1 -1
- package/editor-web/assets/{railroad-abnf-LNEFI6M7-CIYV9_3-.js → railroad-abnf-LNEFI6M7-B-PvntB3.js} +1 -1
- package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-DN0zDl6d.js → railroad-ebnf-DWYD2UWJ-Ds2rua1h.js} +1 -1
- package/editor-web/assets/{railroad-peg-JR7BVNR7-Bd_GcO24.js → railroad-peg-JR7BVNR7-jNZ2wEp2.js} +1 -1
- package/editor-web/assets/{railroadDiagram-Y72NRBL7-DlFoiMhb.js → railroadDiagram-Y72NRBL7-CTqSQ15w.js} +1 -1
- package/editor-web/assets/react-Byupo4pA.js +1 -0
- package/editor-web/assets/replace-CLLMtF4e.js +1 -0
- package/editor-web/assets/{requirementDiagram-EQYSW5RA-LWAEz8Gy.js → requirementDiagram-EQYSW5RA-CUblhR5M.js} +1 -1
- package/editor-web/assets/ribbon-DajdQ_Ya.js +1 -0
- package/editor-web/assets/row-Bei9HNEe.js +1 -0
- package/editor-web/assets/{sankeyDiagram-SY24JHO5-B_pZGwUK.js → sankeyDiagram-SY24JHO5-nSz6zDX3.js} +1 -1
- package/editor-web/assets/schemas-C21MyseF.js +1 -0
- package/editor-web/assets/{iso-ahTwmFwH.js → schemas-DlRAoVtq.js} +1 -1
- package/editor-web/assets/{scissors-B_xOiUhd.js → scissors-m6QcoEf2.js} +1 -1
- package/editor-web/assets/search-D75Bi2GU.js +1 -0
- package/editor-web/assets/{sequenceDiagram-BLEHNHQU-bNhyCq0C.js → sequenceDiagram-BLEHNHQU-DxTpOYuo.js} +1 -1
- package/editor-web/assets/{session-Beijw9EK.js → session-BhClkDyr.js} +1 -1
- package/editor-web/assets/{sigma-DSUsJhMn.js → sigma-B4AWtnVA.js} +1 -1
- package/editor-web/assets/snapshots-DwGHDN3t.js +1 -0
- package/editor-web/assets/sound-DkR3qxSt.js +1 -0
- package/editor-web/assets/split-DBAbwPZ5.js +3 -0
- package/editor-web/assets/{square-arrow-out-up-right-DF5dvsSp.js → square-arrow-out-up-right-1NqFsNDe.js} +1 -1
- package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-DI-oM3qz.js → stateDiagram-v2-A6IESKWZ-C3e14iHY.js} +1 -1
- package/editor-web/assets/{sticky-note-BdkIu5_D.js → sticky-note-s4QfzaBB.js} +1 -1
- package/editor-web/assets/surface-CIF0Ae0z.js +1 -0
- package/editor-web/assets/swatch-BUzr_XmH.js +1 -0
- package/editor-web/assets/{swimlanes-B3ENRKFQ-awDmoLdW.js → swimlanes-B3ENRKFQ-DPPdzNzu.js} +1 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-B8n3zOw_.js +8 -0
- package/editor-web/assets/switch-DrZxoPQS.js +1 -0
- package/editor-web/assets/{syntax-CU_WPKxt.js → syntax-emXV4DnN.js} +1 -1
- package/editor-web/assets/table-BW43XXVd.js +1 -0
- package/editor-web/assets/tabs-BwU2E7bU.js +1 -0
- package/editor-web/assets/text-wrap-Baus6l-V.js +1 -0
- package/editor-web/assets/textarea-BX_ax3X8.js +1 -0
- package/editor-web/assets/{timeline-definition-JXYKGLGB-CayduPvL.js → timeline-definition-JXYKGLGB-DRTJ1_Er.js} +1 -1
- package/editor-web/assets/tolerant-DM9s0Mt1.js +1 -0
- package/editor-web/assets/{treeView-D4JQ5SDB-BVEuNzCO.js → treeView-D4JQ5SDB-BYJ_m-i5.js} +1 -1
- package/editor-web/assets/{treemap-SAJKECNS-BOB14HP3.js → treemap-SAJKECNS-BcU6I6Rg.js} +1 -1
- package/editor-web/assets/type-CvZ0HZsV.js +41 -0
- package/editor-web/assets/{undo-2-C47jrRp5.js → undo-2-DCbMWoug.js} +1 -1
- package/editor-web/assets/{usecaseDiagram-WPOLBNNX-DxT99uaq.js → usecaseDiagram-WPOLBNNX-YV92pS4o.js} +1 -1
- package/editor-web/assets/{vennDiagram-Q3Y3IDCW-CWUKom-r.js → vennDiagram-Q3Y3IDCW-oAvfHZtf.js} +1 -1
- package/editor-web/assets/video-SJvDRCJK.js +1 -0
- package/editor-web/assets/{wardley-7MLQ67FV-BAQyTneD.js → wardley-7MLQ67FV-BLNiqxtt.js} +1 -1
- package/editor-web/assets/{wardleyDiagram-IVAIDKWA-CiIYz4lZ.js → wardleyDiagram-IVAIDKWA-SppgC6xW.js} +1 -1
- package/editor-web/assets/{whole-word-D3ZAtnkw.js → whole-word-C9TkGBCY.js} +1 -1
- package/editor-web/assets/{words-0Ww2RyT4.js → words-BUlNNuH2.js} +3 -3
- package/editor-web/assets/words-zMedmPWc.js +3 -0
- package/editor-web/assets/workbook-BZKYx4WB.js +41 -0
- package/editor-web/assets/{xychartDiagram-4URNHDU4-D_D5IGmd.js → xychartDiagram-4URNHDU4-BHMn_jwJ.js} +1 -1
- package/editor-web/assets/{zoom-in-PgsC94hP.js → zoom-in-yAGKspfC.js} +1 -1
- package/editor-web/index.html +9 -8
- package/package.json +3 -3
- package/CHANGELOG.md +0 -243
- package/dist/commands/render.js +0 -3
- package/dist/node_modules/@allyhub/browser/dist/browser.d.ts +0 -24
- package/dist/node_modules/@allyhub/browser/dist/capture.d.ts +0 -61
- package/dist/node_modules/@allyhub/browser/dist/cdp.d.ts +0 -51
- package/dist/node_modules/@allyhub/browser/dist/emoji.d.ts +0 -29
- package/dist/node_modules/@allyhub/browser/dist/flags.d.ts +0 -13
- package/dist/node_modules/@allyhub/browser/dist/frames.d.ts +0 -35
- package/dist/node_modules/@allyhub/browser/dist/html.d.ts +0 -19
- package/dist/node_modules/@allyhub/browser/dist/index.d.ts +0 -10
- package/dist/node_modules/@allyhub/browser/dist/launch.d.ts +0 -35
- package/dist/node_modules/@allyhub/browser/dist/page.d.ts +0 -74
- package/dist/node_modules/@allyhub/browser/dist/picture.d.ts +0 -18
- package/dist/node_modules/@allyhub/browser/dist/server.d.ts +0 -26
- package/dist/node_modules/@allyhub/build/dist/build-plugins.d.ts +0 -91
- package/dist/node_modules/@allyhub/build/dist/cli-command.d.ts +0 -84
- package/dist/node_modules/@allyhub/build/dist/code.d.ts +0 -26
- package/dist/node_modules/@allyhub/build/dist/content.d.ts +0 -64
- package/dist/node_modules/@allyhub/build/dist/data.d.ts +0 -11
- package/dist/node_modules/@allyhub/build/dist/evaluate.d.ts +0 -44
- package/dist/node_modules/@allyhub/build/dist/file-check.d.ts +0 -35
- package/dist/node_modules/@allyhub/build/dist/files.d.ts +0 -4
- package/dist/node_modules/@allyhub/build/dist/fonts.d.ts +0 -26
- package/dist/node_modules/@allyhub/build/dist/generated.d.ts +0 -29
- package/dist/node_modules/@allyhub/build/dist/imports.d.ts +0 -17
- package/dist/node_modules/@allyhub/build/dist/index.d.ts +0 -37
- package/dist/node_modules/@allyhub/build/dist/inspect-view.d.ts +0 -119
- package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +0 -530
- package/dist/node_modules/@allyhub/build/dist/made-notes.d.ts +0 -9
- package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +0 -19
- package/dist/node_modules/@allyhub/build/dist/media.d.ts +0 -10
- package/dist/node_modules/@allyhub/build/dist/messages.d.ts +0 -60
- package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +0 -59
- package/dist/node_modules/@allyhub/build/dist/meta.d.ts +0 -24
- package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +0 -6
- package/dist/node_modules/@allyhub/build/dist/move-refs.d.ts +0 -16
- package/dist/node_modules/@allyhub/build/dist/places.d.ts +0 -23
- package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +0 -50
- package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +0 -138
- package/dist/node_modules/@allyhub/build/dist/project-root.d.ts +0 -19
- package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +0 -136
- package/dist/node_modules/@allyhub/build/dist/references.d.ts +0 -6
- package/dist/node_modules/@allyhub/build/dist/scan.d.ts +0 -45
- package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +0 -80
- package/dist/node_modules/@allyhub/build/dist/takes.d.ts +0 -9
- package/dist/node_modules/@allyhub/build/dist/types.d.ts +0 -11
- package/dist/node_modules/@allyhub/build/dist/uses.d.ts +0 -44
- package/dist/node_modules/@allyhub/build/dist/version.d.ts +0 -56
- package/dist/node_modules/@allyhub/build/dist/vite.d.ts +0 -115
- package/dist/node_modules/@allyhub/build/dist/work.d.ts +0 -38
- package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +0 -48
- package/dist/node_modules/@allyhub/cloud/dist/call.d.ts +0 -91
- package/dist/node_modules/@allyhub/cloud/dist/catalog.d.ts +0 -12
- package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +0 -64
- package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +0 -40
- package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +0 -76
- package/dist/node_modules/@allyhub/cloud/dist/device.d.ts +0 -14
- package/dist/node_modules/@allyhub/cloud/dist/errors.d.ts +0 -24
- package/dist/node_modules/@allyhub/cloud/dist/hashes.d.ts +0 -43
- package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +0 -19
- package/dist/node_modules/@allyhub/cloud/dist/keychain.d.ts +0 -18
- package/dist/node_modules/@allyhub/cloud/dist/loopback.d.ts +0 -22
- package/dist/node_modules/@allyhub/cloud/dist/mail.d.ts +0 -16
- package/dist/node_modules/@allyhub/cloud/dist/pkce.d.ts +0 -11
- package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +0 -42
- package/dist/node_modules/@allyhub/cloud/dist/signin-worker.d.ts +0 -2
- package/dist/node_modules/@allyhub/cloud/dist/signin.d.ts +0 -48
- package/dist/node_modules/@allyhub/cloud/dist/sites.d.ts +0 -20
- package/dist/node_modules/@allyhub/cloud/dist/token.d.ts +0 -20
- package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +0 -58
- package/dist/node_modules/@allyhub/cloud/dist/voice.d.ts +0 -22
- package/dist/node_modules/@allyhub/jobs/dist/index.d.ts +0 -3
- package/dist/node_modules/@allyhub/jobs/dist/jobs.d.ts +0 -139
- package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +0 -41
- package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +0 -195
- package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +0 -8
- package/dist/node_modules/@allyhub/measure/dist/image.d.ts +0 -16
- package/dist/node_modules/@allyhub/measure/dist/index.d.ts +0 -4
- package/dist/node_modules/@allyhub/media/dist/analysis.d.ts +0 -25
- package/dist/node_modules/@allyhub/media/dist/audio.d.ts +0 -16
- package/dist/node_modules/@allyhub/media/dist/beats.d.ts +0 -100
- package/dist/node_modules/@allyhub/media/dist/cache.d.ts +0 -26
- package/dist/node_modules/@allyhub/media/dist/errors.d.ts +0 -34
- package/dist/node_modules/@allyhub/media/dist/fetch.d.ts +0 -11
- package/dist/node_modules/@allyhub/media/dist/grid.d.ts +0 -101
- package/dist/node_modules/@allyhub/media/dist/index.d.ts +0 -21
- package/dist/node_modules/@allyhub/media/dist/picture.d.ts +0 -130
- package/dist/node_modules/@allyhub/media/dist/probe.d.ts +0 -52
- package/dist/node_modules/@allyhub/media/dist/progress.d.ts +0 -16
- package/dist/node_modules/@allyhub/media/dist/run.d.ts +0 -25
- package/dist/node_modules/@allyhub/media/dist/sheet.d.ts +0 -67
- package/dist/node_modules/@allyhub/media/dist/shots.d.ts +0 -110
- package/dist/node_modules/@allyhub/media/dist/sync.d.ts +0 -156
- package/dist/node_modules/@allyhub/media/dist/tools.d.ts +0 -25
- package/dist/node_modules/@allyhub/media/dist/video.d.ts +0 -35
- package/dist/node_modules/@allyhub/media/dist/vision/cache.d.ts +0 -42
- package/dist/node_modules/@allyhub/media/dist/vision/probe.d.ts +0 -39
- package/dist/node_modules/@allyhub/media/dist/vision/types.d.ts +0 -2
- package/dist/node_modules/@allyhub/media/dist/voice-shape.d.ts +0 -51
- package/dist/node_modules/@allyhub/model/dist/authoring.d.ts +0 -48
- package/dist/node_modules/@allyhub/model/dist/bevel-attributes.d.ts +0 -19
- package/dist/node_modules/@allyhub/model/dist/bevel-collapse.d.ts +0 -12
- package/dist/node_modules/@allyhub/model/dist/bevel-corner-plan.d.ts +0 -24
- package/dist/node_modules/@allyhub/model/dist/bevel-deform.d.ts +0 -5
- package/dist/node_modules/@allyhub/model/dist/bevel-fans.d.ts +0 -12
- package/dist/node_modules/@allyhub/model/dist/bevel-junction.d.ts +0 -16
- package/dist/node_modules/@allyhub/model/dist/bevel-marks.d.ts +0 -14
- package/dist/node_modules/@allyhub/model/dist/bevel-metric.d.ts +0 -4
- package/dist/node_modules/@allyhub/model/dist/bevel-mixed.d.ts +0 -12
- package/dist/node_modules/@allyhub/model/dist/bevel-offsets.d.ts +0 -22
- package/dist/node_modules/@allyhub/model/dist/bevel-patch.d.ts +0 -45
- package/dist/node_modules/@allyhub/model/dist/bevel-profile.d.ts +0 -13
- package/dist/node_modules/@allyhub/model/dist/bevel-projection.d.ts +0 -10
- package/dist/node_modules/@allyhub/model/dist/bevel-reflex.d.ts +0 -10
- package/dist/node_modules/@allyhub/model/dist/bevel-square-out.d.ts +0 -18
- package/dist/node_modules/@allyhub/model/dist/bevel-strips.d.ts +0 -8
- package/dist/node_modules/@allyhub/model/dist/bmesh-cycles.d.ts +0 -52
- package/dist/node_modules/@allyhub/model/dist/build-cache.d.ts +0 -42
- package/dist/node_modules/@allyhub/model/dist/build-job.d.ts +0 -34
- package/dist/node_modules/@allyhub/model/dist/build-worker.d.ts +0 -2
- package/dist/node_modules/@allyhub/model/dist/build.d.ts +0 -67
- package/dist/node_modules/@allyhub/model/dist/cancel.d.ts +0 -8
- package/dist/node_modules/@allyhub/model/dist/curve-math.d.ts +0 -21
- package/dist/node_modules/@allyhub/model/dist/curve-mesh.d.ts +0 -30
- package/dist/node_modules/@allyhub/model/dist/evaluation-guard.d.ts +0 -11
- package/dist/node_modules/@allyhub/model/dist/export.d.ts +0 -12
- package/dist/node_modules/@allyhub/model/dist/mesh-queries.d.ts +0 -34
- package/dist/node_modules/@allyhub/model/dist/names.d.ts +0 -9
- package/dist/node_modules/@allyhub/model/dist/png.d.ts +0 -12
- package/dist/node_modules/@allyhub/model/dist/polygon-triangulation.d.ts +0 -4
- package/dist/node_modules/@allyhub/model/dist/program-location.d.ts +0 -7
- package/dist/node_modules/@allyhub/model/dist/report.d.ts +0 -70
- package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +0 -21
- package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +0 -4
- package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +0 -17
- package/dist/node_modules/@allyhub/piece/dist/page/runtimes.d.ts +0 -9
- package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +0 -661
- package/dist/node_modules/@allyhub/protocol/dist/account.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +0 -30
- package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +0 -200
- package/dist/node_modules/@allyhub/protocol/dist/blobs.d.ts +0 -44
- package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +0 -68
- package/dist/node_modules/@allyhub/protocol/dist/cloud-computer.d.ts +0 -77
- package/dist/node_modules/@allyhub/protocol/dist/cloud-computer.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +0 -577
- package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +0 -674
- package/dist/node_modules/@allyhub/protocol/dist/errors.d.ts +0 -7
- package/dist/node_modules/@allyhub/protocol/dist/events.d.ts +0 -803
- package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +0 -103
- package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +0 -247
- package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +0 -8
- package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +0 -38
- package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +0 -91
- package/dist/node_modules/@allyhub/protocol/dist/jsonrpc.d.ts +0 -83
- package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +0 -144
- package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +0 -274
- package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +0 -211
- package/dist/node_modules/@allyhub/protocol/dist/open.d.ts +0 -13
- package/dist/node_modules/@allyhub/protocol/dist/paywall.d.ts +0 -134
- package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +0 -59
- package/dist/node_modules/@allyhub/protocol/dist/peer.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +0 -21
- package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +0 -125
- package/dist/node_modules/@allyhub/protocol/dist/purposes.d.ts +0 -47
- package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +0 -191
- package/dist/node_modules/@allyhub/protocol/dist/routes.d.ts +0 -14
- package/dist/node_modules/@allyhub/protocol/dist/routes.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/runtimes.d.ts +0 -96
- package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +0 -35
- package/dist/node_modules/@allyhub/protocol/dist/shape.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +0 -156
- package/dist/node_modules/@allyhub/protocol/dist/shares.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/sidebar-deletion.d.ts +0 -34
- package/dist/node_modules/@allyhub/protocol/dist/sidebar-deletion.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/sites.d.ts +0 -298
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +0 -503
- package/dist/node_modules/@allyhub/protocol/dist/sources.d.ts +0 -14
- package/dist/node_modules/@allyhub/protocol/dist/studio-server.d.ts +0 -264
- package/dist/node_modules/@allyhub/protocol/dist/studio-server.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/studio-tool-calls.d.ts +0 -18
- package/dist/node_modules/@allyhub/protocol/dist/studio-tool-calls.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/studio-window-requests.d.ts +0 -97
- package/dist/node_modules/@allyhub/protocol/dist/studio-window-requests.js +0 -2
- package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +0 -196
- package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +0 -578
- package/dist/node_modules/@allyhub/protocol/dist/turns.d.ts +0 -71
- package/dist/node_modules/@allyhub/protocol/dist/turns.js +0 -2
- package/dist/node_modules/@allyhub/runtimes/dist/bundled.d.ts +0 -10
- package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +0 -14
- package/dist/node_modules/@allyhub/runtimes/dist/download.d.ts +0 -38
- package/dist/node_modules/@allyhub/runtimes/dist/errors.d.ts +0 -20
- package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +0 -15
- package/dist/node_modules/@allyhub/runtimes/dist/home.d.ts +0 -2
- package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +0 -12
- package/dist/node_modules/@allyhub/runtimes/dist/lock.d.ts +0 -14
- package/dist/node_modules/@allyhub/runtimes/dist/manifest.d.ts +0 -3
- package/dist/node_modules/@allyhub/runtimes/dist/node-program.d.ts +0 -12
- package/dist/node_modules/@allyhub/runtimes/dist/packages.d.ts +0 -101
- package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +0 -73
- package/dist/node_modules/@allyhub/runtimes/dist/unpack.d.ts +0 -14
- package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +0 -20
- package/dist/node_modules/@allyhub/scenery-host/dist/bake/digest.d.ts +0 -14
- package/dist/node_modules/@allyhub/scenery-host/dist/bake/envmap.d.ts +0 -21
- package/dist/node_modules/@allyhub/scenery-host/dist/bake/run.d.ts +0 -63
- package/dist/node_modules/@allyhub/scenery-host/dist/budget.d.ts +0 -40
- package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +0 -92
- package/dist/node_modules/@allyhub/scenery-host/dist/commands.d.ts +0 -54
- package/dist/node_modules/@allyhub/scenery-host/dist/draw2d.d.ts +0 -47
- package/dist/node_modules/@allyhub/scenery-host/dist/glass.d.ts +0 -39
- package/dist/node_modules/@allyhub/scenery-host/dist/index.d.ts +0 -25
- package/dist/node_modules/@allyhub/scenery-host/dist/inventory.d.ts +0 -18
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/fidelity.d.ts +0 -70
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.d.ts +0 -7
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/moire.d.ts +0 -6
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/contacts.d.ts +0 -45
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/health.d.ts +0 -10
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/index.d.ts +0 -110
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/relations.d.ts +0 -17
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/solid.d.ts +0 -32
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/support.d.ts +0 -11
- package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.d.ts +0 -32
- package/dist/node_modules/@allyhub/scenery-host/dist/queries/inventory.d.ts +0 -5
- package/dist/node_modules/@allyhub/scenery-host/dist/queries/map.d.ts +0 -5
- package/dist/node_modules/@allyhub/scenery-host/dist/queries/view.d.ts +0 -10
- package/dist/node_modules/@allyhub/scenery-host/dist/scene.d.ts +0 -35
- package/dist/node_modules/@allyhub/scenery-host/dist/screen-dom.d.ts +0 -24
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.d.ts +0 -42
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.d.ts +0 -6
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.d.ts +0 -70
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/solve.d.ts +0 -49
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.d.ts +0 -73
- package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.d.ts +0 -18
- package/dist/node_modules/@allyhub/scenery-host/dist/steady.d.ts +0 -4
- package/dist/node_modules/@allyhub/scenery-host/dist/viewer.d.ts +0 -134
- package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +0 -4
- package/dist/node_modules/@allyhub/video-measure/dist/still.js +0 -2
- package/editor-web/assets/arrow-down-B8VUPCGi.js +0 -1
- package/editor-web/assets/arrow-up-Ds4juY8X.js +0 -1
- package/editor-web/assets/article-CS48wwvk.js +0 -3
- package/editor-web/assets/article-Cyle57uq.js +0 -7
- package/editor-web/assets/bar-button-J9vbfzTx.js +0 -1
- package/editor-web/assets/calc-worker-BdHh5LXM.js +0 -45
- package/editor-web/assets/channel-HUlo15J7.js +0 -1
- package/editor-web/assets/chart-amT4lgX3.js +0 -2
- package/editor-web/assets/chart-file-CfbWK9l1.js +0 -1
- package/editor-web/assets/code-CD-CbJG9.js +0 -1
- package/editor-web/assets/collaborator-BU4qU7O3.js +0 -1
- package/editor-web/assets/deck-CtEtDHo2.js +0 -1
- package/editor-web/assets/dist-BBshIz1Q.js +0 -5
- package/editor-web/assets/dist-BI8QjOsV.js +0 -1
- package/editor-web/assets/dist-BajH5QfK.js +0 -24
- package/editor-web/assets/dist-Bl74xqMW.js +0 -19
- package/editor-web/assets/dist-BrUtQth3.js +0 -18
- package/editor-web/assets/dist-CN5A7Au2.js +0 -1
- package/editor-web/assets/dist-CcL6r6l3.js +0 -1
- package/editor-web/assets/dist-D2E3cgRP.js +0 -4
- package/editor-web/assets/dist-D3C6FyrO.js +0 -82
- package/editor-web/assets/dist-DGKjn59H.js +0 -16
- package/editor-web/assets/dist-NQNQ5HqZ.js +0 -17
- package/editor-web/assets/dist-SV0sOVIC.js +0 -43
- package/editor-web/assets/dist-YW8hS4IM.js +0 -9
- package/editor-web/assets/dist-Y_XZZa8q.js +0 -531
- package/editor-web/assets/dist-ZrBAbqyJ.js +0 -3
- package/editor-web/assets/dist-d4dayaWE.js +0 -17
- package/editor-web/assets/dist-elglzHMT.js +0 -6
- package/editor-web/assets/dist-hHcrvNn9.js +0 -1
- package/editor-web/assets/esm-DzxAod8Q.js +0 -21
- package/editor-web/assets/file-exclamation-point-_L3ElCJ5.js +0 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-tz5ewhC5.js +0 -1
- package/editor-web/assets/hint-rlht0uxG.js +0 -1
- package/editor-web/assets/index-Dvh1t1om.css +0 -2
- package/editor-web/assets/index-q7X6hdHp.js +0 -28
- package/editor-web/assets/minus-CbPnUIOy.js +0 -1
- package/editor-web/assets/progress-CwKcXARv.js +0 -6
- package/editor-web/assets/props-form-DUFxM5eb.js +0 -1
- package/editor-web/assets/react-Edyoga_4.js +0 -1
- package/editor-web/assets/row-C_svyL8o.js +0 -1
- package/editor-web/assets/schemas-moE_A7Nj.js +0 -1
- package/editor-web/assets/search-Ba2BbT6T.js +0 -1
- package/editor-web/assets/slides-oQ_C0SVJ.js +0 -1
- package/editor-web/assets/snapshots-Dd0Wd_qM.js +0 -1
- package/editor-web/assets/sound-bTlco_K3.js +0 -1
- package/editor-web/assets/split-zARio3J8.js +0 -3
- package/editor-web/assets/strikethrough-BwXWi4zg.js +0 -1
- package/editor-web/assets/surface-DtCjIlrq.js +0 -1
- package/editor-web/assets/svg-CWIBMIQ9.js +0 -1
- package/editor-web/assets/swatch-DhztHwPU.js +0 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-X35m3xN6.js +0 -8
- package/editor-web/assets/switch-8MU4Nfxe.js +0 -1
- package/editor-web/assets/table-DRbddzx0.js +0 -1
- package/editor-web/assets/tabs-BHBvbekZ.js +0 -1
- package/editor-web/assets/tag-CIfWT8B_.js +0 -1
- package/editor-web/assets/text-align-start-Cic2-TLh.js +0 -1
- package/editor-web/assets/textarea-D7TnPwv1.js +0 -1
- package/editor-web/assets/video-oJ3qa1Qv.js +0 -1
- package/editor-web/assets/words-XlXG79Ur.js +0 -3
- package/editor-web/assets/workbook-DznVDqoE.js +0 -45
- package/editor-web/assets/x-DlhyIKuu.js +0 -41
- /package/dist/node_modules/@allyhub/{protocol/dist/runtimes.js → runtimes/dist/schema.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{z as r}from"zod";import{ConfigSchema as
|
|
2
|
+
import{z as r}from"zod";import{ConfigSchema as n}from"./data/config.js";import{DeckCodeSchema as m}from"./data/deck-code.js";import{EditsFileSchema as c}from"./data/edits.js";import{ElementsFileSchema as h}from"./data/elements.js";import{GenFileSchema as l}from"./data/gen.js";import{MessagesFileSchema as f}from"./data/messages.js";import{InterpretationSchema as d}from"./data/reference.js";import{ScriptFileSchema as p}from"./data/script.js";import{SheetFileSchema as u}from"./data/sheet.js";import{SlidesFileSchema as b}from"./data/slides.js";import{WebsiteFileSchema as g}from"./data/website.js";import{WORK_FILE as S,WorkFileSchema as w}from"./data/work.js";import{WordsFileSchema as F}from"./data/words.js";import{OPENPYXL_FIELDS as k,PPTX_FIELDS as j,readTolerantly as A}from"./tolerant.js";export const DATA_FILES={work:{schema:w,files:[S],about:"The work a person sees of the project: each piece's kind, file and title, in groups."},words:{schema:F,files:["**/*.words.json"],about:"The words said in an audio or video file, with their times."},edits:{schema:c,files:["**/edits/*.json"],about:"A recording's cut list."},elements:{schema:h,files:["**/*.elements.json"],about:"A page screenshot's named elements, each its box in the picture's pixels."},gen:{schema:l,files:["**/*.provenance"],about:"How a media file was made, and where it came from."},script:{schema:p,files:[],about:"An item's words in one language."},messages:{schema:f,files:["assets/text/*.json"],about:"Words several items share, in one language."},sheet:{schema:u,files:[],about:"A workbook: its sheets, cells, formulas, formats, names, checks and scenarios."},slides:{schema:b,files:[],about:"A deck's pages: their order, layouts, values and what was placed on them."},website:{schema:g,files:[],about:"A website: how it is served while it is made, how it is built, and where the built site is."},interpretation:{schema:d,files:["**/reference/*/interpretation.json"],about:"What the agent concludes of a reference video: its sections, captions, watermarks and labels."},"deck-code":{schema:m,files:[],about:"What a deck's module and its generators made, as data: what its code host sends the editor."},config:{schema:n,files:[],about:"allyhub.config.ts's settings."}};export function jsonSchemaOf(e){const{schema:s,about:t}=DATA_FILES[e];return{$schema:"https://json-schema.org/draft/2020-12/schema",$id:`https://allyhub.com/schemas/${e}.schema.json`,title:e,description:t,...r.toJSONSchema(s,{io:"input",unrepresentable:"any"})}}function o(e){if(e.code!=="invalid_union")return e.message;const s=e.errors.flatMap(t=>t.slice(0,1).map(a=>{const i=a.path.map(String).join(".");return i===""?o(a):`${i}: ${o(a)}`}));return s.length===0?e.message:`Fits none of its forms: ${[...new Set(s)].join("; ")}`}export function readDataFile(e,s){const t=DATA_FILES[e].schema.safeParse(s);return t.success?{ok:!0,value:t.data}:{ok:!1,problems:t.error.issues.map(a=>({path:a.path.map(String).join("."),message:o(a)}))}}export function readDataFileAsWritten(e,s){return A(DATA_FILES[e].schema,s,e==="slides"?j:k)}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { z } from "zod";
|
|
2
|
+
/** The enum's value a spelling is, if it is one. */
|
|
3
|
+
export declare function spelledAs(input: string, values: readonly unknown[]): string | undefined;
|
|
4
|
+
/** The enum's value a spelling stands for: its own spelling, or another name for it (`box` for `box-whisker`, `bridge` for `waterfall`). */
|
|
5
|
+
export declare function valueOf(input: string, values: readonly string[]): string | undefined;
|
|
6
|
+
/** The value a misspelling is nearest, when one is near enough to say. */
|
|
7
|
+
export declare function nearest(input: string, values: readonly unknown[]): string | undefined;
|
|
8
|
+
type Issue = z.core.$ZodIssue;
|
|
9
|
+
/**
|
|
10
|
+
* Fields as openpyxl and Excel name them, and what each is called here:
|
|
11
|
+
* a model writes the names it learned (openpyxl's Alignment, PatternFill,
|
|
12
|
+
* DataValidation and worksheet properties).
|
|
13
|
+
*/
|
|
14
|
+
export declare const OPENPYXL_FIELDS: Readonly<Record<string, string>>;
|
|
15
|
+
/**
|
|
16
|
+
* Fields as PowerPoint, python-pptx and CSS name them, and what a deck's
|
|
17
|
+
* slides file calls each: a model writes the names it learned.
|
|
18
|
+
*/
|
|
19
|
+
export declare const PPTX_FIELDS: Readonly<Record<string, string>>;
|
|
20
|
+
/**
|
|
21
|
+
* Each problem of a value against its schema, at its path, said once. A
|
|
22
|
+
* union whose forms all fail at one place (a colour: one of a list of
|
|
23
|
+
* names, or a pattern) is one mistake: said by its own message, a list's
|
|
24
|
+
* nearest name before it where one is near, not once a form.
|
|
25
|
+
*/
|
|
26
|
+
export declare function problemsOf(value: unknown, issues: readonly Issue[]): {
|
|
27
|
+
path: string;
|
|
28
|
+
message: string;
|
|
29
|
+
}[];
|
|
30
|
+
/** A value read by its schema as a model writes it: taken, or what is wrong with it all at once and what the rest reads as. */
|
|
31
|
+
export declare function readTolerantly<S extends z.ZodType>(schema: S, given: unknown,
|
|
32
|
+
/** Fields by other names, and the name each is here. */
|
|
33
|
+
fields?: Readonly<Record<string, string>>): {
|
|
34
|
+
ok: true;
|
|
35
|
+
value: z.output<S>;
|
|
36
|
+
} | {
|
|
37
|
+
ok: false;
|
|
38
|
+
problems: {
|
|
39
|
+
path: string;
|
|
40
|
+
message: string;
|
|
41
|
+
}[];
|
|
42
|
+
partial?: z.output<S>;
|
|
43
|
+
};
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=tolerant.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
const M=[["ctr","center","centre","middle","mid","centered","centred"],["t","top"],["b","bottom"],["l","left"],["r","right"],["just","justify","justified"],["out","outside","outer"],["in","inside","inner"]],$=new Map(M.flatMap(e=>e.map(o=>[o,e[0]])));function m(e){return e.replace(/([a-z0-9])([A-Z])/gu,"$1 $2").toLowerCase().split(/[\s_\-.]+/u).filter(o=>o!=="").map(o=>$.get(o)??o).join("")}export function spelledAs(e,o){for(const i of[m(e),m(`${e} clustered`)]){const r=o.filter(t=>typeof t=="string"&&m(t)===i);if(r.length===1)return r[0]}}export function valueOf(e,o){const i=v[m(e)];return spelledAs(e,o)??(i!==void 0&&o.includes(i)?i:void 0)}function y(e,o){const i=Array.from({length:e.length+1},(t,n)=>Array.from({length:o.length+1},(s,a)=>n===0?a:a===0?n:0)),r=(t,n)=>i[t]?.[n]??0;for(let t=1;t<=e.length;t++)for(let n=1;n<=o.length;n++){const s=e[t-1]===o[n-1]?0:1;let a=Math.min(r(t-1,n)+1,r(t,n-1)+1,r(t-1,n-1)+s);t>1&&n>1&&e[t-1]===o[n-2]&&e[t-2]===o[n-1]&&(a=Math.min(a,r(t-2,n-2)+1));const l=i[t];l&&(l[n]=a)}return r(e.length,o.length)}export function nearest(e,o){const i=e.toLowerCase();let r;for(const t of o){if(typeof t!="string")continue;const n=Math.min(y(i,t.toLowerCase()),y(m(e),m(t)));(r===void 0||n<r.d)&&(r={value:t,d:n})}return r&&r.d<=Math.max(1,Math.floor(i.length/3))?r.value:void 0}function x(e){return e.every(o=>o.path.length===0&&(o.code==="invalid_type"||o.code==="invalid_union"&&o.errors.every(x)))}function b(e,o=[]){const i=[...o,...e.path];if(e.code!=="invalid_union")return[{issue:e,at:i}];const r=e.errors.filter(s=>!x(s)),t=r.length>0?r:e.errors,n=Math.min(...t.map(s=>s.length));return t.filter(s=>s.length===n).flatMap(s=>s.flatMap(a=>b(a,i)))}const P=e=>e===null||e===!1||e==="none";function h(e,o){if(o.length===0)return;let i=e;for(const t of o.slice(0,-1)){if(i===null||typeof i!="object")return;i=i[t]}const r=o[o.length-1];if(!(i===null||typeof i!="object"||r===void 0))return{parent:i,key:r}}export const OPENPYXL_FIELDS={horizontal:"align",vertical:"valign",wrap_text:"wrap",wrapText:"wrap",shrink_to_fit:"shrink",shrinkToFit:"shrink",text_rotation:"rotation",textRotation:"rotation",number_format:"format",numFmt:"format",strikethrough:"strike",fill_type:"pattern",patternType:"pattern",fgColor:"color",start_color:"color",bgColor:"background",end_color:"background",freeze_panes:"freeze",merged_cells:"merges",tabColor:"tab",tab_color:"tab",showGridLines:"gridlines",show_gridlines:"gridlines",allow_blank:"blank",allowBlank:"blank"},PPTX_FIELDS={word_wrap:"wrap",wrap_text:"wrap",auto_size:"autofit",autosize:"autofit",auto_fit:"autofit",inset:"margin",insets:"margin",margins:"margin",padding:"margin",lIns:"margin_left",tIns:"margin_top",rIns:"margin_right",bIns:"margin_bottom",numCol:"columns",num_columns:"columns",column_count:"columns",spcCol:"column_spacing",column_gap:"column_spacing",marL:"margin_left",first_line_indent:"indent",alignment:"align",horizontal:"align",lnSpc:"line_spacing",spcBef:"space_before",spcAft:"space_after",exactly:"points",fixed:"points",vertical_anchor:"anchor",font_size:"size",font_name:"font",tick_label_position:"labels",major_tick_mark:"tick_marks",minor_tick_mark:"minor_tick_marks",log:"log_base",logBase:"log_base",display_units:"units",minor_unit:"minor",has_minor_gridlines:"minor_gridlines",tick_label_skip:"label_every",tickLblSkip:"label_every",subtotals:"totals",set_as_total:"totals",show_connector_lines:"connector_lines",connectors:"connector_lines",quartile_method:"quartiles",quartile_calculation:"quartiles",show_mean_markers:"mean_markers",show_mean_line:"mean_line",show_outlier_points:"outliers",show_outliers:"outliers",show_inner_points:"inner_points",show_nonoutliers:"inner_points",parent_label_layout:"parent_labels",hi_low_lines:"high_low_lines",hilo_lines:"high_low_lines",bubble_sizes:"sizes",bins:"bin_count",number_of_bins:"bin_count",bin_size:"bin_width",overflow_bin:"overflow",underflow_bin:"underflow",kpi:"stat",metric:"stat",kpis:"stats",metrics:"stats",scorecard:"stats",badge:"tag",pill:"tag",chip:"tag",alert:"callout",admonition:"callout",gauge:"progress",progress_bar:"progress",milestones:"timeline",process:"steps",stepper:"steps",avatar:"person",team:"people",alluvial:"sankey",roadmap:"gantt",gantt_chart:"gantt",timeline_gantt:"gantt",align:"text.align",bold:"text.bold",italic:"text.italic",size:"text.size",font:"text.font",anchor:"text.anchor",valign:"text.anchor",margin:"text.margin",autofit:"text.autofit",wrap:"text.wrap"};const O=["text","frame","textbox","geometry","fill","height","width","row"],v={shapetofittext:"grow",resizeshapetofittext:"grow",spautofit:"grow",resize:"grow",texttofitshape:"shrink",shrinktextonoverflow:"shrink",normautofit:"shrink",fit:"shrink",noautofit:"none",donotautofit:"none",bridge:"waterfall",bridgechart:"waterfall",box:"box-whisker",boxplot:"box-whisker",boxandwhisker:"box-whisker",boxandwhiskers:"box-whisker",boxwhiskers:"box-whisker",whisker:"box-whisker",spider:"radar",spiderweb:"radar",web:"radar",candlestick:"stock-ohlc",ohlc:"stock-ohlc",hlc:"stock-hlc",highlow:"stock-hlc",stock:"stock-hlc",range:"dumbbell",rangeplot:"dumbbell",arrow:"dumbbell",barbell:"dumbbell",slopegraph:"slope",bulletgraph:"bullet",tree:"treemap",rings:"sunburst",radialtreemap:"sunburst",conversionfunnel:"funnel",hist:"histogram",distribution:"histogram",paretochart:"pareto",inc:"inclusive",exc:"exclusive"},j=/^#?(?:[0-9a-fA-F]{2})?([0-9a-fA-F]{6})$/u;function L(e,o,i){let r=!1;for(const{issue:t,at:n}of o.flatMap(s=>b(s))){if(t.code==="unrecognized_keys"){const f=h(e,[...n,""]);if(!f||Array.isArray(f.parent))continue;const u=f.parent;for(const p of t.keys){const c=i[p];if(c===void 0)continue;const[g,_]=c.split(".");if(_!==void 0&&g!==void 0){if(!O.some(S=>S in u))continue;const k=u[g]??{};if(typeof k!="object"||Array.isArray(k))continue;const w=k;if(_ in w)continue;w[_]=u[p],u[g]=w}else{if(c in u)continue;u[c]=u[p]}Reflect.deleteProperty(u,p),r=!0}continue}if(t.code==="invalid_format"&&t.format==="regex"){const f=h(e,n);if(!f)continue;const u=f.parent[f.key],p=typeof u=="string"?j.exec(u):null;p?.[1]!==void 0&&String(t.pattern).includes("#")&&(f.parent[f.key]=`#${p[1].toUpperCase()}`,r=!0);continue}if(t.code!=="invalid_value")continue;const s=h(e,n);if(!s)continue;const{parent:a,key:l}=s,d=a[l];if(typeof d=="string"){const f=v[m(d)],u=spelledAs(d,t.values)??(f!==void 0&&t.values.includes(f)?f:void 0);if(u!==void 0){a[l]=u,r=!0;continue}}P(d)&&!Array.isArray(a)&&(Reflect.deleteProperty(a,l),r=!0)}return r}function C(e,o,i){if(e.code==="invalid_value"){const r=h(o,i),t=r&&r.parent[r.key],n=typeof t=="string"?nearest(t,e.values):void 0,s=e.values.length>12?e.values.slice(0,10):e.values,a=`${s.map(l=>JSON.stringify(l)).join(", ")}${s.length<e.values.length?", …":""}`;return`${n===void 0?"":`did you mean "${n}"? `}one of ${a}`}return e.message}function E(e,o,i){if(e.code!=="invalid_value")return;const r=h(o,i),t=r&&r.parent[r.key];return typeof t=="string"?nearest(t,e.values):void 0}export function problemsOf(e,o){const i=new Set,r=[];for(const t of o){const n=b(t),s=new Map;for(const a of n){const l=a.at.map(String).join(".");s.set(l,[...s.get(l)??[],a])}for(const[a,l]of s){const d=l.filter(c=>c.issue.code==="invalid_value"),f=l.filter(c=>c.issue.code!=="invalid_value"),p=t.code==="invalid_union"&&d.length>0&&new Set(f.map(c=>c.issue.message)).size===1?(()=>{const c=d[0],g=c?E(c.issue,e,c.at):void 0,_=f[0]?.issue.message??"";return[`${g===void 0?"":`did you mean "${g}"? `}${_}`]})():l.map(c=>C(c.issue,e,c.at));for(const c of p){const g=c.replace(/\.+$/u,""),_=`${a}\0${g}`;i.has(_)||(i.add(_),r.push({path:a,message:g}))}}}return r}function T(e,o){const i=new Map;let r=!1;for(const{at:t}of o.flatMap(n=>b(n))){const n=h(e,t);if(n){if(Array.isArray(n.parent)){const s=i.get(n.parent)??new Set;s.add(Number(n.key)),i.set(n.parent,s)}else if(n.key in n.parent)Reflect.deleteProperty(n.parent,n.key);else continue;r=!0}}for(const[t,n]of i)for(const s of[...n].sort((a,l)=>l-a))t.splice(s,1);return r}const z=12,A=e=>e===void 0?void 0:JSON.parse(JSON.stringify(e));export function readTolerantly(e,o,i=OPENPYXL_FIELDS){const r=e.safeParse(o);if(r.success)return{ok:!0,value:r.data};const t=A(o);let n=e.safeParse(t);for(let d=0;d<z&&!n.success&&L(t,n.error.issues,i);d++)n=e.safeParse(t);if(n.success)return{ok:!0,value:n.data};const s=problemsOf(t,n.error.issues),a=A(t);let l=e.safeParse(a);for(let d=0;d<z&&!l.success&&T(a,l.error.issues);d++)l=e.safeParse(a);return l.success?{ok:!1,problems:s,partial:l.data}:{ok:!1,problems:s}}
|
|
@@ -1,12 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allyhub/formats",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"default": "./dist/index.js"
|
|
9
9
|
},
|
|
10
|
+
"./layout": {
|
|
11
|
+
"types": "./dist/layout.d.ts",
|
|
12
|
+
"default": "./dist/layout.js"
|
|
13
|
+
},
|
|
14
|
+
"./items": {
|
|
15
|
+
"types": "./dist/items.d.ts",
|
|
16
|
+
"default": "./dist/items.js"
|
|
17
|
+
},
|
|
18
|
+
"./contributed": {
|
|
19
|
+
"types": "./dist/contributed.d.ts",
|
|
20
|
+
"default": "./dist/contributed.js"
|
|
21
|
+
},
|
|
22
|
+
"./note-shape": {
|
|
23
|
+
"types": "./dist/note-shape.d.ts",
|
|
24
|
+
"default": "./dist/note-shape.js"
|
|
25
|
+
},
|
|
26
|
+
"./data/gen": {
|
|
27
|
+
"types": "./dist/data/gen.d.ts",
|
|
28
|
+
"default": "./dist/data/gen.js"
|
|
29
|
+
},
|
|
30
|
+
"./data/words": {
|
|
31
|
+
"types": "./dist/data/words.d.ts",
|
|
32
|
+
"default": "./dist/data/words.js"
|
|
33
|
+
},
|
|
10
34
|
"./schemas/*": "./schemas/*"
|
|
11
35
|
},
|
|
12
36
|
"sideEffects": false,
|
|
@@ -1,21 +1,33 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{randomUUID as
|
|
2
|
+
import{randomUUID as F}from"node:crypto";import{stat as S}from"node:fs/promises";import{join as $}from"node:path";import{defineProjectTool as c}from"@allyhub/build";import{startBrowser as E}from"@allyhub/browser";import{RPC_ERROR as w,RpcError as f}from"@allyhub/protocol";import{openHtml as T,projectPath as b}from"./page.js";import{HTML_TOOLS as m}from"./tools.js";async function p(r,e){let t;try{t=b(e)}catch(n){throw new f(w.invalid,n instanceof Error?n.message:String(n))}if(!(/\.html?$/iu.test(t)&&await S($(r.root,t)).then(n=>n.isFile(),n=>{if(n.code==="ENOENT")return!1;throw n})))throw new f(w.notFound,`There is no HTML file ${e} in the project.`);return t}const x=`(el) => {
|
|
3
3
|
const part = (e) => e.tagName.toLowerCase() + (e.id ? "#" + e.id : "") +
|
|
4
4
|
[...e.classList].slice(0, 3).map((c) => "." + c).join("");
|
|
5
|
+
const path = [];
|
|
6
|
+
for (let e = el; e && path.length < 5; e = e.parentElement) path.unshift(part(e));
|
|
7
|
+
return {
|
|
8
|
+
selector: path.join(" > "),
|
|
9
|
+
tag: el.tagName.toLowerCase(),
|
|
10
|
+
text: (el.innerText ?? el.textContent ?? "").trim().slice(0, 200),
|
|
11
|
+
};
|
|
12
|
+
}`,N=`(points) => {
|
|
13
|
+
const described = ${x};
|
|
5
14
|
const seen = new Set();
|
|
6
15
|
const elements = [];
|
|
7
16
|
for (const p of points) {
|
|
8
17
|
const el = document.elementFromPoint(p.x, p.y);
|
|
9
18
|
if (!el || seen.has(el)) continue;
|
|
10
19
|
seen.add(el);
|
|
11
|
-
|
|
12
|
-
for (let e = el; e && path.length < 5; e = e.parentElement) path.unshift(part(e));
|
|
13
|
-
elements.push({
|
|
14
|
-
selector: path.join(" > "),
|
|
15
|
-
tag: el.tagName.toLowerCase(),
|
|
16
|
-
text: (el.innerText ?? el.textContent ?? "").trim().slice(0, 200),
|
|
17
|
-
});
|
|
20
|
+
elements.push(described(el));
|
|
18
21
|
}
|
|
19
22
|
const inner = elements.filter((e) => e.tag !== "html" && e.tag !== "body");
|
|
20
23
|
return inner.length > 0 ? inner : elements;
|
|
21
|
-
}`,
|
|
24
|
+
}`,L=`(p) => {
|
|
25
|
+
const el = document.elementFromPoint(p.x, p.y);
|
|
26
|
+
if (!el || el === document.documentElement || el === document.body) return null;
|
|
27
|
+
const r = el.getBoundingClientRect();
|
|
28
|
+
if (!(r.width > 0 && r.height > 0)) return null;
|
|
29
|
+
return {
|
|
30
|
+
...(${x})(el),
|
|
31
|
+
box: { x: r.x, y: r.y, width: r.width, height: r.height },
|
|
32
|
+
};
|
|
33
|
+
}`;async function y(r,e){return e===void 0?{x:0,y:0}:r.evaluate(`new Promise((done) => { scrollTo(${String(e.x)}, ${String(e.y)}); requestAnimationFrame(() => requestAnimationFrame(() => done({ x: scrollX, y: scrollY }))); })`)}const P=30*6e4;class R{held=new Map;async hold(e,t,i){const n=await E();try{const a=await T(n,e,t,i),o=F(),s=setTimeout(()=>{this.release(o)},P);return s.unref(),this.held.set(o,{browser:n,opened:a,timer:s}),o}catch(a){throw await n.close(),a}}page(e){const t=this.held.get(e);if(!t)throw new f(w.notFound,`No page is held as ${e}: it was let go.`);return t.opened.page}async release(e){const t=this.held.get(e);if(t){this.held.delete(e),clearTimeout(t.timer);try{await t.opened.close()}finally{await t.browser.close()}}}async dispose(){for(const e of[...this.held.keys()])await this.release(e)}}const h=r=>r.held("html/held",()=>new R);async function g(r,e,t,i){const n=await E();try{const a=await T(n,r.root,e,t);try{return await i(a.page)}finally{await a.close()}}finally{await n.close()}}const j={"html/still":c(m["html/still"],async({file:r,width:e,height:t,scale:i,scroll:n,hold:a},o)=>{const s=async l=>{const u=await y(l,n);return l.capture({format:"png",clip:{...u,width:e,height:t}})};return{image:{mime:"image/png",data:(a!==void 0?await s(h(o).page(a)):await g(o,await p(o,r),{width:e,height:t,scale:i},s)).toString("base64")}}}),"html/at":c(m["html/at"],async({file:r,width:e,height:t,points:i,scroll:n,hold:a},o)=>{const s=async l=>(await y(l,n),l.evaluate(`(${N})(${JSON.stringify(i)})`));return{elements:a!==void 0?await s(h(o).page(a)):await g(o,await p(o,r),{width:e,height:t},s)}}),"html/pick":c(m["html/pick"],async({file:r,width:e,height:t,x:i,y:n,scroll:a,hold:o},s)=>{const d=async u=>(await y(u,a),u.evaluate(`(${L})(${JSON.stringify({x:i,y:n})})`)),l=o!==void 0?await d(h(s).page(o)):await g(s,await p(s,r),{width:e,height:t},d);return l===null?{}:{element:l}}),"html/hold":c(m["html/hold"],async({file:r,width:e,height:t,scale:i},n)=>({hold:await h(n).hold(n.root,await p(n,r),{width:e,height:t,scale:i})})),"html/release":c(m["html/release"],async({hold:r},e)=>(await h(e).release(r),{}))};export default j;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{z as t}from"zod";import{PathSchema as
|
|
2
|
+
import{z as t}from"zod";import{PathSchema as n,method as e,toolCaller as l}from"@allyhub/protocol";const s=t.strictObject({file:n}),a={width:t.number().int().positive().max(4096),height:t.number().int().positive().max(4096)},i={scroll:t.strictObject({x:t.number().min(0),y:t.number().min(0)}).optional()},r=t.strictObject({selector:t.string(),tag:t.string(),text:t.string()});export const HTML_TOOLS={"html/still":e(s.extend({...a,...i,scale:t.number().positive().max(4).default(1),hold:t.string().optional()}),t.strictObject({image:t.strictObject({mime:t.string(),data:t.string()})}),"An HTML file's page drawn at a frame's size, where its frame's page is scrolled, as its frame shows it: what Mark up lays over the frame, which the window cannot read."),"html/hold":e(s.extend({...a,scale:t.number().positive().max(4).default(1)}),t.strictObject({hold:t.string()}),"An HTML file's page opened at a frame's size and kept as it is while a person marks it: html/still and html/at draw and read it as it was, until html/release."),"html/release":e(t.strictObject({hold:t.string()}),t.strictObject({}),"Lets a page held for notes go."),"html/at":e(s.extend({...a,...i,points:t.array(t.strictObject({x:t.number(),y:t.number()})).min(1).max(24),hold:t.string().optional()}),t.strictObject({elements:t.array(r)}),"What is at places of an HTML file's page drawn at a frame's size, where its frame's page is scrolled (as html/still draws it): what a person's mark on its frame is on."),"html/pick":e(s.extend({...a,...i,x:t.number(),y:t.number(),hold:t.string().optional()}),t.strictObject({element:r.extend({box:t.strictObject({x:t.number(),y:t.number(),width:t.number().positive(),height:t.number().positive()})}).optional()}),"The one element in front at a place of an HTML file's page drawn at a frame's size, where its frame's page is scrolled (as html/still draws it), with its box: what Mark up's Select picks there.")},callHtmlTool=l(HTML_TOOLS);
|
|
@@ -3,13 +3,23 @@
|
|
|
3
3
|
"probes": [
|
|
4
4
|
{
|
|
5
5
|
"at": "[data-testid=\"html-page\"]",
|
|
6
|
-
"part": {
|
|
7
|
-
|
|
6
|
+
"part": {
|
|
7
|
+
"x": 0.03,
|
|
8
|
+
"y": 0.04,
|
|
9
|
+
"w": 0.3,
|
|
10
|
+
"h": 0.03
|
|
11
|
+
},
|
|
12
|
+
"finds": "the element html > body > main > h2",
|
|
13
|
+
"picks": "the element html > body > main > h2"
|
|
8
14
|
}
|
|
9
15
|
],
|
|
10
16
|
"change": {
|
|
11
17
|
"path": "pages/budget.html",
|
|
12
|
-
"from": "
|
|
13
|
-
"to": "
|
|
18
|
+
"from": "Engineering came in under plan",
|
|
19
|
+
"to": "Engineering spent the least of its plan"
|
|
20
|
+
},
|
|
21
|
+
"scroll": {
|
|
22
|
+
"at": "[data-testid=\"html-page\"]",
|
|
23
|
+
"by": 1340
|
|
14
24
|
}
|
|
15
25
|
}
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
color: #3d3d3d;
|
|
12
12
|
}
|
|
13
13
|
header {
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
height: 140px;
|
|
14
16
|
padding: 32px 40px;
|
|
15
17
|
background: #dee5f7;
|
|
16
18
|
}
|
|
@@ -22,6 +24,21 @@
|
|
|
22
24
|
main {
|
|
23
25
|
padding: 24px 40px;
|
|
24
26
|
}
|
|
27
|
+
/* A page taller than its frame: Mark up's sample is marked scrolled. */
|
|
28
|
+
.lead {
|
|
29
|
+
height: 1200px;
|
|
30
|
+
margin: 0;
|
|
31
|
+
}
|
|
32
|
+
h2 {
|
|
33
|
+
margin: 0;
|
|
34
|
+
font-size: 28px;
|
|
35
|
+
line-height: 40px;
|
|
36
|
+
color: #151515;
|
|
37
|
+
}
|
|
38
|
+
.rest {
|
|
39
|
+
height: 1000px;
|
|
40
|
+
margin: 0;
|
|
41
|
+
}
|
|
25
42
|
</style>
|
|
26
43
|
</head>
|
|
27
44
|
<body>
|
|
@@ -30,7 +47,11 @@
|
|
|
30
47
|
<p>Each team against its plan for the year.</p>
|
|
31
48
|
</header>
|
|
32
49
|
<main>
|
|
33
|
-
<p>Marketing spent the most, then engineering.</p>
|
|
50
|
+
<p class="lead">Marketing spent the most, then engineering.</p>
|
|
51
|
+
<h2>Engineering came in under plan</h2>
|
|
52
|
+
<p class="rest">
|
|
53
|
+
It spent 92% of its budget, the lowest share of any team.
|
|
54
|
+
</p>
|
|
34
55
|
</main>
|
|
35
56
|
</body>
|
|
36
57
|
</html>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allyhub/html-extension",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./tools": {
|
|
@@ -68,6 +68,14 @@
|
|
|
68
68
|
},
|
|
69
69
|
"module": "./dist/project-tools.js"
|
|
70
70
|
},
|
|
71
|
+
{
|
|
72
|
+
"name": "html/pick",
|
|
73
|
+
"source": "asleep",
|
|
74
|
+
"does": {
|
|
75
|
+
"files": "the HTML file; its page as the agent's own browser reads it"
|
|
76
|
+
},
|
|
77
|
+
"module": "./dist/project-tools.js"
|
|
78
|
+
},
|
|
71
79
|
{
|
|
72
80
|
"name": "html/hold",
|
|
73
81
|
"source": "asleep",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
const y=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","math","emoji","fangsong","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","-apple-system","blinkmacsystemfont","inherit","initial"]);export const isGeneric=t=>y.has(t.toLowerCase());export function families(t){const e=[];let r="",i="";for(const n of t)i?n===i?i="":r+=n:n==='"'||n==="'"?i=n:n===","?(e.push(r.trim()),r=""):r+=n;return e.push(r.trim()),e.filter(Boolean)}export function unicodeRanges(t){const e=[];for(const r of t.split(",")){const i=/^\s*u\+([0-9a-f?]+)(?:-([0-9a-f]+))?\s*$/i.exec(r),n=i?.[1];if(n)if(n.includes("?"))e.push([parseInt(n.replace(/\?/g,"0"),16),parseInt(n.replace(/\?/g,"f"),16)]);else{const o=parseInt(n,16);e.push([o,i[2]?parseInt(i[2],16):o])}}return e}export function weightRange(t){const e=s=>s==="bold"?700:s==="normal"?400:Number(s),[r="400",i]=t.trim().split(/\s+/),n=e(r),o=i===void 0?n:e(i);return Number.isFinite(n)&&Number.isFinite(o)?[n,o]:[400,400]}export function matchWeight(t,e){if(e.length===0)return;if(e.some(([s,a])=>t>=s&&t<=a))return t;const r=e.filter(([s])=>s>t).map(([s])=>s),i=e.filter(([,s])=>s<t).map(([,s])=>s),n=r.length?Math.min(...r):void 0,o=i.length?Math.max(...i):void 0;return t>500?n??o:t<400?o??n:n!==void 0&&n<=500?n:o??n}export const BOLD=600;const m=(t,e)=>t.ranges.length===0||e.some(r=>t.ranges.some(([i,n])=>r>=i&&r<=n));export function fontIssue(t,e,r,i){const n=t.families[0];if(n===void 0||isGeneric(n))return;let o;for(const s of t.families){if(isGeneric(s))return o&&{kind:"fallback",...o,usedFamily:s};const a=r.filter(l=>l.family.toLowerCase()===s.toLowerCase());if(a.length===0){if(i(s))return o&&{kind:"fallback",...o,usedFamily:s};o??={family:s,failed:!1};continue}const c=a.filter(l=>m(l,e));if(c.length===0)continue;const f=c.filter(l=>l.status==="loaded");if(f.length===0){if(c.every(l=>l.status==="error")){o??={family:s,failed:!0};continue}return}if(o)return{kind:"fallback",...o,usedFamily:s};const u=matchWeight(t.weight,f.map(l=>l.weight)),d=Math.max(...f.map(l=>l.weight[1]));return t.weight>=BOLD&&d<BOLD?{kind:"bold",family:s,weight:t.weight,drawn:u??d,faked:t.synthBold}:t.italic&&!f.some(l=>l.slanted)?{kind:"italic",family:s,faked:t.synthItalic}:void 0}return o&&{kind:"fallback",...o,usedFamily:"the browser's default font"}}export function drawnFamilies(t,e,r,i){const n=[];for(const o of new Set(e)){let s="the browser's default font";for(const a of t.families){if(isGeneric(a)){s=a;break}const c=r.filter(f=>f.family.toLowerCase()===a.toLowerCase());if(c.length===0?i(a):c.some(f=>f.status==="loaded"&&m(f,[o]))){s=a;break}}n.includes(s)||n.push(s)}return n}export function fontIssueText(t){switch(t.kind){case"fallback":return t.failed?`the font "${t.family}" failed to load, so it is drawn in ${h(t.usedFamily)}
|
|
2
|
+
const y=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","math","emoji","fangsong","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","-apple-system","blinkmacsystemfont","inherit","initial"]);export const isGeneric=t=>y.has(t.toLowerCase());export function families(t){const e=[];let r="",i="";for(const n of t)i?n===i?i="":r+=n:n==='"'||n==="'"?i=n:n===","?(e.push(r.trim()),r=""):r+=n;return e.push(r.trim()),e.filter(Boolean)}export function unicodeRanges(t){const e=[];for(const r of t.split(",")){const i=/^\s*u\+([0-9a-f?]+)(?:-([0-9a-f]+))?\s*$/i.exec(r),n=i?.[1];if(n)if(n.includes("?"))e.push([parseInt(n.replace(/\?/g,"0"),16),parseInt(n.replace(/\?/g,"f"),16)]);else{const o=parseInt(n,16);e.push([o,i[2]?parseInt(i[2],16):o])}}return e}export function weightRange(t){const e=s=>s==="bold"?700:s==="normal"?400:Number(s),[r="400",i]=t.trim().split(/\s+/),n=e(r),o=i===void 0?n:e(i);return Number.isFinite(n)&&Number.isFinite(o)?[n,o]:[400,400]}export function matchWeight(t,e){if(e.length===0)return;if(e.some(([s,a])=>t>=s&&t<=a))return t;const r=e.filter(([s])=>s>t).map(([s])=>s),i=e.filter(([,s])=>s<t).map(([,s])=>s),n=r.length?Math.min(...r):void 0,o=i.length?Math.max(...i):void 0;return t>500?n??o:t<400?o??n:n!==void 0&&n<=500?n:o??n}export const BOLD=600;const m=(t,e)=>t.ranges.length===0||e.some(r=>t.ranges.some(([i,n])=>r>=i&&r<=n));export function fontIssue(t,e,r,i){const n=t.families[0];if(n===void 0||isGeneric(n))return;let o;for(const s of t.families){if(isGeneric(s))return o&&{kind:"fallback",...o,usedFamily:s};const a=r.filter(l=>l.family.toLowerCase()===s.toLowerCase());if(a.length===0){if(i(s))return o&&{kind:"fallback",...o,usedFamily:s};o??={family:s,failed:!1};continue}const c=a.filter(l=>m(l,e));if(c.length===0)continue;const f=c.filter(l=>l.status==="loaded");if(f.length===0){if(c.every(l=>l.status==="error")){o??={family:s,failed:!0};continue}return}if(o)return{kind:"fallback",...o,usedFamily:s};const u=matchWeight(t.weight,f.map(l=>l.weight)),d=Math.max(...f.map(l=>l.weight[1]));return t.weight>=BOLD&&d<BOLD?{kind:"bold",family:s,weight:t.weight,drawn:u??d,faked:t.synthBold}:t.italic&&!f.some(l=>l.slanted)?{kind:"italic",family:s,faked:t.synthItalic}:void 0}return o&&{kind:"fallback",...o,usedFamily:"the browser's default font"}}export function drawnFamilies(t,e,r,i){const n=[];for(const o of new Set(e)){let s="the browser's default font";for(const a of t.families){if(isGeneric(a)){s=a;break}const c=r.filter(f=>f.family.toLowerCase()===a.toLowerCase());if(c.length===0?i(a):c.some(f=>f.status==="loaded"&&m(f,[o]))){s=a;break}}n.includes(s)||n.push(s)}return n}export function fontIssueText(t){switch(t.kind){case"fallback":return t.failed?`the font "${t.family}" failed to load, so it is drawn in ${h(t.usedFamily)}.`:`the font "${t.family}" is not loaded, so it is drawn in ${h(t.usedFamily)}. A font is loaded by a stylesheet the piece imports or one allyhub.config.ts's fonts lists; the look's are var(--ak-font-display) and var(--ak-font-body).`;case"bold":return t.faked?`"${t.family}" has no face for weight ${String(t.weight)} (the loaded faces stop below ${String(BOLD)}), so Chrome fakes the bold by thickening weight ${String(t.drawn)}.`:`"${t.family}" has no face for weight ${String(t.weight)}, so it is drawn at weight ${String(t.drawn)}.`;case"italic":return t.faked?`"${t.family}" has no italic face, so Chrome fakes the italic by slanting the upright letters.`:`"${t.family}" has no italic face, so it is drawn upright.`}}const h=t=>isGeneric(t)?`the browser's ${t} font`:t.startsWith("the ")?t:`"${t}"`;export function stringsOf(t,e=2e3){const r=[],i=new Set,n=o=>{if(!(r.length>=e)){if(typeof o=="string")r.push(o);else if(typeof o=="object"&&o!==null&&!i.has(o)){i.add(o);for(const s of Array.isArray(o)?o:Object.values(o))n(s)}}};return n(t),r}export function emojiOf(t){const e=/\p{Extended_Pictographic}|\p{Regional_Indicator}|[\u{1F3FB}-\u{1F3FF}\u{E0020}-\u{E007F}]|\u200d|\ufe0f|\u20e3/gu,r=new Set;for(const i of t)for(const n of i.matchAll(e))r.add(n[0]);return[...r].join("")}const p=new Map;let g;export function pageFaces(){const t=[];return document.fonts.forEach(e=>{t.push({family:families(e.family)[0]??e.family,weight:weightRange(e.weight),slanted:e.style!=="normal",status:e.status,ranges:unicodeRanges(e.unicodeRange)})}),t}export function localFamily(t){const e=p.get(t);if(e!==void 0)return e;g??=document.createElement("canvas").getContext("2d");const r=g;if(!r)return!0;const i="mmmmmmmmmmlli10WQ@#ƌ",n=a=>(r.font=a,r.measureText(i).width),o=JSON.stringify(t),s=["monospace","serif","sans-serif"].some(a=>n(`40px ${o}, ${a}`)!==n(`40px ${a}`));return p.set(t,s),s}export function fontWant(t){const e=Number(t.fontWeight);return{families:families(t.fontFamily),weight:Number.isFinite(e)?e:400,italic:t.fontStyle!=="normal",synthBold:t.getPropertyValue("font-synthesis-weight")!=="none",synthItalic:t.getPropertyValue("font-synthesis-style")!=="none"}}export function codePoints(t){const e=new Set;for(const r of t)for(const i of r)e.add(i.codePointAt(0)??0);return e}export function coversAny(t,e){if(t.length===0)return!0;for(const r of e)if(t.some(([i,n])=>r>=i&&r<=n))return!0;return!1}export function namedFamilies(t){return families(t).filter(e=>!isGeneric(e)&&!e.startsWith("var(")).map(e=>e.toLowerCase())}export function styleSheetFamilies(){const t=new Set,e=r=>{for(const i of Array.from(r))if(i instanceof CSSStyleRule){const n=i.style.getPropertyValue("font-family");if(n)for(const o of namedFamilies(n))t.add(o)}else i instanceof CSSGroupingRule&&e(i.cssRules)};for(const r of Array.from(document.styleSheets))try{e(r.cssRules)}catch{}return t}export function propFamilies(t){const e=new Set;document.fonts.forEach(n=>{e.add((families(n.family)[0]??n.family).toLowerCase())});const r=t.map(n=>n.toLowerCase()),i=new Set;for(const n of e)n&&r.some(o=>o.includes(n))&&i.add(n);return i}export async function loadFaces(t,e){const r=[];document.fonts.forEach(i=>{if(i.status!=="unloaded")return;const n=(families(i.family)[0]??i.family).toLowerCase();t.has(n)&&coversAny(unicodeRanges(i.unicodeRange),e)&&r.push(i.load().catch(()=>{}))}),await Promise.all(r)}export async function loadTextFonts(t){const e=new Map,r=new Map,i=document.createTreeWalker(t,NodeFilter.SHOW_TEXT);for(let o=i.nextNode();o;o=i.nextNode()){const s=o.nodeValue??"",a=o.parentElement;if(!a||!s.trim())continue;let c=r.get(a);if(c===void 0){const u=getComputedStyle(a);c=`${u.fontStyle==="normal"?"":"italic "}${u.fontWeight} 40px ${u.fontFamily}`,r.set(a,c)}let f=e.get(c);f||(f=new Set,e.set(c,f));for(const u of s)u.trim()&&f.add(u)}const n=[...e].map(([o,s])=>[o,[...s].join("")]).filter(([o,s])=>!document.fonts.check(o,s));n.length!==0&&await Promise.all(n.map(([o,s])=>document.fonts.load(o,s).catch(()=>[])))}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{problem as v}from"@allyhub/diagnostics";import{fontIssue as K,fontIssueText as X,fontWant as G,localFamily as _,pageFaces as V}from"./fonts.js";const
|
|
3
|
-
${a}`,t=
|
|
2
|
+
import{problem as v}from"@allyhub/diagnostics";import{fontIssue as K,fontIssueText as X,fontWant as G,localFamily as _,pageFaces as V}from"./fonts.js";const R=new Map;let E;function F(i,a){const s=`${i}
|
|
3
|
+
${a}`,t=R.get(s);if(t)return t;if(E??=document.createElement("canvas").getContext("2d"),!E)return;E.font=i;const e=E.measureText(a),r={fontUp:e.fontBoundingBoxAscent,fontDown:e.fontBoundingBoxDescent,up:e.actualBoundingBoxAscent,down:e.actualBoundingBoxDescent,left:Math.max(0,e.actualBoundingBoxLeft),right:Math.max(0,e.actualBoundingBoxRight-e.width)};return R.set(s,r),r}function Y(i,a,s){const t=s.getClientRects(),e=t.item(0),r=t.item(t.length-1),c=s.getBoundingClientRect(),u=Array.from(t).filter(x=>x.width>0&&x.height>0),h=(u.length>0?u:[c]).map(x=>[x.left,x.top,x.right,x.bottom]),n=getComputedStyle(i),o=parseFloat(n.fontSize)||0;if(!e||!r)return{rows:[c.top,c.bottom],lines:h,size:o};const l={rows:[e.top,r.bottom],lines:h,size:o},d=n.textTransform==="uppercase"?a.toUpperCase():n.textTransform==="lowercase"?a.toLowerCase():a,f=F(`${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`,d),g=f?f.fontUp+f.fontDown:0;if(!f||g<=0||f.up+f.down<=0)return l;const y=e.height/g,b=e.top+(f.fontUp-f.up)*y,M=r.bottom-(f.fontDown-f.down)*y,m=M>b?[b,M]:[e.top,r.bottom],w=u.map((x,p)=>{const S=x.height/g,C=x.top+(f.fontUp-f.up)*S,$=x.bottom-(f.fontDown-f.down)*S,A=x.left-(p===0?f.left*S:0),z=x.right+(p===u.length-1?f.right*S:0);return $>C?[A,C,z,$]:[A,x.top,z,x.bottom]}),k=/[a-z]/.test(d)?F(`${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`,"x"):void 0;return{rows:m,lines:w.length>0?w:h,size:o*y,...k&&k.up>0?{xHeight:k.up*y}:{}}}const L=i=>i.replace(/\u200b/g,"").replace(/\s+/g," ").trim();function B(i,a){let s=1;for(let t=i;t&&t!==a.parentElement;t=t.parentElement){const e=getComputedStyle(t);if(e.display==="none"||e.visibility==="hidden")return 0;s*=Number(e.opacity)}return s}function N(i,a){const s=i.closest("[data-ak-screen]");if(s!==null&&s!==a&&a.contains(s))return!0;const t=i.closest("[data-ak-picture]");return t!==null&&a.contains(t)}export function screenTexts(i,a={}){const s=[],t=document.createTreeWalker(i,NodeFilter.SHOW_TEXT);for(let e=t.nextNode();e;e=t.nextNode()){const r=L(e.textContent??""),c=e.parentElement;if(!r||!c||a.screens===!1&&N(c,i))continue;const u=B(c,i);if(u<=.05)continue;const h=document.createRange();h.selectNodeContents(e);const n=h.getBoundingClientRect();if(n.width===0&&n.height===0)continue;const o=Y(c,r,h);s.push({text:r,el:c,bbox:[n.left,n.top,n.width,n.height],opacity:u,rows:o.rows,lines:o.lines,size:o.size,...o.xHeight===void 0?{}:{xHeight:o.xHeight}})}return s}const H=new Set(["hidden","clip","scroll","auto"]);function O(i,a,s,t){let[e,r,c,u]=i;const h=.5;for(let n=a;n&&n!==s.parentElement;n=n.parentElement){const o=getComputedStyle(n),l=H.has(o.overflowX),d=H.has(o.overflowY);if(!l&&!d)continue;const f=n.getBoundingClientRect(),g=(y,b,M)=>t&&(M?y>=b-h:y<=b+h);if(l&&(g(f.left,t?.left??0,!1)||(e=Math.max(e,f.left)),g(f.right,t?.right??0,!0)||(c=Math.min(c,f.right))),d&&(g(f.top,t?.top??0,!1)||(r=Math.max(r,f.top)),g(f.bottom,t?.bottom??0,!0)||(u=Math.min(u,f.bottom))),c<=e||u<=r)return}return[e,r,c,u]}const J=/^(transparent|rgba\(\s*0\s*,\s*0\s*,\s*0\s*,\s*0\s*\))$/,q=/[,/]\s*0(\.0+)?\s*\)$/;function D(i){const a=[],s=i.backgroundColor;return(i.backgroundImage!=="none"||!J.test(s)&&!q.test(s))&&a.push("background"),["Top","Right","Bottom","Left"].some(e=>{const r=i[`border${e}Style`];return r!=="none"&&r!=="hidden"&&parseFloat(i[`border${e}Width`])>0})&&a.push("border"),i.boxShadow!=="none"&&a.push("shadow"),a}function Z(i,a,s,t,e){const r=[];for(let c=i;c&&c!==a;c=c.parentElement){const u=getComputedStyle(c);if(H.has(u.overflowX)&&H.has(u.overflowY))continue;const h=D(u);if(h.length===0||B(c,a)<=.05)continue;const n=c.getBoundingClientRect(),o=Math.round((n.left-s.left)*t),l=Math.round((n.top-s.top)*t),d=Math.round((n.right-s.left)*t),f=Math.round((n.bottom-s.top)*t);o<=0&&l<=0&&d>=e[0]&&f>=e[1]||r.push({box:[o,l,d-o,f-l],paint:h})}return r}const I=/[\u3000-\u9fff\uf900-\uffef]/;export function textBlocks(i,a,s){const t=a.getBoundingClientRect(),e=t.width>0?s/t.width:1,r=[s,Math.round(t.height*e)],c=new Map;for(const o of screenTexts(i,{screens:!1})){let l=o.el;for(;l!==i&&l.parentElement&&getComputedStyle(l).display.startsWith("inline");)l=l.parentElement;const[d,f,g,y]=o.bbox,[b,M]=o.rows,m=O([d,b,d+g,M],o.el,i),w=Math.max(0,g)*Math.max(0,M-b),k=m&&w>0?Math.min(1,(m[2]-m[0])*(m[3]-m[1])/w):m?1:0,x=o.lines.flatMap(C=>{const $=O(C,o.el,i,t);return $?[$]:[]}),p=c.get(l);if(!p){c.set(l,{text:o.text,x0:d,y0:f,x1:d+g,y1:f+y,opacity:o.opacity,...m?{ink:m}:{},shown:k,size:o.size,...o.xHeight===void 0?{}:{xHeight:o.xHeight},glyphs:x,runs:[{el:o.el,opacity:o.opacity,glyphs:x}]});continue}p.glyphs.push(...x),p.runs.push({el:o.el,opacity:o.opacity,glyphs:x});const S=I.test(p.text.slice(-1))||I.test(o.text.slice(0,1))?"":" ";p.text+=S+o.text,p.x0=Math.min(p.x0,d),p.y0=Math.min(p.y0,f),p.x1=Math.max(p.x1,d+g),p.y1=Math.max(p.y1,f+y),p.opacity=Math.min(p.opacity,o.opacity),p.shown=Math.min(p.shown,k),p.size=Math.min(p.size,o.size),o.xHeight!==void 0&&(p.xHeight=Math.min(p.xHeight??1/0,o.xHeight)),m&&(p.ink=p.ink?[Math.min(p.ink[0],m[0]),Math.min(p.ink[1],m[1]),Math.max(p.ink[2],m[2]),Math.max(p.ink[3],m[3])]:m)}const u=(o,l,d,f)=>{const g=Math.round((o-t.left)*e),y=Math.round((l-t.top)*e);return[g,y,Math.round((d-t.left)*e)-g,Math.round((f-t.top)*e)-y]},h=o=>Math.round(o*e*100)/100,n=([o,l,d,f])=>[h(o-t.left),h(l-t.top),h(d-o),h(f-l)];return[...c.entries()].map(([o,l])=>({text:l.text,...o.closest("[data-ak-viewport]")?{viewport:!0}:{},box:u(l.x0,l.y0,l.x1,l.y1),opacity:Math.round(l.opacity*1e3)/1e3,ink:l.ink?u(...l.ink):null,shown:Math.round(l.shown*1e3)/1e3,size:Math.round(l.size*e*10)/10,...l.xHeight===void 0?{}:{xHeight:Math.round(l.xHeight*e*10)/10},containers:Z(o,i,t,e,r),glyphs:l.glyphs.map(n),runs:l.runs.map(d=>({el:d.el,opacity:d.opacity,glyphs:d.glyphs.map(n)})),el:o}))}const Q=new Set(["img","svg","canvas","video"]);export function trackedIn(i){const a=[],s=t=>{const e=t.tagName.toLowerCase(),r=Q.has(e);let c=r?e:void 0;if(!r&&t instanceof HTMLElement){const u=L(Array.from(t.childNodes).filter(h=>h.nodeType===Node.TEXT_NODE).map(h=>h.textContent??"").join(" "));u?c=`text ${JSON.stringify(T(u))}`:D(getComputedStyle(t)).length>0&&(c="box")}if(c!==void 0){const u=t instanceof HTMLElement?B(t,i):t.parentElement?B(t.parentElement,i)*Number(getComputedStyle(t).opacity):1;if(u>.05){const h=t instanceof HTMLElement||t instanceof SVGElement?t.dataset.ak:void 0;a.push({el:t,what:c,opacity:Math.round(u*1e3)/1e3,...h?{name:h}:{}})}}if(!r)for(const u of Array.from(t.children))s(u)};for(const t of Array.from(i.children))s(t);return a}export function selectorOf(i,a){const s=[];for(let t=i;t&&t!==a;t=t.parentElement){const e=t instanceof HTMLElement||t instanceof SVGElement?t.dataset:{},r=e.key;if(r!==void 0&&t.classList.contains("ak-part")){s.unshift(`section[data-key="${r}"]`);break}const c=e.ak;if(c!==void 0){s.unshift(`[data-ak="${c}"]`);continue}const u=t.parentElement,h=u?Array.from(u.children).indexOf(t)+1:1;s.unshift(`${t.tagName.toLowerCase()}:nth-child(${String(h)})`)}return s.join(" > ")}const T=i=>i.length>40?`${i.slice(0,40)}…`:i;let W;const U=new Map,j=new Map;function P(i,a){W??=Object.assign(document.createElement("canvas"),{width:64,height:64}).getContext("2d",{willReadFrequently:!0});const s=W;return s?(s.clearRect(0,0,64,64),s.font=i,s.textBaseline="middle",s.fillText(a,4,32),s.getImageData(0,0,64,64).data.join(",")):""}function tt(i,a){const s=getComputedStyle(i),t=`${s.fontStyle} ${s.fontWeight} 40px ${s.fontFamily}`;let e=U.get(t);e===void 0&&(e=P(t,""),U.set(t,e));const r=[];for(const c of new Set(Array.from(a.replace(/\s/g,"")))){const u=`${t}|${c}`;let h=j.get(u);h===void 0&&(h=P(t,c)===e,j.set(u,h)),h&&r.push(c)}return r}export function inspectFrame(i){const{part:a,t:s,section:t,stage:e}=i,r=[],c=new Set,u=new Set;let h;for(const n of screenTexts(t)){const o=m=>{const w=i.keysShowing(n.text);return{selector:selectorOf(n.el,e),bbox:m.map(k=>Math.round(k)),...w.length>0?{file:i.messagesFile(w)}:{}}},l=i.keysShowing(n.text),d=l.length>0?` Its words are the script's ${l.join(", ")}.`:"",f=n.el.closest("[data-ak-viewport]")!==null,g=getComputedStyle(n.el);if((g.overflowX!=="visible"||g.overflowY!=="visible")&&!N(n.el,t)&&!c.has(n.el)&&(n.el.scrollWidth>n.el.clientWidth+1||n.el.scrollHeight>n.el.clientHeight+1)&&(c.add(n.el),r.push(v("AK-L002",`Text is cut off: "${T(n.text)}" does not fit its box.${d}`,{part:a,t:s,where:o(n.bbox)}))),!f){const m=tt(n.el,n.text);m.length>0&&r.push(v("AK-L003",`No font can draw ${m.map(w=>`"${w}" (U+${(w.codePointAt(0)??0).toString(16).toUpperCase().padStart(4,"0")})`).join(", ")} in "${T(n.text)}": they will show as boxes.`,{part:a,t:s,where:o(n.bbox)}))}const b=G(g),M=`${g.fontFamily}|${String(b.weight)}|${g.fontStyle}`;if(!u.has(M)){h??=V();const m=Array.from(n.text.replace(/\s/g,"")).map(k=>k.codePointAt(0)??0),w=K(b,m,h,_);w&&(u.add(M),r.push(v("AK-L006",`"${T(n.text)}": ${X(w)}`,{part:a,t:s,where:o(n.bbox)})))}}return r}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{fileURLToPath as e}from"node:url";const a={sdk:{"./image":e(import.meta.resolve("@allyhub/image-sdk")),"./dom":e(import.meta.resolve("@allyhub/image-sdk/dom")),"./media":e(import.meta.resolve("@allyhub/image-sdk/media"))},bound:{"./image":{factory:"imageSdkFor",names:["image","picture","textLayer","shape","fill"]}}};export default a;
|
|
2
|
+
import{fileURLToPath as e}from"node:url";const a={sdk:{"./image":e(import.meta.resolve("@allyhub/image-sdk")),"./dom":e(import.meta.resolve("@allyhub/image-sdk/dom")),"./media":e(import.meta.resolve("@allyhub/image-sdk/media")),"./blocks":e(import.meta.resolve("@allyhub/image-sdk/blocks"))},bound:{"./image":{factory:"imageSdkFor",names:["image","picture","textLayer","shape","fill"]}}};export default a;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{existsSync as x}from"node:fs";import{mkdir as O,readFile as S,stat as T,writeFile as v}from"node:fs/promises";import{basename as
|
|
2
|
+
import{existsSync as x}from"node:fs";import{mkdir as O,readFile as S,stat as T,writeFile as v}from"node:fs/promises";import{basename as k,dirname as z,join as f,posix as C,resolve as F}from"node:path";import{PROJECT_DIR as I,defineCliCommand as E,listWork as P,projectRoot as R}from"@allyhub/build";import{itemIdOf as W}from"@allyhub/formats";import{importPsd as D,keyOf as M}from"@allyhub/image-psd";import{CommandError as g,EXIT as u}from"@allyhub/protocol";import{z as d}from"zod";const N=d.string().transform(o=>o.replace(/^\/+/gu,"")).refine(o=>o.endsWith(".ts")&&!o.split("/").some(a=>a===""||a==="."||a===".."),{message:"a .ts file from the project's root, such as launch/poster.ts"}),A={approximate:"approximate",pixels:"as pixels",omitted:"not carried over"};export const imageImport=E({input:d.strictObject({file:d.string().describe("The .psd or .psb to make an image of"),to:N.optional().describe("The image's module, from the project's root (default <the file's name>.ts); a person's changes are <name>.yaml beside it, its script <name>.<lang>.yaml, its pictures and the file as it was beside them under names no file there has"),lang:d.string().regex(/^[a-z]{2,3}(-[a-z0-9]+)*$/u).default("en").describe("The language of its words: its script is <name>.<lang>.yaml"),dir:I}),positional:["file"],output:d.looseObject({}),examples:["allyhub image import ~/Downloads/poster.psd --to launch/poster.ts","allyhub image import 海报.psd --to posters/spring.ts --lang zh-cn"],run:async(o,a)=>{const r=await R(a.cwd,o.dir),n=F(a.cwd,o.file),b=await S(n).catch(()=>{throw new g("not-found",`There is no file ${n}.`,{exit:u.notFound})}),l=o.to??`${M(k(n).replace(/\.ps[db]$/iu,""),"image",new Set)}.ts`,w=C.dirname(l),m=e=>w==="."?e:`${w}/${e}`,c=W(l);let t;try{t=await D(new Uint8Array(b),{id:c,lang:o.lang,source:k(n),taken:e=>x(f(r,m(e)))})}catch(e){throw new g("bad-file",`${n} is not a Photoshop file this can read: ${e.message}`,{exit:u.usage})}const $=[...t.files.keys()].map(m);for(const e of $)if(await T(f(r,e)).catch(()=>{}))throw new g("place-taken",`${e} is already there.`,{exit:u.conflict,hint:"Name another module with --to."});for(const[e,s]of t.files){const i=f(r,m(e));await O(z(i),{recursive:!0}),await v(i,s,{flag:"wx"})}await P(r,{kind:"image",file:l},a.kinds(r));const h=new Map;for(const e of t.report){const s=`${e.how}|${e.what}`,i=h.get(s)??{line:` ${A[e.how]}: ${e.what}`,at:[]},p=[e.board,e.layer].filter(j=>j!==void 0).join("/");p!==""&&!i.at.includes(p)&&i.at.push(p),h.set(s,i)}const y=[...h.values()].map(e=>`${e.line}${e.at.length===0?"":` (${e.at.slice(0,4).join(", ")}${e.at.length>4?` and ${String(e.at.length-4)} more`:""})`}`);return{value:{file:l,id:c,source:m(t.source),boards:t.boards.map(e=>({key:e.key,name:e.name,width:e.width,height:e.height,kinds:e.kinds})),files:$,report:t.report},text:[`Made ${l}: ${t.boards.map(e=>`${e.key} (${String(e.width)}×${String(e.height)}: ${Object.entries(e.kinds).map(([s,i])=>`${String(i)} ${s}`).join(", ")||"no layers"})`).join("; ")}; listed in allyhub.yaml as ${c}.`,`The file as it was: ${m(t.source)}`,...y.length>0?[`Not carried over as it is (${String(t.report.length)}, grouped; all with --json):`,...y]:[],`allyhub check, then allyhub frames ${c}, to see it.`].join(`
|
|
3
3
|
`)}}});const H={"image import":imageImport};export default H;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allyhub/image-extension",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./build": {
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
"cliCommands": [
|
|
228
228
|
{
|
|
229
229
|
"name": "image import",
|
|
230
|
-
"summary": "Makes an image of a Photoshop file: a board an artboard (else its canvas), each layer of its kind (pixels, type, shape, adjustment, fill, group) with its blend, opacity, mask and effects, a picture a pixel layer
|
|
230
|
+
"summary": "Makes an image of a Photoshop file: a board an artboard (else its canvas), each layer of its kind (pixels, type, shape, adjustment, fill, group) with its blend, opacity, mask and effects, a picture a pixel layer beside the module, the words in the script, the file kept beside it; lists each difference from the file; writes new files alone (--to names another module)",
|
|
231
231
|
"work": "images",
|
|
232
232
|
"module": "./dist/cli.js"
|
|
233
233
|
}
|
|
@@ -9,4 +9,4 @@ An image is any picture, or a set of pictures that ship together: a photo to cha
|
|
|
9
9
|
|
|
10
10
|
## See and measure
|
|
11
11
|
|
|
12
|
-
`allyhub frames <image>` draws its boards
|
|
12
|
+
`allyhub frames <image>` draws its boards, and `allyhub inspect <image>` gives their facts: each board, a layer compared across boards, words a box does not hold, contrast and text layout.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{factOf as m,problem as p}from"@allyhub/diagnostics";export const frameFact=(f,a,
|
|
2
|
+
import{factOf as m,problem as p}from"@allyhub/diagnostics";export const frameFact=(f,a,u)=>m(f,a,u);export function frameFacts(f,a,u=()=>[]){const t=[],h=frameFact;for(const o of f.moments){const n={...a,part:o.part,t:o.t};for(const e of o.overlaps){const s=o.texts[e.a],c=o.texts[e.b];!s||!c||t.push(h("text-overlap",n,{a:s,b:c,area:e.area,share:e.share}))}for(const e of o.ownOverlaps){const s=o.texts[e.a],c=o.texts[e.b];!s||!c||t.push(h("text-overlap-own",n,{a:s,b:c,area:e.area,share:e.share}))}for(const e of o.outside){const s=o.texts[e.text];s&&t.push(h("text-outside",n,{text:s,container:e.container,edges:e.edges}))}t.push(...u(o,n));for(const e of o.offFrame){const s=o.texts[e.text];s&&t.push(h("text-off-frame",n,{text:s,frame:[f.width,f.height],edges:e.edges,outside:e.outside,share:e.share,glyphs:e.glyphs}))}for(const e of o.safeOverlaps){const s=o.texts[e.text];s&&t.push(h("text-covered",n,{text:s,frame:[f.width,f.height],covered:f.safe,edges:e.edges}))}}return t}export function cutThroughout(f){const a=new Map;for(const t of f.moments){const h=new Map(t.offFrame.map(n=>[n.text,n])),o=new Set;t.texts.forEach((n,e)=>{if(n.viewport)return;const s=h.get(e);if(s&&s.share>=1)return;const c=`${t.part}
|
|
3
3
|
${n.layer}
|
|
4
4
|
${n.z}
|
|
5
|
-
${n.text}`;if(
|
|
5
|
+
${n.text}`;if(o.has(c))return;o.add(c);let r=a.get(c);if(r||(r={part:t.part,shown:0,cut:void 0},a.set(c,r)),r.shown++,!s)return;const i={outside:s.outside,share:s.share,edges:s.edges,glyphs:s.glyphs};if(!r.cut){r.cut={part:t.part,text:n,moments:[t.t],t:t.t,worst:i};return}r.cut.moments.push(t.t),s.share>r.cut.worst.share&&(r.cut.text=n,r.cut.t=t.t,r.cut.worst=i)})}const u=[];for(const t of a.values())t.cut?.moments.length===t.shown&&u.push(t.cut);return u}export function offFrameProblems(f,a){const u=t=>`${t.toFixed(2)} s`;return cutThroughout(f).map(t=>{const h=t.moments[0]??0,o=t.moments.at(-1)??h,n=t.moments.length===1?`at ${u(h)}, the one moment measured that shows it`:`at all ${String(t.moments.length)} moments measured that show it (${h.toFixed(2)}–${u(o)})`,e=t.worst.edges.map(r=>`${String(r.px)} pixels past the ${r.side} edge`).join(" and "),s=`"${t.text.text.length>40?`${t.text.text.slice(0,40)}…`:t.text.text}"`,c={piece:a.piece,output:a.output,combo:a.combo,format:a.format,part:t.part};return p("AK-L002",`Text goes off the frame: the frame cuts ${s} ${n}; its letters reach ${e} at ${a.format} (${String(Math.round(t.worst.share*100))}% of them outside); text inside an element with data-ak-picture is not reported. allyhub inspect --kind text-off-frame has each moment.`,{...c,t:t.t,where:{bbox:t.worst.glyphs}})})}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{blockFromFile as u,blockSvg as g,paletteOf as p}from"@allyhub/blocks";import{BLOCK_KINDS as y,blockKeyOf as k,colorsOfTheme as w}from"@allyhub/formats";import{LAYER_BRAND as $}from"@allyhub/piece";import{LayerError as f,splitLayer as v}from"./define.js";function x(e,t){return p({text:e.color.fg,body:e.color.fg,muted:e.color.muted,ground:e.color.bg,surface:e.color.surface,...t===void 0?{accent1:e.color.accent}:{}},{theme:w(t),font:e.font.body})}export function block(e){const[t,c]=v(e),n=k(c);if(n===void 0)throw new f("AK-I003",`block() names its block by its kind, block({ key, stat: { value, label } }): one of ${y.join(", ")}.`);const r=u(n,c[n]);if(r.block===void 0||r.problems.length>0)throw new f("AK-I003",`block()'s ${n}: ${r.problems.map(o=>`${o.path.length>0?`${o.path.join(".")}: `:""}${o.message}`).join(" ")}`);const h=r.block,m=e.theme;return{[$]:"graphic",...t,component:"block",props:{},mount:(o,A,d)=>{const l=e.x??0,a=e.y??0,s=e.width??d.dims.width-l,b=g(h,{width:s*.75,...e.height===void 0?{}:{height:e.height*.75}},x(d.look,m),{...t.key===void 0?{}:{id:t.key}});o.innerHTML=`<div style="position:absolute;left:${String(l)}px;top:${String(a)}px;width:${String(s)}px">${b}</div>`;const i=o.querySelector("svg");i&&(i.setAttribute("width","100%"),i.removeAttribute("height"),i.style.display="block")},render:()=>{}}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{dirOf as l,projectPath as g}from"@allyhub/formats";import{LAYER_BRAND as u}from"@allyhub/piece";import{isColor as y}from"@allyhub/piece";import{fillFor as p}from"./fill.js";import{groupLayers as w}from"./group.js";import{pictureFor as x}from"./picture.js";import{shapeFor as
|
|
2
|
+
import{dirOf as l,projectPath as g}from"@allyhub/formats";import{LAYER_BRAND as u}from"@allyhub/piece";import{isColor as y}from"@allyhub/piece";import{fillFor as p}from"./fill.js";import{groupLayers as w}from"./group.js";import{pictureFor as x}from"./picture.js";import{shapeFor as k}from"./shape.js";import{textLayerFor as A}from"./text-layer.js";import{writtenIn as $}from"./written.js";export{LayerError,custom,defineComponent}from"./define.js";export{group,groupLayers}from"./group.js";export{block}from"./block.js";export{adjustment}from"./adjustment.js";export{mountLayer,mountStack}from"./stack.js";export{ADJUSTMENT_DEFAULTS,ADJUSTMENT_KINDS,BLEND_DRAWN,BLEND_MODES,EFFECT_DEFAULTS,EFFECT_NAMES,LAYER_STYLE_DEFAULTS,SHAPE_DEFAULTS,TEXT_DEFAULTS}from"@allyhub/piece";export const isLayerSpec=e=>typeof e=="object"&&e!==null&&u in e,IMAGE_BRAND="__allyhubImage",BOARD_BRAND="__allyhubBoard",BOARD_DEFAULTS={minHeight:64,maxHeight:16384,resolution:72,colorProfile:"sRGB IEC61966-2.1"},MAX_SIDE=16384;export function isBoard(e){return typeof e=="object"&&e!==null&&BOARD_BRAND in e}const n=e=>typeof e=="number"&&Number.isInteger(e)&&e>=1&&e<=MAX_SIDE;export function parseSize(e){const r=/^(\d+)x(\d+)$/u.exec(e.trim());if(!r)return;const t=Number(r[1]),i=Number(r[2]);return n(t)&&n(i)?{width:t,height:i}:void 0}export function fromPicture(e){const{width:r,height:t}=e;if(e.kind!=="image"||r===void 0||t===void 0||!n(r)||!n(t))throw new ImageError("AK-I001",`fromPicture(${JSON.stringify(e.path)}): ${e.kind==="image"?`its size is not known in whole pixels from 1 to ${String(MAX_SIDE)}`:"it is not a still picture"}. Import a still picture (import photo from "../assets/media/photo.jpg"), or give the board its size.`);return`${String(r)}x${String(t)}`}export function boardSize(e){const r=`whole pixels from 1 to ${String(MAX_SIDE)}`;if(e.size!==void 0)return e.width!==void 0||e.height!==void 0?`board ${e.key} gives both size and width/height: give one.`:(typeof e.size=="string"?parseSize(e.size):void 0)??`board ${e.key}: size ${JSON.stringify(e.size)} is not WIDTHxHEIGHT in ${r} ("1200x630").`;if(e.width===void 0&&e.height===void 0)return`board ${e.key} has no size: give size ("1200x630"), or width and height.`;if(!n(e.width))return`board ${e.key}: width is not ${r}.`;if(e.height==="auto"){const t=e.minHeight??BOARD_DEFAULTS.minHeight,i=e.maxHeight??BOARD_DEFAULTS.maxHeight;return!n(t)||!n(i)||t>i?`board ${e.key}: minHeight and maxHeight are ${r}, the least first.`:{width:e.width,height:"auto",minHeight:t,maxHeight:i}}return n(e.height)?{width:e.width,height:e.height}:`board ${e.key}: height is not ${r} or "auto".`}export class ImageError extends Error{code;constructor(r,t){super(t),this.name="ImageError",this.code=r}}export function board(e){if(typeof e.key!="string"||!/^[A-Za-z0-9][\w.-]*$/u.test(e.key))throw new ImageError("AK-I002",`board: key ${JSON.stringify(e.key)} is not a name (letters, digits, - _ and ., from a letter or digit): it names the board's file.`);const r=boardSize(e);if(typeof r=="string")throw new ImageError("AK-I001",`board ${r}`);if(!Array.isArray(e.layers))throw new ImageError("AK-I003",`board ${e.key}: layers is a list of layers.`);if(e.background!==void 0&&e.background!=="transparent"&&!y(e.background))throw new ImageError("AK-I001",`board ${e.key}: background ${JSON.stringify(e.background)} is not a CSS colour or "transparent".`);if(e.resolution!==void 0&&!(typeof e.resolution=="number"&&e.resolution>0&&e.resolution<=1e4))throw new ImageError("AK-I001",`board ${e.key}: resolution is pixels per inch, more than 0.`);if(e.colorProfile!==void 0&&typeof e.colorProfile!="string")throw new ImageError("AK-I001",`board ${e.key}: colorProfile is a profile's name.`);const t=new Set,i=(c,h)=>{c.forEach((s,m)=>{const f=`${h} ${String(m+1)}`;if(!isLayerSpec(s))throw new ImageError("AK-I003",`${f} is not a layer made by a component, picture(), textLayer(), shape(), fill(), adjustment(), group(), block() or custom().`);const o=s.key;if(typeof o!="string"||o==="")throw new ImageError("AK-I003",`${f} has no name: give every layer of a board its key (picture({ key: "photo", … }), Caption({ key: "caption", … })).`);if(!/^[A-Za-z0-9][\w.-]*$/u.test(o))throw new ImageError("AK-I002",`board ${e.key}: layer key ${JSON.stringify(o)} is not a name (letters, digits, - _ and ., from a letter or digit).`);if(t.has(o))throw new ImageError("AK-I002",`board ${e.key}: two layers are named ${o}. Every layer of a board needs its own key, a group's layers too.`);t.add(o);const d=s[u]==="graphic"?w(s):[];d.length>0&&i(d,`board ${e.key}: group ${o}'s layer`)})};return i(e.layers,`board ${e.key}: layer`),{...e,[BOARD_BRAND]:!0}}export function isImage(e){return typeof e=="object"&&e!==null&&IMAGE_BRAND in e}function S(e){const r=g(e);if(r.startsWith("/")||r.split("/").includes(".."))throw new Error(`imageSdkFor: ${JSON.stringify(e)} is not a project path, such as "launch/og.ts".`);return{file:r,base:l(r)}}export const imageFor=e=>r=>{if(typeof r!="object"||typeof r.boards!="function")throw new ImageError("AK-I005",`An image's module exports one image: export default image({ script: "./launch.{locale}.yaml", boards: (ctx) => [ board({ key, size, layers }), … ] }).`);if(r.script!==void 0&&(typeof r.script!="string"||!r.script.includes("{locale}")))throw new ImageError("AK-I005",`An image's script is a file per language: write {locale} in its name for each (./launch.{locale}.yaml), not ${JSON.stringify(r.script)}.`);return{...r,[IMAGE_BRAND]:!0,kind:"image",written:S(e)}},imageSdkFor=e=>{const r=$(e);return{image:imageFor(e.file),picture:x(r),textLayer:A(r),shape:k(r),fill:p(r)}};const a=imageSdkFor({file:""});export const image=a.image,picture=a.picture,textLayer=a.textLayer,shape=a.shape,fill=a.fill;
|