allyhub 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/commands/auth.js +4 -4
- package/dist/commands/cloud-tools.js +11 -11
- package/dist/commands/dev.js +2 -2
- package/dist/commands/frames/compare.js +2 -2
- package/dist/commands/frames/piece.js +1 -1
- package/dist/commands/frames/report.js +2 -0
- package/dist/commands/frames.js +11 -9
- package/dist/commands/index.js +1 -1
- package/dist/commands/inspect/common.js +4 -2
- package/dist/commands/inspect/facts.js +3 -3
- package/dist/commands/inspect/layout.js +1 -1
- package/dist/commands/orgs.js +2 -2
- package/dist/commands/render.js +2 -2
- package/dist/help.js +4 -4
- package/dist/main.js +8 -7
- package/dist/node_modules/@allyhub/3d-extension/dist/stage-routes.js +1 -1
- package/dist/node_modules/@allyhub/3d-extension/package.json +34 -2
- package/dist/node_modules/@allyhub/audio/package.json +1 -1
- package/dist/node_modules/@allyhub/browser/dist/emoji.d.ts +29 -0
- package/dist/node_modules/@allyhub/browser/dist/emoji.js +57 -0
- package/dist/node_modules/@allyhub/browser/dist/picture.d.ts +18 -0
- package/dist/node_modules/@allyhub/browser/dist/picture.js +2 -0
- package/dist/node_modules/@allyhub/browser/package.json +9 -1
- package/dist/node_modules/@allyhub/build/dist/index.d.ts +1 -0
- package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +7 -0
- package/dist/node_modules/@allyhub/build/dist/made-notes.d.ts +9 -0
- package/dist/node_modules/@allyhub/build/dist/made-notes.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +17 -0
- package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +7 -0
- package/dist/node_modules/@allyhub/build/package.json +1 -1
- package/dist/node_modules/@allyhub/canvas-extension/package.json +2 -1
- package/dist/node_modules/@allyhub/canvas-extension/skills/allyhub/references/canvas.md +4 -24
- package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +2 -2
- package/dist/node_modules/@allyhub/chart/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/chart/package.json +1 -1
- package/dist/node_modules/@allyhub/check/package.json +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +10 -0
- package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +9 -0
- package/dist/node_modules/@allyhub/cloud/dist/config.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +4 -4
- package/dist/node_modules/@allyhub/cloud/dist/credentials.js +2 -2
- package/dist/node_modules/@allyhub/cloud/dist/device.d.ts +12 -0
- package/dist/node_modules/@allyhub/cloud/dist/device.js +2 -0
- package/dist/node_modules/@allyhub/cloud/package.json +1 -1
- package/dist/node_modules/@allyhub/components/package.json +1 -1
- package/dist/node_modules/@allyhub/components/r/callout.json +1 -1
- package/dist/node_modules/@allyhub/components/src/callout.ts +98 -13
- package/dist/node_modules/@allyhub/dev-server/dist/exports.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/inputs.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 +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/ports.js +2 -0
- 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/respond.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/reveal.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/routes.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/watcher.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
- package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +7 -0
- package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
- package/dist/node_modules/@allyhub/doc/dist/captions.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/docx.js +4 -4
- package/dist/node_modules/@allyhub/doc/dist/html.js +51 -92
- package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/page.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/table.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/write.js +22 -22
- package/dist/node_modules/@allyhub/doc/package.json +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/package.json +19 -6
- package/dist/node_modules/@allyhub/doc-print/dist/pages.js +5 -5
- package/dist/node_modules/@allyhub/doc-print/dist/print.js +10 -10
- 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/faces.d.ts +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +87 -1
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +89 -0
- package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/note-shape.d.ts +20 -0
- package/dist/node_modules/@allyhub/formats/dist/note-shape.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +50 -0
- package/dist/node_modules/@allyhub/formats/package.json +1 -1
- package/dist/node_modules/@allyhub/i18n/package.json +1 -1
- package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
- package/dist/node_modules/@allyhub/image-extension/dist/export.js +4 -1
- package/dist/node_modules/@allyhub/image-extension/package.json +16 -6
- package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +7 -39
- 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/package.json +1 -1
- package/dist/node_modules/@allyhub/jobs/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/article-build.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/article-kind.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/build.js +5 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/stage-module.js +82 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/package.json +287 -0
- package/dist/node_modules/@allyhub/linkedin-extension/skills/allyhub/references/linkedin.md +12 -0
- package/dist/node_modules/@allyhub/linkedin-model/LICENSE +241 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/article-check.js +5 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/article.js +3 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/count.js +3 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/edit.js +3 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/html.js +19 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/limits.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/little.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/post.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/requests.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/package.json +14 -0
- package/dist/node_modules/@allyhub/linkedin-view/LICENSE +241 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/article.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/fold.js +3 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/post.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/text.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-view/package.json +21 -0
- package/dist/node_modules/@allyhub/linkedin-view/src/style.css +600 -0
- package/dist/node_modules/@allyhub/measure/package.json +1 -1
- package/dist/node_modules/@allyhub/media/package.json +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/package.json +7 -4
- package/dist/node_modules/@allyhub/model/package.json +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
- package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +2 -0
- package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +16 -0
- package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +1 -1
- package/dist/node_modules/@allyhub/piece/dist/page/index.js +1 -1
- package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +14 -1
- package/dist/node_modules/@allyhub/piece/dist/page/locate.js +1 -1
- package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +18 -0
- package/dist/node_modules/@allyhub/piece/package.json +1 -1
- package/dist/node_modules/@allyhub/project/dist/version.js +1 -1
- package/dist/node_modules/@allyhub/project/package.json +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +140 -0
- package/dist/node_modules/@allyhub/protocol/dist/account.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +19 -1
- package/dist/node_modules/@allyhub/protocol/dist/auth.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +157 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +10 -2
- package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +101 -186
- package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +1 -0
- package/dist/node_modules/@allyhub/protocol/dist/mail.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +92 -94
- package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +17 -0
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +7 -0
- package/dist/node_modules/@allyhub/protocol/dist/teams.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +15 -3
- package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/protocol/package.json +1 -1
- package/dist/node_modules/@allyhub/registry/package.json +1 -1
- package/dist/node_modules/@allyhub/render/dist/encode.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/look.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/render.js +2 -2
- package/dist/node_modules/@allyhub/render/package.json +1 -1
- package/dist/node_modules/@allyhub/report-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/report-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/check.js +3 -0
- package/dist/node_modules/@allyhub/report-extension/dist/cli/find.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/cli/index.js +5 -0
- package/dist/node_modules/@allyhub/report-extension/dist/cli/picture.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/inline.js +58 -0
- package/dist/node_modules/@allyhub/report-extension/dist/page.js +21 -0
- package/dist/node_modules/@allyhub/report-extension/dist/project-tools.js +21 -0
- package/dist/node_modules/@allyhub/report-extension/dist/styles.js +5 -0
- package/dist/node_modules/@allyhub/report-extension/dist/theme.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/package.json +182 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/STYLE.md +132 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.css +105 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.json +17 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/tokens.js +38 -0
- package/dist/node_modules/@allyhub/runtime/dist/compose.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/embed.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/player/clips.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/player/player.js +1 -1
- package/dist/node_modules/@allyhub/runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
- package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery/dist/index.d.ts +2 -2
- package/dist/node_modules/@allyhub/scenery/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/scenery/dist/moire.d.ts +45 -5
- package/dist/node_modules/@allyhub/scenery/dist/moire.js +2 -2
- package/dist/node_modules/@allyhub/scenery/dist/phone.d.ts +4 -3
- package/dist/node_modules/@allyhub/scenery/dist/phone.js +1 -1
- package/dist/node_modules/@allyhub/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.d.ts +7 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.d.ts +4 -3
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/page/screens.d.ts +8 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/page/screens.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/viewer.d.ts +6 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/viewer.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/coerce.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/criteria.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/date.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/define.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/info.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/kernels.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/lookup.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/maths.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/text.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/indexes.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/types.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/export.js +2 -4
- package/dist/node_modules/@allyhub/sheet/dist/formula/move.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/formula/parse.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/formula/print.js +1 -1
- 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/printed.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/values.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/write.js +15 -15
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/formula.js +2 -2
- 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/sax.js +3 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/xml.js +3 -2
- package/dist/node_modules/@allyhub/sheet/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +2 -6
- package/dist/node_modules/@allyhub/sheet-extension/package.json +24 -9
- package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
- package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/package.json +22 -16
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.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 +1 -1
- 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 +5 -5
- 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/caladea/400-italic.css +19 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400.css +19 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700-italic.css +19 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700.css +19 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/cambria.css +76 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400-italic.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700-italic.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/courier-new.css +316 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400-italic.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700-italic.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/times-new-roman.css +316 -0
- package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/install.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.html +3 -0
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +18 -18
- package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/schema.js +1 -1
- package/dist/node_modules/@allyhub/video-core/package.json +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/package.json +17 -4
- package/dist/node_modules/@allyhub/video-measure/dist/version.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/package.json +1 -1
- package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +1 -1
- package/dist/node_modules/@allyhub/video-sdk/package.json +1 -1
- package/dist/node_modules/@allyhub/website/package.json +1 -1
- package/dist/node_modules/@allyhub/website-extension/dist/held.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/dist/preview.js +5 -5
- package/dist/node_modules/@allyhub/website-extension/dist/project-tools.js +24 -1
- package/dist/node_modules/@allyhub/website-extension/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/website-extension/package.json +49 -2
- package/dist/node_modules/@allyhub/x-extension/dist/build.js +4 -3
- package/dist/node_modules/@allyhub/x-extension/package.json +43 -15
- package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +7 -62
- package/dist/node_modules/@allyhub/x-model/package.json +1 -1
- package/dist/node_modules/@allyhub/x-view/dist/article.js +1 -1
- package/dist/node_modules/@allyhub/x-view/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/x-view/dist/post.js +2 -2
- package/dist/node_modules/@allyhub/x-view/package.json +1 -1
- package/dist/package.json +12 -10
- package/dist/text/facts-text.js +5 -5
- package/dist/text/index.js +1 -1
- package/dist/text/long-text.js +4 -0
- package/dist/works.js +1 -1
- package/editor-web/assets/{abnfDiagram-WEYOIA3C-CN5PiJYY.js → abnfDiagram-WEYOIA3C-BKmMA6gn.js} +1 -1
- package/editor-web/assets/{architecture-WOLXFQ4H-BnvZtQYk.js → architecture-WOLXFQ4H-BEFBgb4k.js} +1 -1
- package/editor-web/assets/{architectureDiagram-ZHVYKT53-tkcEcFQ8.js → architectureDiagram-ZHVYKT53-_u5YfCjY.js} +1 -1
- package/editor-web/assets/{arrow-up-DTP2yVSU.js → arrow-up-B5rJbBv0.js} +1 -1
- package/editor-web/assets/article-BUmD3xtR.js +8 -0
- package/editor-web/assets/article-DNioBb3p.js +7 -0
- package/editor-web/assets/{audio-lines-Ti8-m7H2.js → audio-lines-CzuzsGjI.js} +1 -1
- package/editor-web/assets/{blockDiagram-RJAE7QA3-DhqEIpie.js → blockDiagram-RJAE7QA3-DybfaO3Z.js} +1 -1
- package/editor-web/assets/bookmark-Dsd3kHJJ.js +1 -0
- package/editor-web/assets/button-eGxLxbv9.js +41 -0
- package/editor-web/assets/{c4Diagram-XDPPPE54-Bg9G95tl.js → c4Diagram-XDPPPE54-BfqLHB5i.js} +1 -1
- package/editor-web/assets/calc-worker-D2pGis6e.js +45 -0
- package/editor-web/assets/channel-TNPgFDrw.js +1 -0
- package/editor-web/assets/chart-C37xvZT2.js +1 -0
- package/editor-web/assets/chart-no-axes-column-BVkeF_Mr.js +1 -0
- package/editor-web/assets/{chunk-2E7WHVMD-C8Ve9lAa.js → chunk-2E7WHVMD-BVp1I_d0.js} +1 -1
- package/editor-web/assets/{chunk-4EMNKR2T-BDWwPUnT.js → chunk-4EMNKR2T-CTdgWEMr.js} +1 -1
- package/editor-web/assets/{chunk-55XCU76K-BQiNPKgx.js → chunk-55XCU76K-7pnsxeaP.js} +1 -1
- package/editor-web/assets/{chunk-7S6XSTFO-QoEt-6jf.js → chunk-7S6XSTFO-Dc0Dvkq7.js} +1 -1
- package/editor-web/assets/{chunk-AQDTSKZB-BeuwIv0-.js → chunk-AQDTSKZB-VAILIsfx.js} +1 -1
- package/editor-web/assets/{chunk-DSNLSHJZ-BHW7sLAz.js → chunk-DSNLSHJZ-CUDx1Rv5.js} +1 -1
- package/editor-web/assets/{chunk-HAGFOTED-bbGED0hu.js → chunk-HAGFOTED-DAoEe-dJ.js} +1 -1
- package/editor-web/assets/{chunk-HNE4Q36P-FltWp8yo.js → chunk-HNE4Q36P-g0akya12.js} +1 -1
- package/editor-web/assets/{chunk-NQOKRVIF-NeQzr6kH.js → chunk-NQOKRVIF-hTGjzXdJ.js} +1 -1
- package/editor-web/assets/{chunk-UHW7PFBP-eA4-WUhn.js → chunk-UHW7PFBP-BgLV8BIJ.js} +1 -1
- package/editor-web/assets/{chunk-VQ5W62QI-BPPv325z.js → chunk-VQ5W62QI-Bw19OOSD.js} +1 -1
- package/editor-web/assets/{chunk-WQQL4CDK-DOCIz7Te.js → chunk-WQQL4CDK-CMST9dyE.js} +1 -1
- package/editor-web/assets/{chunk-YZO67HFG-Dc_ihQJi.js → chunk-YZO67HFG-Bbpu36XF.js} +1 -1
- package/editor-web/assets/{chunk-ZAUX2LTX-CoqwCPSm.js → chunk-ZAUX2LTX-C48Ri0Gs.js} +1 -1
- package/editor-web/assets/{chunk-ZCHMQSOR-CZUQPkJx.js → chunk-ZCHMQSOR-DN1g01Oe.js} +1 -1
- package/editor-web/assets/{classDiagram-v2-4MYWR3UA-DUh9c50k.js → classDiagram-v2-4MYWR3UA-U6jbPr2d.js} +1 -1
- package/editor-web/assets/collaborator-B1u2td9m.js +1 -0
- package/editor-web/assets/createLucideIcon-GFZ_fxLc.js +1 -0
- package/editor-web/assets/{cynefin-EF2NZ3EQ-DUTZiog0.js → cynefin-EF2NZ3EQ-gzkai_7-.js} +1 -1
- package/editor-web/assets/{cynefinDiagram-WF24UDRP-oAjpfbrU.js → cynefinDiagram-WF24UDRP-DtSekSr6.js} +1 -1
- package/editor-web/assets/{dagre-NK4GIZVX-BrKvKCvb.js → dagre-NK4GIZVX-CiUwYVT6.js} +1 -1
- package/editor-web/assets/{diagram-CBK3MWTC-GekVRnmm.js → diagram-CBK3MWTC-r9XHCV-k.js} +1 -1
- package/editor-web/assets/{diagram-I5XIIV2D-CDd1VFRT.js → diagram-I5XIIV2D-DxVsDZ34.js} +1 -1
- package/editor-web/assets/{diagram-ODIL2UCW-535RISTn.js → diagram-ODIL2UCW-B0eNQoHV.js} +1 -1
- package/editor-web/assets/{diagram-PFBEJUXE-MXzzKCGG.js → diagram-PFBEJUXE-C7f2MfJT.js} +1 -1
- package/editor-web/assets/{diagram-RJA3I4VV-vKVwkQxY.js → diagram-RJA3I4VV-CSXcnvct.js} +1 -1
- package/editor-web/assets/{diagram-TYUNFSNR-UwGAiQLx.js → diagram-TYUNFSNR-DXzOD_ii.js} +1 -1
- package/editor-web/assets/dist-BGRwhCQO.js +1 -0
- package/editor-web/assets/{dist-9ymlIMhr.js → dist-BW4X7BrF.js} +1 -1
- package/editor-web/assets/dist-BgDRE85b.js +2 -0
- package/editor-web/assets/dist-Blq5nJnU.js +24 -0
- package/editor-web/assets/dist-BuWaZ3Y4.js +274 -0
- package/editor-web/assets/dist-C1emZ9wX.js +37 -0
- package/editor-web/assets/dist-CC7OeU1e.js +6 -0
- package/editor-web/assets/dist-CX-fiPSn.js +38 -0
- package/editor-web/assets/dist-C_VvG-_9.js +5 -0
- package/editor-web/assets/dist-Ce7HrBxv.js +3 -0
- package/editor-web/assets/dist-D2k6w-_a.js +1 -0
- package/editor-web/assets/dist-DDv_SbKw.js +84 -0
- package/editor-web/assets/dist-DEoEO4zs.js +1 -0
- package/editor-web/assets/dist-DlDxxPIP.js +16 -0
- package/editor-web/assets/dist-Gz6NDS0J.js +4 -0
- package/editor-web/assets/{ebnfDiagram-V4P3TTPT-73yGokYa.js → ebnfDiagram-V4P3TTPT-Cs4YRvDD.js} +1 -1
- package/editor-web/assets/{elk-QONTBCTQ-BW6V9y6a.js → elk-QONTBCTQ-Bh3LZ9WI.js} +1 -1
- package/editor-web/assets/{erDiagram-KYQIGQAA-BPqIJ22h.js → erDiagram-KYQIGQAA-C4vYTYXp.js} +1 -1
- package/editor-web/assets/{eventmodeling-K75KTNOO-_VZ8jvuy.js → eventmodeling-K75KTNOO-BN1kkHWS.js} +1 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-B04NGsyi.js +1 -0
- package/editor-web/assets/{ganttDiagram-R7GPNTJY-DZ157JN2.js → ganttDiagram-R7GPNTJY-CA1LkkC5.js} +1 -1
- package/editor-web/assets/{gitGraph-VSP46ZUC-fmcNL9bq.js → gitGraph-VSP46ZUC-Dy5tA7dG.js} +1 -1
- package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-DiZDyksR.js → gitGraphDiagram-PDYL7XHY-hJIB8EkH.js} +1 -1
- package/editor-web/assets/hint-B8JpEypy.js +1 -0
- package/editor-web/assets/index-CgB5osVc.js +28 -0
- package/editor-web/assets/index-Daytem9N.css +2 -0
- package/editor-web/assets/{info-OHQRW6UA-V06620kN.js → info-OHQRW6UA-DvzSf7rQ.js} +1 -1
- package/editor-web/assets/{infoDiagram-MVDRKAX5-CbIgheWX.js → infoDiagram-MVDRKAX5-BjIMm4Af.js} +1 -1
- package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-D5oJQPkG.js → ishikawaDiagram-HPEHV2GE-Bpz71S40.js} +1 -1
- package/editor-web/assets/{italic-CDhZKo_q.js → italic-D10w8n6C.js} +1 -1
- package/editor-web/assets/{journeyDiagram-BOSHW7O7-BZEv6JI4.js → journeyDiagram-BOSHW7O7-DAB-pZjD.js} +1 -1
- package/editor-web/assets/{kanban-definition-FNSA4HC5-CLG1R8y_.js → kanban-definition-FNSA4HC5-cYeyh3P6.js} +1 -1
- package/editor-web/assets/katex-5Z2zF-9g.js +257 -0
- package/editor-web/assets/link-BC5xK1-1.js +1 -0
- package/editor-web/assets/{mermaid-parser.core-DxDwXM7z.js → mermaid-parser.core-req5LE0X.js} +3 -3
- package/editor-web/assets/{mermaid.core-tU55ZwVG.js → mermaid.core-zFwZug4C.js} +4 -4
- package/editor-web/assets/{mindmap-definition-6OY57UG3-CYf4zzAh.js → mindmap-definition-6OY57UG3-TStWb7DG.js} +1 -1
- package/editor-web/assets/minus-DaWs5i8B.js +1 -0
- package/editor-web/assets/{packet-JDAUHWVQ-DsHeKYNL.js → packet-JDAUHWVQ-smFhVKcB.js} +1 -1
- package/editor-web/assets/palette-BIOudGkm.js +1 -0
- package/editor-web/assets/{pegDiagram-ECIUJNBX-CQyh6TTa.js → pegDiagram-ECIUJNBX-DvSNRv0-.js} +1 -1
- package/editor-web/assets/{pie-XZMESJXO-3vCIvpNB.js → pie-XZMESJXO-qjaGsBZG.js} +1 -1
- package/editor-web/assets/{pieDiagram-GNMPY74T-DF5yGBLn.js → pieDiagram-GNMPY74T-Dd9P-Pdc.js} +1 -1
- package/editor-web/assets/play-CrMmPghG.js +1 -0
- package/editor-web/assets/progress-DE4C5_3x.js +6 -0
- package/editor-web/assets/props-form-CsmDBqzy.js +1 -0
- package/editor-web/assets/{quadrantDiagram-D57K4MC3-B7pxlDYP.js → quadrantDiagram-D57K4MC3-h2IIKUUA.js} +1 -1
- package/editor-web/assets/{radar-ABXABTNO-cpEA41mL.js → radar-ABXABTNO-DlVrSA1d.js} +1 -1
- package/editor-web/assets/{railroad-I3PHUGI6-BLyy5R2c.js → railroad-I3PHUGI6-nFbuLAtc.js} +1 -1
- package/editor-web/assets/{railroad-abnf-LNEFI6M7-Y-oyol19.js → railroad-abnf-LNEFI6M7-Daj8h2iV.js} +1 -1
- package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-o58wHZsr.js → railroad-ebnf-DWYD2UWJ-eYJyl5PH.js} +1 -1
- package/editor-web/assets/{railroad-peg-JR7BVNR7-CcD3PXZ8.js → railroad-peg-JR7BVNR7-BTRhKZQq.js} +1 -1
- package/editor-web/assets/{railroadDiagram-Y72NRBL7-BuCC4eyy.js → railroadDiagram-Y72NRBL7-CeLGUjdp.js} +1 -1
- package/editor-web/assets/react-WA6wlt8S.js +1 -0
- package/editor-web/assets/{repeat-2-C5PCbNsg.js → repeat-2-VQP1EVOZ.js} +1 -1
- package/editor-web/assets/{requirementDiagram-EQYSW5RA-Dp-JFGn4.js → requirementDiagram-EQYSW5RA-Dmk9XRM5.js} +1 -1
- package/editor-web/assets/row-BRlEWRrK.js +1 -0
- package/editor-web/assets/{sankeyDiagram-SY24JHO5-rYuCqEvw.js → sankeyDiagram-SY24JHO5-Yn4zlrAM.js} +1 -1
- package/editor-web/assets/schemas-VikZYZIK.js +1 -0
- package/editor-web/assets/{sequenceDiagram-BLEHNHQU-DryW8x6d.js → sequenceDiagram-BLEHNHQU-BTRnp_PW.js} +1 -1
- package/editor-web/assets/session-Do9AqS38.js +1 -0
- package/editor-web/assets/slides-diTEQ3C5.js +1 -0
- package/editor-web/assets/snapshots-BUGlKQIB.js +56 -0
- package/editor-web/assets/sound-Bj3o9_Fa.js +1 -0
- package/editor-web/assets/split-CNU1RHcX.js +3 -0
- package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-Bnp0XfpT.js → stateDiagram-v2-A6IESKWZ-kstrRKv2.js} +1 -1
- package/editor-web/assets/{strikethrough-DJckA35o.js → strikethrough-CfXx6IYH.js} +1 -1
- package/editor-web/assets/{svg-BjM9RazX.js → svg-Cx50MpxK.js} +1 -1
- package/editor-web/assets/swatch-WeJD41aW.js +1 -0
- package/editor-web/assets/{swimlanes-B3ENRKFQ-BiRRhhbd.js → swimlanes-B3ENRKFQ-DaZsZkeP.js} +1 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-CBZAujYY.js +8 -0
- package/editor-web/assets/switch-N0G_sbqt.js +1 -0
- package/editor-web/assets/syntax-BVsgRJ4I.js +66 -0
- package/editor-web/assets/syntax-oWsKBWFw.js +1 -0
- package/editor-web/assets/table-B6hVZAMi.js +1 -0
- package/editor-web/assets/tabs-DIFDqj-l.js +1 -0
- package/editor-web/assets/{textarea-BGtPqZdB.js → textarea-tEWvBY9p.js} +1 -1
- package/editor-web/assets/{timeline-definition-JXYKGLGB-D-Q5ZtDF.js → timeline-definition-JXYKGLGB-CLCvY-Yf.js} +1 -1
- package/editor-web/assets/{trash-2-Bjj6cWzP.js → trash-2-BP6nqpg2.js} +1 -1
- package/editor-web/assets/{treeView-D4JQ5SDB-B6DDatXq.js → treeView-D4JQ5SDB-BmN0gwdC.js} +1 -1
- package/editor-web/assets/{treemap-SAJKECNS-D7j5ZhiI.js → treemap-SAJKECNS-DN29G_E_.js} +1 -1
- package/editor-web/assets/{undo-2-yOSG766T.js → undo-2-CHR0nvWL.js} +1 -1
- package/editor-web/assets/{usecaseDiagram-WPOLBNNX-tkrdKUJB.js → usecaseDiagram-WPOLBNNX-DTRS54cB.js} +1 -1
- package/editor-web/assets/{vennDiagram-Q3Y3IDCW-Ch4XbSnD.js → vennDiagram-Q3Y3IDCW-DAAc11Hx.js} +1 -1
- package/editor-web/assets/video-BlvmR8BK.js +1 -0
- package/editor-web/assets/{wardley-7MLQ67FV-Bynt7qNQ.js → wardley-7MLQ67FV-B-UYkmdB.js} +1 -1
- package/editor-web/assets/{wardleyDiagram-IVAIDKWA-DRuSgm_L.js → wardleyDiagram-IVAIDKWA-BmbwCaky.js} +1 -1
- package/editor-web/assets/words-D_4T9Adq.js +3 -0
- package/editor-web/assets/words-WgdEQdYP.js +2 -0
- package/editor-web/assets/{xychartDiagram-4URNHDU4-DctpvfkL.js → xychartDiagram-4URNHDU4-ChAfAq1U.js} +1 -1
- package/editor-web/index.html +6 -5
- package/package.json +8 -2
- package/editor-web/assets/alt-BOVao_9S.js +0 -4
- package/editor-web/assets/article-B6YCzhj8.js +0 -73
- package/editor-web/assets/calc-worker-B5-fDWnb.js +0 -45
- package/editor-web/assets/channel-C26aBI4o.js +0 -1
- package/editor-web/assets/chart-BOnxneyw.js +0 -1
- package/editor-web/assets/choice-O5nwc2N0.js +0 -1
- package/editor-web/assets/collaborator-BJU5qwHd.js +0 -1
- package/editor-web/assets/createLucideIcon-B3B95oX5.js +0 -1
- package/editor-web/assets/dist-C6NqUEG4.js +0 -16
- package/editor-web/assets/dist-C9UGmCG9.js +0 -6
- package/editor-web/assets/dist-CAk5bjBm.js +0 -1
- package/editor-web/assets/dist-CKyfo5RM.js +0 -340
- package/editor-web/assets/dist-CRaWqNwq.js +0 -37
- package/editor-web/assets/dist-CwIBc7HQ.js +0 -1
- package/editor-web/assets/dist-DXRmkezB.js +0 -38
- package/editor-web/assets/dist-EKK5i0dG.js +0 -219
- package/editor-web/assets/dist-hHJlpLWo.js +0 -5
- package/editor-web/assets/dist-oYKcwWUj.js +0 -4
- package/editor-web/assets/dist-shKo7XVN.js +0 -2
- package/editor-web/assets/dist-wrKxBrVu.js +0 -24
- package/editor-web/assets/flowDiagram-IUGLLWBU-ouDQYiTr.js +0 -1
- package/editor-web/assets/hint-_AQWCDMj.js +0 -1
- package/editor-web/assets/index-BsstP-cI.js +0 -28
- package/editor-web/assets/index-DQRcmxBO.css +0 -2
- package/editor-web/assets/minus-Cgmm6ncD.js +0 -1
- package/editor-web/assets/progress-0B_TVsPi.js +0 -6
- package/editor-web/assets/react-BP46yLMB.js +0 -1
- package/editor-web/assets/react-pgBZqVxJ.js +0 -96
- package/editor-web/assets/schemas-Ewwjtbf4.js +0 -1
- package/editor-web/assets/session-DiI9KYRI.js +0 -1
- package/editor-web/assets/slides-CCwgBcGH.js +0 -1
- package/editor-web/assets/sound-CqryteNl.js +0 -1
- package/editor-web/assets/swatch-DL3HqIjW.js +0 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-BkOls8Tv.js +0 -8
- package/editor-web/assets/switch-DltnKqN-.js +0 -1
- package/editor-web/assets/syntax-CC6QYhCz.js +0 -1
- package/editor-web/assets/tabs-C-re0Kxn.js +0 -1
- package/editor-web/assets/video-DXFiCNGc.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{PRESETS as
|
|
2
|
+
import{PRESETS as O}from"../generated/presets.js";export const PRESET_NAMES=Object.keys(O);export function presetAdjustments(s){return(O[s]?.av??[]).map(([e,o])=>({name:e,value:Number(o.split(/\s+/u)[1]??0)}))}const T=6e4,C=s=>s/T*(Math.PI/180);function A(s,e){const o=Math.min(s,e),c=new Map([["w",s],["h",e],["l",0],["t",0],["r",s],["b",e],["hc",s/2],["vc",e/2],["ls",Math.max(s,e)],["ss",o],["cd2",108e5],["cd4",54e5],["cd8",27e5],["3cd4",162e5],["3cd8",81e5],["5cd8",135e5],["7cd8",189e5]]);for(const t of[2,3,4,5,6,8,10,12,32])c.set(`wd${String(t)}`,s/t),c.set(`hd${String(t)}`,e/t);for(const t of[2,4,6,8,16,32])c.set(`ssd${String(t)}`,o/t);return c}function Z(s,e){const[o="",...c]=s.trim().split(/\s+/u),[t=0,n=0,a=0]=c.map(r=>e.get(r)??Number(r));switch(o){case"*/":return a===0?0:t*n/a;case"+-":return t+n-a;case"+/":return a===0?0:(t+n)/a;case"?:":return t>0?n:a;case"abs":return Math.abs(t);case"at2":return Math.atan2(n,t)*180*T/Math.PI;case"cat2":return t*Math.cos(Math.atan2(a,n));case"cos":return t*Math.cos(C(n));case"max":return Math.max(t,n);case"min":return Math.min(t,n);case"mod":return Math.sqrt(t*t+n*n+a*a);case"pin":return n<t?t:n>a?a:n;case"sat2":return t*Math.sin(Math.atan2(a,n));case"sin":return t*Math.sin(C(n));case"sqrt":return Math.sqrt(t);case"tan":return t*Math.tan(C(n));case"val":return t;default:return 0}}const y=s=>String(Math.round(s*1e3)/1e3);function B(s,e,o,c,t,n,a=o,r=c){const _=d=>Math.atan2(a*Math.sin(C(d)),r*Math.cos(C(d))),u=_(t),m=n<0?-1:1,l=Math.floor(Math.abs(n)/216e5),b=Math.abs(n)-l*216e5;let h=_(t+m*b)-u;for(;m*h<0;)h+=m*2*Math.PI;b===0&&(h=0);const i=u+h+m*l*2*Math.PI,M=s-o*Math.cos(u),p=e-c*Math.sin(u),x=Math.max(1,Math.ceil(Math.abs(i-u)/(Math.PI/2)-1e-9)),S=(i-u)/x,$=4/3*Math.tan(S/4),g=[];let f=u;for(let d=0;d<x;d++){const k=f+S,[v,P,I,H]=[Math.cos(f),Math.sin(f),Math.cos(k),Math.sin(k)];g.push(`C ${y(M+o*(v-$*P))} ${y(p+c*(P+$*v))} ${y(M+o*(I+$*H))} ${y(p+c*(H-$*I))} ${y(M+o*I)} ${y(p+c*H)}`),f=k}return{d:g,x:M+o*Math.cos(i),y:p+c*Math.sin(i)}}function q(s,e,o,c){const t=A(e,o);for(const[n,a]of s.av??[])t.set(n,c[n]??Z(a,t));for(const[n,a]of s.gd??[])t.set(n,Z(a,t));return t}const E=(s,e)=>e.get(s)??Number(s);export function evaluate(s,e,o,c={}){const t=q(s,e,o,c),n=l=>E(l,t),a=s.paths.map(l=>{const b=l.w?e/l.w:1,h=l.h?o/l.h:1,i=l.d.split(" "),M=[];let p=0,x=0,S={x:0,y:0};for(let $=0;$<i.length;){const g=i[$++],f=()=>n(i[$++]??"0");if(g==="M"||g==="L")p=f()*b,x=f()*h,g==="M"&&(S={x:p,y:x}),M.push(`${g} ${y(p)} ${y(x)}`);else if(g==="Q"){const[d,k]=[f()*b,f()*h],[v,P]=[f()*b,f()*h];M.push(`C ${y(p+2/3*(d-p))} ${y(x+2/3*(k-x))} ${y(v+2/3*(d-v))} ${y(P+2/3*(k-P))} ${y(v)} ${y(P)}`),[p,x]=[v,P]}else if(g==="C"){const d=[f()*b,f()*h,f()*b,f()*h,f()*b,f()*h];M.push(`C ${d.map(y).join(" ")}`),[p,x]=[d[4]??0,d[5]??0]}else if(g==="A"){const[d,k,v,P]=[f(),f(),f(),f()],I=B(p,x,d*b,k*h,v,P,d,k);M.push(...I.d),[p,x]=[I.x,I.y]}else g==="Z"&&(M.push("Z"),[p,x]=[S.x,S.y])}return{d:M.join(" "),fill:l.fill??"norm",stroke:l.stroke!==!1}}),[r="l",_="t",u="r",m="b"]=s.text??[];return{paths:a,text:{left:n(r),top:n(_),right:n(u),bottom:n(m)}}}export function presetOutline(s,e,o,c=[]){const t=O[s];if(t)return evaluate(t,e,o,N(t,c))}function N(s,e){const o={};return(s.av??[]).forEach(([c],t)=>{const n=e[t];n!==void 0&&(o[c]=n*1e5)}),o}const z=(s,e)=>({x:E(s.pos[0],e),y:E(s.pos[1],e)});export function presetHandles(s,e,o,c=[]){const t=O[s];if(!t?.ah)return[];const n=q(t,e,o,N(t,c));return t.ah.map((a,r)=>({index:r,...z(a,n)}))}export function presetSites(s,e,o,c=[]){const t=O[s];if(!t?.cxn)return[];const n=q(t,e,o,N(t,c));return t.cxn.map(([a,r,_],u)=>({index:u,x:E(a,n),y:E(r,n),angle:E(_,n)/6e4}))}const L=64,j=(Math.sqrt(5)-1)/2;function D(s,e,o){if(o<=e)return e;const c=(o-e)/L;let t=0,n=1/0;for(let h=0;h<=L;h++){const i=s(e+h*c);i<n&&([t,n]=[h,i])}let a=e+Math.max(0,t-1)*c,r=e+Math.min(L,t+1)*c,_=r-j*(r-a),u=a+j*(r-a),m=s(_),l=s(u);for(let h=0;h<80&&r-a>1e-6;h++)m<l?([r,u,l]=[u,_,m],_=r-j*(r-a),m=s(_)):([a,_,m]=[_,u,l],u=a+j*(r-a),l=s(u));const b=(a+r)/2;return s(b)<=n?b:e+t*c}export function adjustedBy(s,e,o,c,t,n){const a=O[s],r=a?.ah?.[t];if(!a||!r)return[...c];const _=q(a,e,o,N(a,c)),u={};for(const[i]of a.av??[])u[i]=_.get(i)??0;const m=[r.x??r.r,r.y??r.ang].filter(i=>i!==void 0),l=i=>{const M=z(r,q(a,e,o,i));return Math.hypot(M.x-n.x,M.y-n.y)},b=1e-9*(Math.abs(e)+Math.abs(o)+1),h=new Set;for(const[i,M,p]of m.length>1?[...m,...m]:m){const x=q(a,e,o,u),[S,$]=[E(M,x),E(p,x)].sort((v,P)=>v-P);if(S===void 0||$===void 0)continue;const g=v=>l({...u,[i]:v}),f=u[i]??0,d=Math.min($,Math.max(S,Math.round(D(g,S,$))));f>=S&&f<=$&&g(f)<=g(d)+b||(u[i]=d,h.add(i))}return(a.av??[]).map(([i],M)=>h.has(i)?(u[i]??0)/1e5:c[M]??(u[i]??0)/1e5)}
|
|
@@ -110,6 +110,8 @@ export interface StageContext {
|
|
|
110
110
|
code: string;
|
|
111
111
|
message: string;
|
|
112
112
|
level?: "error" | "warn";
|
|
113
|
+
/** A fact of the page drawing it (its browser), not of the piece (`Problem.ofPage`). */
|
|
114
|
+
ofPage?: true;
|
|
113
115
|
}): void;
|
|
114
116
|
/**
|
|
115
117
|
* The caption cues shown in this part, on its own clock (seconds from
|
|
@@ -232,6 +232,12 @@ export interface DeckTextLayout {
|
|
|
232
232
|
scale?: number;
|
|
233
233
|
/** Its first paragraph's alignment: the line it is aligned by. */
|
|
234
234
|
align?: "l" | "ctr" | "r" | "just";
|
|
235
|
+
/** A turned shape's box, glyphs and lines measured unturned, in its own frame: what its text overflowing is judged by. */
|
|
236
|
+
own?: {
|
|
237
|
+
box: Box;
|
|
238
|
+
glyphs: Box | null;
|
|
239
|
+
lines: Box[];
|
|
240
|
+
};
|
|
235
241
|
}
|
|
236
242
|
/** A deck's shape as drawn on its slide. */
|
|
237
243
|
export interface DeckShapeLayout {
|
|
@@ -270,6 +276,16 @@ export interface DeckShapeLayout {
|
|
|
270
276
|
/** The part of them shown (its crop). */
|
|
271
277
|
shown: [width: number, height: number];
|
|
272
278
|
};
|
|
279
|
+
/** A line's two ends, where it begins and where it ends: a connector's, or a freeform's whose outline is left open. */
|
|
280
|
+
ends?: [DeckLineEnd, DeckLineEnd];
|
|
281
|
+
}
|
|
282
|
+
/** An end of a deck's line, in the slide's pixels. */
|
|
283
|
+
export interface DeckLineEnd {
|
|
284
|
+
at: [x: number, y: number];
|
|
285
|
+
/** What it has: `none`, `triangle`, `arrow`, `stealth`, `diamond`, `oval`. */
|
|
286
|
+
head: string;
|
|
287
|
+
/** The shape it is glued to, by name. */
|
|
288
|
+
glued?: string;
|
|
273
289
|
}
|
|
274
290
|
/** A deck's slide as drawn at a still: one of its steps'. */
|
|
275
291
|
export interface DeckSlideLayout {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
export{consoleAt,consoleAtAsync,consoleLog,consoleParts,installConsole,resetConsole}from"./console.js";export{locateLayers}from"./locate.js";
|
|
2
|
+
export{consoleAt,consoleAtAsync,consoleLog,consoleParts,installConsole,resetConsole}from"./console.js";export{locateLayers,pickLayer}from"./locate.js";
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import { type NoteShape } from "@allyhub/formats";
|
|
2
|
-
import type { LocatedLayer } from "../stage.js";
|
|
2
|
+
import type { LocatedLayer, PickedLayer } from "../stage.js";
|
|
3
3
|
export declare function locateLayers(root: ParentNode, mark: NoteShape): LocatedLayer[];
|
|
4
|
+
/**
|
|
5
|
+
* The one thing in front at a point of the stage (px of its window), as a
|
|
6
|
+
* browser's inspector finds the element under the pointer: the first
|
|
7
|
+
* element there, front to back, that shows and draws something of its own,
|
|
8
|
+
* in a layer or a footage. A piece of a run of words (a letter or a word
|
|
9
|
+
* in its own span, for its motion) is its run. Its edge is a box with room
|
|
10
|
+
* round it (`edgeOf`): the element's own, turned with it, where it paints
|
|
11
|
+
* one or is a picture; else the box round its words.
|
|
12
|
+
*/
|
|
13
|
+
export declare function pickLayer(doc: Document, at: {
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
}): PickedLayer | undefined;
|
|
4
17
|
//# sourceMappingURL=locate.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{touches as
|
|
2
|
+
import{touches as $}from"@allyhub/formats";import{LAYER_NAME as C}from"../layer.js";const A=3,E=120,T=t=>t.width*t.height;function S(t){if(t instanceof HTMLImageElement||t instanceof HTMLVideoElement||t instanceof HTMLCanvasElement||t instanceof SVGElement||k(t)!=="")return!0;const e=getComputedStyle(t);return e.backgroundColor!=="transparent"&&!/^rgba\(.*,\s*0\)$/u.test(e.backgroundColor)||e.backgroundImage!=="none"||parseFloat(e.borderTopWidth)+parseFloat(e.borderRightWidth)+parseFloat(e.borderBottomWidth)+parseFloat(e.borderLeftWidth)>0}const m=t=>t.closest("[data-ak-piece]")?.dataset.akPiece;function k(t){return[...t.childNodes].filter(e=>e.nodeType===Node.TEXT_NODE).map(e=>e.textContent).join("").trim()}export function locateLayers(t,e){const r=i=>i.width>0&&i.height>0&&$(e,i),d=[],s=[];for(const i of t.querySelectorAll(".ak-layer")){if(!i.checkVisibility({opacityProperty:!0,visibilityProperty:!0})||!r(i.getBoundingClientRect())||![i,...i.querySelectorAll("*")].filter(f=>r(f.getBoundingClientRect())).some(S))continue;const c=i.getAttribute(C)??void 0,a=m(i),l={part:i.closest(".ak-part")?.dataset.key??"",layer:i.dataset.component??"",...c===void 0||c===""?{}:{key:c},...a===void 0?{}:{piece:a}};let y;for(const f of[i,...i.querySelectorAll("*")]){const p=f.getBoundingClientRect();!r(p)||k(f)===""&&!f.hasAttribute("data-ak")||(!y||T(p)<T(y.getBoundingClientRect()))&&(y=f)}if(!y){s.push(l);continue}const x=y.closest("[data-ak]")?.getAttribute("data-ak"),h=k(y).slice(0,E);d.push({...l,...x?{name:x}:{},...h===""?{}:{text:h}})}const o=[];for(const i of t.querySelectorAll(".ak-footage")){const u=i.dataset.akFile,c=(i.querySelector("video")??i).checkVisibility({opacityProperty:!0,visibilityProperty:!0});if(u===void 0||!c||!r(i.getBoundingClientRect()))continue;const a=m(i);o.push({part:i.dataset.akPart??"",layer:"footage",file:u,...a===void 0?{}:{piece:a}})}return[...d,...o,...s].slice(0,A)}const v=t=>t.checkVisibility({opacityProperty:!0,visibilityProperty:!0});function M(t){if(t instanceof HTMLImageElement||t instanceof HTMLVideoElement||t instanceof HTMLCanvasElement||t instanceof SVGElement)return!0;const e=getComputedStyle(t);return e.backgroundColor!=="transparent"&&!/^rgba\(.*,\s*0\)$/u.test(e.backgroundColor)||e.backgroundImage!=="none"||parseFloat(e.borderTopWidth)+parseFloat(e.borderRightWidth)+parseFloat(e.borderBottomWidth)+parseFloat(e.borderLeftWidth)>0}const R={px:2,share:.02};function L(t){if(!(t instanceof HTMLElement)||!t.parentElement)return;const e=t.getBoundingClientRect(),r=getComputedStyle(t),d=t.ownerDocument,s=d.createElement("div");s.style.cssText=["position:absolute","margin:0","padding:0","border:0","box-sizing:border-box","visibility:hidden","pointer-events:none",`left:${String(t.offsetLeft)}px`,`top:${String(t.offsetTop)}px`,`width:${String(t.offsetWidth)}px`,`height:${String(t.offsetHeight)}px`,`transform:${r.transform}`,`transform-origin:${r.transformOrigin}`,`rotate:${r.rotate}`,`scale:${r.scale}`,`translate:${r.translate}`].join(";");const o=(f,p)=>{const g=d.createElement("div");return g.style.cssText=`position:absolute;width:0;height:0;left:${f};top:${p}`,s.append(g),g},i=[o("0","0"),o("100%","0"),o("0","100%")];t.after(s);let u;try{u=i.map(f=>{const p=f.getBoundingClientRect();return{x:p.x,y:p.y}})}finally{s.remove()}const[n,c,a]=u;if(!n||!c||!a)return;const l={x:c.x+a.x-n.x,y:c.y+a.y-n.y},y=[n.x,c.x,a.x,l.x],x=[n.y,c.y,a.y,l.y],h=(f,p,g)=>Math.abs(f-p)>Math.max(R.px,g*R.share);if(!(h(Math.min(...y),e.left,e.width)||h(Math.max(...y),e.right,e.width)||h(Math.min(...x),e.top,e.height)||h(Math.max(...x),e.bottom,e.height)))return{o:n,a:c,b:a}}const F=t=>Math.abs(t.a.y-t.o.y)<.5&&Math.abs(t.b.x-t.o.x)<.5,b={share:.008,least:3};function B(t){const e=t.ownerDocument.defaultView,r=Math.max(b.least,Math.min(e?.innerWidth??0,e?.innerHeight??0)*b.share);let d,s,o;const i=L(t),u=t instanceof SVGGraphicsElement?t.getScreenCTM():null;if(i)({o:d,a:s,b:o}=i);else if(t instanceof SVGGraphicsElement&&u){const n=t.getBBox(),c=getComputedStyle(t),a=c.stroke==="none"?0:(parseFloat(c.strokeWidth)||0)/2,l=(y,x)=>{const h=new DOMPoint(y,x).matrixTransform(u);return{x:h.x,y:h.y}};d=l(n.x-a,n.y-a),s=l(n.x+n.width+a,n.y-a),o=l(n.x-a,n.y+n.height+a)}else{const n=t.getBoundingClientRect();d={x:n.left,y:n.top},s={x:n.right,y:n.top},o={x:n.left,y:n.bottom}}return[W(d,s,o,r)]}function W(t,e,r,d){const s=(n,c)=>{const a=Math.hypot(c.x-n.x,c.y-n.y)||1;return{x:(c.x-n.x)/a*d,y:(c.y-n.y)/a*d}},o=s(t,e),i=s(t,r),u={x:e.x+r.x-t.x,y:e.y+r.y-t.y};return[{x:t.x-o.x-i.x,y:t.y-o.y-i.y},{x:e.x+o.x-i.x,y:e.y+o.y-i.y},{x:u.x+o.x+i.x,y:u.y+o.y+i.y},{x:r.x-o.x+i.x,y:r.y-o.y+i.y}]}function H(t){const e=t.ownerDocument.createRange();e.selectNodeContents(t);const r=[...e.getClientRects()].filter(o=>o.width>0&&o.height>0);if(r.length===0)return;const d=Math.min(...r.map(o=>o.left)),s=Math.min(...r.map(o=>o.top));return{x:d,y:s,width:Math.max(...r.map(o=>o.right))-d,height:Math.max(...r.map(o=>o.bottom))-s}}export function pickLayer(t,e){const r=t.createElement("style");r.textContent="* { pointer-events: auto !important; }",t.head.append(r);let d;try{d=t.elementsFromPoint(e.x,e.y)}finally{r.remove()}for(const s of d){const o=s.closest(".ak-footage"),i=o?.dataset.akFile;if(o&&i!==void 0){if(!v(o.querySelector("video")??o))continue;const w=m(o);return{part:o.dataset.akPart??"",layer:"footage",file:i,...w===void 0?{}:{piece:w},outline:B(o)}}const u=s.closest(".ak-layer");if(!u||!v(s)||!S(s))continue;let n=s;for(;n!==u&&n.parentElement&&getComputedStyle(n).display.startsWith("inline")&&!M(n);)n=n.parentElement;const c=M(n)?void 0:L(n),a=c!==void 0&&!F(c),l=M(n)||a?void 0:H(n),y=t.defaultView,x=l?[W({x:l.x,y:l.y},{x:l.x+l.width,y:l.y},{x:l.x,y:l.y+l.height},Math.max(b.least,Math.min(y?.innerWidth??0,y?.innerHeight??0)*b.share))]:B(n),h=u.getAttribute(C)??void 0,f=m(u),p=n.closest("[data-ak]")?.getAttribute("data-ak"),g=(n instanceof HTMLElement?n.innerText:n.textContent).trim().replace(/\s+/gu," ");return{part:u.closest(".ak-part")?.dataset.key??"",layer:u.dataset.component??"",...h===void 0||h===""?{}:{key:h},...f===void 0?{}:{piece:f},...p?{name:p}:{},...g===""?{}:{text:g.slice(0,E)},outline:x}}}
|
|
@@ -219,9 +219,22 @@ export interface LocatedLayer {
|
|
|
219
219
|
part: string;
|
|
220
220
|
/** Its component. */
|
|
221
221
|
layer: string;
|
|
222
|
+
/** Its key in its part, where it has one (`data-ak-layer`). */
|
|
223
|
+
key?: string;
|
|
222
224
|
/** Its `data-ak` name, when what is under the place has one. */
|
|
223
225
|
name?: string;
|
|
224
226
|
text?: string;
|
|
227
|
+
/** The file it shows (a footage's video), project-relative. */
|
|
228
|
+
file?: string;
|
|
229
|
+
/** The module it is written in, where another item's (a video drawn inside this one), project-relative. */
|
|
230
|
+
piece?: string;
|
|
231
|
+
}
|
|
232
|
+
/** The one layer a person picked at a point (docs/design/notes.md, "Select"): what it is, and its edge, closed rings of points. */
|
|
233
|
+
export interface PickedLayer extends LocatedLayer {
|
|
234
|
+
outline: {
|
|
235
|
+
x: number;
|
|
236
|
+
y: number;
|
|
237
|
+
}[][];
|
|
225
238
|
}
|
|
226
239
|
/** Where a player starts: a moment, or a part and how far into it (the same share of it when its length is no longer `dur`). */
|
|
227
240
|
export interface PlayAt {
|
|
@@ -263,6 +276,11 @@ export interface StageBridge {
|
|
|
263
276
|
play(options: PlayOptions): Promise<PlayControl>;
|
|
264
277
|
/** What a person's mark is on, in shares of the stage. */
|
|
265
278
|
locate(mark: NoteShape): LocatedLayer[];
|
|
279
|
+
/** The one thing in front at a point, with its edge, both in shares of the stage; none where nothing is drawn there. */
|
|
280
|
+
pick(at: {
|
|
281
|
+
x: number;
|
|
282
|
+
y: number;
|
|
283
|
+
}): PickedLayer | undefined;
|
|
266
284
|
/**
|
|
267
285
|
* An item's code as data, its module run and nothing drawn, as the
|
|
268
286
|
* message its editor hears (a deck's DeckCode and theme), from the
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{codeOf as
|
|
2
|
+
import{codeOf as y,fontsDigest as v,ProjectError as h}from"@allyhub/build";import{stageIdentity as $}from"@allyhub/stage";import{COMBO_ID as x,comboIdOf as w,comboKey as f,validCombo as k,comboMatches as j,pieceIs as b,versionLabel as C}from"@allyhub/piece";import{PartPool as S}from"./part-pool.js";import{CheckSession as T}from"./session.js";export{h as ProjectError};export function parseCombo(n){const e=n.trim();if(e==="default")return{};if(/^c\d+(-[A-Za-z0-9._-]+)?$/u.test(e))return{[x]:e};const t={};for(const o of e.split(",")){const r=o.indexOf("="),i=o.slice(0,r).trim(),c=o.slice(r+1).trim();if(r<=0||!i||!c)throw new h("bad-combo",`Cannot read the combo ${n}.`,"usage","Write it as name=value pairs joined with commas (lang=zh-cn,hook=b), or a combo's id (c03).");if(i==="size"||i==="format")throw new h("bad-combo",`${i} is not a dimension of a combo.`,"usage","A piece has one format; another format is a piece of its own.");t[i]=c}return t}function O(n,e){const t=new Set(n.items.filter(o=>e===void 0||b({id:o.id,path:o.entry},e)).map(o=>o.entry));return n.problems.find(o=>o.level==="error"&&o.where?.file!==void 0&&t.has(o.where.file))}export function pickTarget(n,e,t){const o=n.pieces,r=o.map(s=>s.id).join(", ")||"none",i=O(n,e);if(i!==void 0&&!o.some(s=>e===void 0||b({id:s.id,path:s.place},e)))throw new h("not-built",`${i.where?.file??"The piece"} did not build: ${i.message}`,"not-found","allyhub check lists every problem.");const c=n.problems.find(s=>s.level==="error"),m=n.items.length>o.length+n.docs.length+n.sheets.length;if(o.length===0&&m&&c){const s=c.where?.file,l=s!==void 0&&c.message.startsWith(`${s}: `)?c.message.slice(s.length+2):c.message;throw new h("not-built",`${s??"The piece"} did not build: ${l}`,"not-found","allyhub check lists every problem.")}if(o.length===0)throw new h("no-piece","The project has no video or slides.","not-found","A video or a deck is a piece the project's list (allyhub.yaml) names.");let d;if(e===void 0){if(o.length>1)throw new h("many-pieces","The project has more than one piece: name one.","usage",`Pieces: ${r}.`);d=o[0]}else d=o.find(s=>b({id:s.id,path:s.place},e));if(!d)throw new h("no-piece",`No piece ${e??""}.`,"not-found",`Pieces: ${r}.`);const u=t??[],a=d,p=[...a.combos,...extraCombos(a,u)].find(s=>u.length===0||u.some(l=>j(s,l,w(a.matrix,s))));if(!p)throw new h("no-combo",`${a.id} has no such combo.`,"not-found",`Combos: ${a.combos.map(s=>{const l=w(a.matrix,s);return l?`${l} (${f(s)})`:f(s)}).join("; ")}.`);const g=w(a.matrix,p);return{piece:a,target:{piece:a.id,output:a.kind,combo:p,format:a.format,...g===void 0?{}:{id:g}}}}export function kindsNeeded(n){if(!n)throw new Error("A project is opened with the kinds its extensions contribute (KindTable), or with a session that has them.");return n}export class OpenedVersion{session;piece;target;version;ownSession;pool;constructor(e,t,o,r,i){this.session=e,this.piece=t,this.target=o,this.version=r,this.ownSession=i}get prepared(){return this.session.prepared}get gpu(){return this.session.gpu}get browser(){return this.session.browser}another(){return this.session.open(this.piece,this.target,"render")}async code(){const e=this.prepared,t=await v(e.root,e.files,e.fonts);return y(e,this.piece,$(t))}async partStills(e,t){return this.pool??=S.on(this.session,this.piece,this.target,this.version,t),(await this.pool).stills(e)}problems(){return this.version.problems()}console(){return this.version.console()}async close(){await this.version.close(),this.ownSession&&await this.session.close()}static async open(e){const t=e.session??await T.open({root:e.root,kinds:kindsNeeded(e.kinds),...e.gpu===void 0?{}:{gpu:e.gpu},...e.consoleLimit===void 0?{}:{consoleLimit:e.consoleLimit},...e.browser===void 0?{}:{browser:e.browser}}),o=e.session===void 0;try{const{piece:r,target:i}=pickTarget(t.prepared,e.item,e.combos),c=await t.open(r,i,e.purpose);if(!c.summary){const[m]=await c.problems();throw await c.close(),new h("load-failed",m?.message??`${C(i)} did not load.`,"failed","allyhub check lists its problems.")}return new OpenedVersion(t,r,i,c,o)}catch(r){throw o&&await t.close(),r}}}export function extraCombos(n,e){const t=n.matrix;if(!t||!e)return[];const o=new Set(n.combos.map(f)),r=new Map;for(const i of e){const c=f(i);o.has(c)||r.has(c)||k(t.space,n.dims,t.rules,i)&&r.set(c,i)}return[...r.values()]}
|
|
@@ -32,6 +32,11 @@ export declare const ProfileSchema: z.ZodObject<{
|
|
|
32
32
|
name: z.ZodString;
|
|
33
33
|
email: z.ZodString;
|
|
34
34
|
google: z.ZodBoolean;
|
|
35
|
+
v1: z.ZodOptional<z.ZodObject<{
|
|
36
|
+
url: z.ZodURL;
|
|
37
|
+
closesAt: z.ZodISODateTime;
|
|
38
|
+
bonusCredits: z.ZodDefault<z.ZodNumber>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
35
40
|
}, z.core.$strip>;
|
|
36
41
|
export type Profile = z.infer<typeof ProfileSchema>;
|
|
37
42
|
/** The roles of a team, the strongest last. */
|
|
@@ -70,6 +75,10 @@ export declare const ACCOUNT_CALLS: {
|
|
|
70
75
|
renewsAt: z.ZodISODateTime;
|
|
71
76
|
}, z.core.$strip>>>;
|
|
72
77
|
bought: z.ZodDefault<z.ZodNumber>;
|
|
78
|
+
expiring: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
79
|
+
credits: z.ZodNumber;
|
|
80
|
+
expiresAt: z.ZodISODateTime;
|
|
81
|
+
}, z.core.$strip>>>;
|
|
73
82
|
customer: z.ZodDefault<z.ZodBoolean>;
|
|
74
83
|
autoTopUp: z.ZodNullable<z.ZodObject<{
|
|
75
84
|
below: z.ZodNumber;
|
|
@@ -125,6 +134,103 @@ export declare const ACCOUNT_CALLS: {
|
|
|
125
134
|
byKind: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
126
135
|
}, z.core.$strip>>;
|
|
127
136
|
}, z.core.$strip>>;
|
|
137
|
+
readonly catalog: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
138
|
+
version: z.ZodString;
|
|
139
|
+
works: z.ZodArray<z.ZodObject<{
|
|
140
|
+
id: z.ZodString;
|
|
141
|
+
title: z.ZodString;
|
|
142
|
+
description: z.ZodString;
|
|
143
|
+
kind: z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
144
|
+
data: "data";
|
|
145
|
+
ai: "ai";
|
|
146
|
+
}>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>>;
|
|
147
|
+
line: z.ZodOptional<z.ZodString>;
|
|
148
|
+
}, z.core.$strip>>;
|
|
149
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
150
|
+
name: z.ZodString;
|
|
151
|
+
work: z.ZodString;
|
|
152
|
+
title: z.ZodString;
|
|
153
|
+
description: z.ZodString;
|
|
154
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
155
|
+
output: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
156
|
+
long: z.ZodBoolean;
|
|
157
|
+
example: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
158
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
159
|
+
credits: z.ZodNumber;
|
|
160
|
+
per: z.ZodUnion<readonly [z.ZodEnum<{
|
|
161
|
+
call: "call";
|
|
162
|
+
result: "result";
|
|
163
|
+
page: "page";
|
|
164
|
+
second: "second";
|
|
165
|
+
minute: "minute";
|
|
166
|
+
thousand_characters: "thousand_characters";
|
|
167
|
+
image: "image";
|
|
168
|
+
frame: "frame";
|
|
169
|
+
megapixel: "megapixel";
|
|
170
|
+
question: "question";
|
|
171
|
+
phrase: "phrase";
|
|
172
|
+
}>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>;
|
|
173
|
+
varies: z.ZodBoolean;
|
|
174
|
+
}, z.core.$strip>>;
|
|
175
|
+
shown: z.ZodOptional<z.ZodObject<{
|
|
176
|
+
name: z.ZodString;
|
|
177
|
+
line: z.ZodString;
|
|
178
|
+
section: z.ZodUnion<readonly [z.ZodEnum<{
|
|
179
|
+
image: "image";
|
|
180
|
+
video: "video";
|
|
181
|
+
voice: "voice";
|
|
182
|
+
music: "music";
|
|
183
|
+
}>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>;
|
|
184
|
+
}, z.core.$strip>>;
|
|
185
|
+
}, z.core.$strip>>;
|
|
186
|
+
}, z.core.$strip>>;
|
|
187
|
+
readonly editors: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
188
|
+
editors: z.ZodArray<z.ZodObject<{
|
|
189
|
+
id: z.ZodString;
|
|
190
|
+
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
191
|
+
plural: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
192
|
+
line: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
193
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
194
|
+
color: z.ZodOptional<z.ZodString>;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
}, z.core.$strip>>;
|
|
197
|
+
readonly capabilities: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
198
|
+
off: z.ZodObject<{
|
|
199
|
+
works: z.ZodArray<z.ZodString>;
|
|
200
|
+
tools: z.ZodArray<z.ZodString>;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
}, z.core.$strip>>;
|
|
203
|
+
readonly "capabilities/set": AccountCall<z.ZodUnion<readonly [z.ZodObject<{
|
|
204
|
+
work: z.ZodString;
|
|
205
|
+
on: z.ZodBoolean;
|
|
206
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
207
|
+
tool: z.ZodString;
|
|
208
|
+
on: z.ZodBoolean;
|
|
209
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
210
|
+
off: z.ZodObject<{
|
|
211
|
+
works: z.ZodArray<z.ZodString>;
|
|
212
|
+
tools: z.ZodArray<z.ZodString>;
|
|
213
|
+
}, z.core.$strip>;
|
|
214
|
+
}, z.core.$strip>>;
|
|
215
|
+
readonly spends: AccountCall<z.ZodObject<{
|
|
216
|
+
days: z.ZodInt;
|
|
217
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
218
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
219
|
+
spends: z.ZodArray<z.ZodObject<{
|
|
220
|
+
at: z.ZodString;
|
|
221
|
+
kind: z.ZodUnion<readonly [z.ZodEnum<{
|
|
222
|
+
models: "models";
|
|
223
|
+
tools: "tools";
|
|
224
|
+
studio: "studio";
|
|
225
|
+
other: "other";
|
|
226
|
+
}>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>;
|
|
227
|
+
what: z.ZodNullable<z.ZodString>;
|
|
228
|
+
seconds: z.ZodNullable<z.ZodNumber>;
|
|
229
|
+
member: z.ZodNullable<z.ZodString>;
|
|
230
|
+
credits: z.ZodNumber;
|
|
231
|
+
}, z.core.$strip>>;
|
|
232
|
+
more: z.ZodBoolean;
|
|
233
|
+
}, z.core.$strip>>;
|
|
128
234
|
readonly checkout: AccountCall<z.ZodUnion<readonly [z.ZodObject<{
|
|
129
235
|
plan: z.ZodString;
|
|
130
236
|
interval: z.ZodEnum<{
|
|
@@ -179,6 +285,10 @@ export declare const ACCOUNT_CALLS: {
|
|
|
179
285
|
renewsAt: z.ZodISODateTime;
|
|
180
286
|
}, z.core.$strip>>>;
|
|
181
287
|
bought: z.ZodDefault<z.ZodNumber>;
|
|
288
|
+
expiring: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
289
|
+
credits: z.ZodNumber;
|
|
290
|
+
expiresAt: z.ZodISODateTime;
|
|
291
|
+
}, z.core.$strip>>>;
|
|
182
292
|
customer: z.ZodDefault<z.ZodBoolean>;
|
|
183
293
|
autoTopUp: z.ZodNullable<z.ZodObject<{
|
|
184
294
|
below: z.ZodNumber;
|
|
@@ -208,6 +318,22 @@ export declare const ACCOUNT_CALLS: {
|
|
|
208
318
|
}, z.core.$strip>>;
|
|
209
319
|
email: z.ZodNullable<z.ZodString>;
|
|
210
320
|
}, z.core.$strip>>;
|
|
321
|
+
readonly invoices: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
322
|
+
invoices: z.ZodArray<z.ZodObject<{
|
|
323
|
+
id: z.ZodString;
|
|
324
|
+
number: z.ZodNullable<z.ZodString>;
|
|
325
|
+
createdAt: z.ZodString;
|
|
326
|
+
kind: z.ZodUnion<readonly [z.ZodEnum<{
|
|
327
|
+
credits: "credits";
|
|
328
|
+
plan: "plan";
|
|
329
|
+
}>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>;
|
|
330
|
+
totalCents: z.ZodNumber;
|
|
331
|
+
currency: z.ZodString;
|
|
332
|
+
status: z.ZodString;
|
|
333
|
+
pdf: z.ZodNullable<z.ZodString>;
|
|
334
|
+
url: z.ZodNullable<z.ZodString>;
|
|
335
|
+
}, z.core.$strip>>;
|
|
336
|
+
}, z.core.$strip>>;
|
|
211
337
|
readonly topUp: AccountCall<z.ZodObject<{
|
|
212
338
|
topUpCents: z.ZodNumber;
|
|
213
339
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -316,6 +442,7 @@ export declare const ACCOUNT_CALLS: {
|
|
|
316
442
|
anyone: "anyone";
|
|
317
443
|
}>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>;
|
|
318
444
|
sendsLeft: z.ZodNumber;
|
|
445
|
+
sendsPerDay: z.ZodOptional<z.ZodNumber>;
|
|
319
446
|
addresses: z.ZodArray<z.ZodObject<{
|
|
320
447
|
address: z.ZodString;
|
|
321
448
|
kind: z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -344,6 +471,7 @@ export declare const ACCOUNT_CALLS: {
|
|
|
344
471
|
anyone: "anyone";
|
|
345
472
|
}>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>;
|
|
346
473
|
sendsLeft: z.ZodNumber;
|
|
474
|
+
sendsPerDay: z.ZodOptional<z.ZodNumber>;
|
|
347
475
|
addresses: z.ZodArray<z.ZodObject<{
|
|
348
476
|
address: z.ZodString;
|
|
349
477
|
kind: z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -449,6 +577,11 @@ export declare const ACCOUNT_CALLS: {
|
|
|
449
577
|
name: z.ZodString;
|
|
450
578
|
email: z.ZodString;
|
|
451
579
|
google: z.ZodBoolean;
|
|
580
|
+
v1: z.ZodOptional<z.ZodObject<{
|
|
581
|
+
url: z.ZodURL;
|
|
582
|
+
closesAt: z.ZodISODateTime;
|
|
583
|
+
bonusCredits: z.ZodDefault<z.ZodNumber>;
|
|
584
|
+
}, z.core.$strip>>;
|
|
452
585
|
}, z.core.$strip>>;
|
|
453
586
|
readonly "profile/set": AccountCall<z.ZodObject<{
|
|
454
587
|
name: z.ZodString;
|
|
@@ -459,11 +592,18 @@ export declare const ACCOUNT_CALLS: {
|
|
|
459
592
|
client: z.ZodString;
|
|
460
593
|
signedInAt: z.ZodISODateTime;
|
|
461
594
|
lastActiveAt: z.ZodISODateTime;
|
|
595
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
596
|
+
app: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
597
|
+
os: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
598
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
599
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
600
|
+
current: z.ZodOptional<z.ZodBoolean>;
|
|
462
601
|
}, z.core.$strip>>;
|
|
463
602
|
}, z.core.$strip>>;
|
|
464
603
|
readonly "devices/signOut": AccountCall<z.ZodObject<{
|
|
465
604
|
id: z.ZodString;
|
|
466
605
|
}, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
|
|
606
|
+
readonly "devices/signOutOthers": AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
|
|
467
607
|
readonly export: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
468
608
|
readonly close: AccountCall<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{}, z.core.$strip>>;
|
|
469
609
|
};
|
|
@@ -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 e}from"zod";import{ACCOUNT_DELETE_PATH as
|
|
2
|
+
import{z as e}from"zod";import{ACCOUNT_DELETE_PATH as _,ACCOUNT_EXPORT_PATH as f,DEVICES_PATH as p,DevicesSchema as y}from"./auth.js";import{AUTO_TOP_UP_PATH as b,AutoTopUpRequestSchema as L,BILLING_CHECKOUT_PATH as v,BILLING_PAYMENT_PATH as G,BILLING_PLANS_PATH as j,BILLING_PORTAL_PATH as U,BILLING_REQUEST_PATH as H,BILLING_RESUME_PATH as k,BILLING_SUMMARY_PATH as N,BILLING_TOP_UP_PATH as C,BILLING_USAGE_PATH as R,BillingPaymentSchema as x,BillingPlansSchema as M,BillingSummarySchema as u,BillingUsageSchema as B,CheckoutRequestSchema as D,PortalRequestSchema as $,TopUpRequestSchema as z,BILLING_INVOICES_PATH as q,BILLING_SPENDS_PATH as V,BillingInvoicesSchema as Y,CAPABILITIES_PATH as A,CATALOG_PATH as Z,EDITORS_PATH as K,EditorsSchema as F,CapabilitiesSchema as E,CapabilityRequestSchema as Q,CatalogSchema as X,BillingSpendsSchema as J}from"./cloud.js";import{MAIL_MESSAGES_PATH as g,MAIL_PATH as W,MAIL_PERSON_QUERY as ee,MAIL_SETTINGS_PATH as te,MailMessageSchema as ie,MailSearchResponseSchema as ne,MailSearchSchema as oe,MailSettingsSchema as se,MailboxSchema as S}from"./mail.js";import{MEMBERS_PATH as l,MemberLimitSchema as ae,MembersSchema as re,ORGANIZATIONS_PATH as P,ORGANIZATION_PATH as I}from"./teams.js";export const INVITATIONS_PATH="/api/organization/invitations",InvitationsSchema=e.object({invitations:e.array(e.object({id:e.string(),email:e.string(),role:e.string(),expiresAt:e.iso.datetime()}))}),LEAVE_PATH="/api/organization/leave",KEYS_PATH="/api/keys",KeysSchema=e.object({keys:e.array(e.object({id:e.string(),name:e.string().nullable(),start:e.string().nullable(),enabled:e.boolean(),createdAt:e.iso.datetime(),lastUsedAt:e.iso.datetime().nullable()}))}),PROFILE_PATH="/api/account/profile",ProfileSchema=e.object({name:e.string(),email:e.string(),google:e.boolean(),v1:e.object({url:e.url(),closesAt:e.iso.datetime({offset:!0}),bonusCredits:e.number().int().nonnegative().default(0)}).optional()}),ROLES=["member","admin","owner"];const i=e.strictObject({}),n=e.object({}),w=e.object({url:e.url()}),d=e.string().trim().min(1).max(100),t=(o,h,m,c,s)=>({http:o,route:h,params:m,result:c,about:s});export const ACCOUNT_CALLS={balance:t("GET",N,i,u,"The organization's credits, this month's plan credits, its plan and its auto top-up."),plans:t("GET",j,i,M,"The plans, their prices, and what a top-up buys."),usage:t("GET",R,e.strictObject({days:e.int().min(1).max(400),timeZone:e.string().min(1)}),B,"Credits spent each day by what they were spent on, the days with none left out."),catalog:t("GET",Z,i,X,"The cloud tools' catalog: its works and every tool, with what it costs."),editors:t("GET",K,i,F,"The editors the console lists, free in every product, in their order."),capabilities:t("GET",A,i,E,"The cloud tools the team turned off: works and tools."),"capabilities/set":t("PUT",A,Q,E,"A work or a tool switched on or off for the team, an owner's or an admin's; what is off now."),spends:t("GET",V,e.strictObject({days:e.int().min(1).max(400),limit:e.int().min(1).max(5e3).optional()}),J,"Each spend of the last days, the latest first: when, by whom, on what and how many credits; a member reads their own."),checkout:t("POST",v,D,w,"Stripe Checkout for a plan or a top-up, to open in a browser."),portal:t("POST",U,$,w,"Stripe's Customer Portal at its home (the card, billing details, invoices) or at a flow (a new card, a change of plan, the plan's cancellation), to open in a browser."),resume:t("POST",k,i,u,"A plan cancelled at its period's end taken up again."),payment:t("GET",G,i,x,"The card charged without the person there, and where Stripe's emails go."),invoices:t("GET",q,i,Y,"The organization's invoices, the latest first, each with its PDF."),topUp:t("POST",C,z,e.object({credits:e.number()}),"Credits bought with the saved card at once; answers what was added."),"autoTopUp/set":t("PUT",b,L,e.union([e.object({on:e.literal(!0)}),e.object({saveCard:e.url()})]),"Auto top-up on, or Stripe Checkout that saves a card first (or another), to open in a browser."),"autoTopUp/off":t("DELETE",b,i,n,"Auto top-up off."),"credits/request":t("POST",H,i,e.object({asked:e.literal(!0)}),"The organization's owners and admins asked by email to add credits, at most once a day for each member."),members:t("GET",l,i,re,"The members with their limits and spend; a member sees their own row."),"members/limit":t("PUT",`${l}/:userId/limit`,e.strictObject({userId:e.string().min(1)}).extend(ae.shape),n,"A member's limit in credits a month, null for none."),"members/role":t("PUT",`${l}/:userId/role`,e.strictObject({userId:e.string().min(1),role:e.enum(ROLES)}),n,"A member's role; only an owner makes or unmakes an owner."),"members/remove":t("DELETE",`${l}/:userId`,e.strictObject({userId:e.string().min(1)}),n,"A member removed from the team."),invitations:t("GET",INVITATIONS_PATH,i,InvitationsSchema,"The invitations waiting to be accepted."),"invitations/send":t("POST",INVITATIONS_PATH,e.strictObject({email:e.email(),role:e.enum(["member","admin"])}),n,"Invites a person by email; one invited already is sent a new invitation."),"invitations/cancel":t("DELETE",`${INVITATIONS_PATH}/:id`,e.strictObject({id:e.string().min(1)}),n,"An invitation cancelled."),"team/create":t("POST",P,e.strictObject({name:d}),e.object({id:e.string()}),"A new team, the person its owner."),"team/rename":t("PUT",I,e.strictObject({name:d}),n,"The team renamed."),"team/leave":t("POST",LEAVE_PATH,i,n,"The person leaves the team; its last owner cannot."),"team/dissolve":t("DELETE",I,i,n,"The team dissolved by its owner; it can be restored for 30 days."),"team/restore":t("POST",`${P}/:id/restore`,e.strictObject({id:e.string().min(1)}),n,"A dissolved team restored by its owner."),keys:t("GET",KEYS_PATH,i,KeysSchema,"The person's API keys for the organization."),"keys/create":t("POST",KEYS_PATH,e.strictObject({name:d}),e.object({id:e.string(),key:e.string()}),"A new API key; its secret is in this answer alone."),"keys/enable":t("PUT",`${KEYS_PATH}/:id`,e.strictObject({id:e.string().min(1),enabled:e.boolean()}),n,"An API key turned off or on again."),"keys/remove":t("DELETE",`${KEYS_PATH}/:id`,e.strictObject({id:e.string().min(1)}),n,"An API key deleted."),mail:t("GET",W,i,S,"The person's mailbox in the organization: its addresses and settings."),"mail/settings":t("PUT",`${te}?${ee}`,se,S,"The mailbox's display name, whom its agents may write to, and how long it keeps mail."),"mail/messages":t("GET",g,oe,ne,"The mailbox's messages, newest first."),"mail/message":t("GET",`${g}/:id`,e.strictObject({id:e.string().min(1)}),ie,"One message, read whole."),profile:t("GET",PROFILE_PATH,i,ProfileSchema,"The person's name and email, whether Google signs them in, and AllyHub's previous version while it is open to them."),"profile/set":t("PUT",PROFILE_PATH,e.strictObject({name:d}),n,"The person's name."),devices:t("GET",p,i,y,"The computers signed in as the person."),"devices/signOut":t("DELETE",`${p}/:id`,e.strictObject({id:e.string().min(1)}),n,"A computer signed out."),"devices/signOutOthers":t("DELETE",p,i,n,"Every computer signed out but the one that asks."),export:t("GET",f,i,e.record(e.string(),e.unknown()),"Everything kept about the person."),close:t("POST",_,i,n,"Mails the link that deletes the person's account: a browser's session alone, so a computer opens the page in the browser.")};export function accountRequest(o,h){const m=h,c=new Set,s=o.route.replace(/:([A-Za-z]+)/gu,(r,a)=>(c.add(a),encodeURIComponent(String(m[a])))),T=Object.entries(m).filter(([r,a])=>!c.has(r)&&a!==void 0);if(o.http==="GET"||o.http==="DELETE"){const r=T.map(([a,O])=>`${encodeURIComponent(a)}=${encodeURIComponent(String(O))}`).join("&");return{method:o.http,path:r===""?s:`${s}?${r}`}}return T.length===0?{method:o.http,path:s}:{method:o.http,path:s,body:Object.fromEntries(T)}}
|
|
@@ -21,8 +21,19 @@ export declare const SCOPES = "openid profile email offline_access";
|
|
|
21
21
|
export declare const ACCOUNT_PATH = "/api/account";
|
|
22
22
|
/** The header that names the organization a request acts in; without it, the person's own. */
|
|
23
23
|
export declare const ORGANIZATION_HEADER = "x-allyhub-organization";
|
|
24
|
-
/** `GET`: the computers signed in as the person; `DELETE <path>/<id>` signs one out. */
|
|
24
|
+
/** `GET`: the computers signed in as the person; `DELETE <path>/<id>` signs one out; `DELETE <path>` signs out every one but the asking computer. */
|
|
25
25
|
export declare const DEVICES_PATH = "/api/account/devices";
|
|
26
|
+
/**
|
|
27
|
+
* The header that names a computer's sign-in: an id it makes once and
|
|
28
|
+
* keeps in its credentials file, sent with its token requests and its
|
|
29
|
+
* calls, so AllyHub tells its sign-ins apart and knows which one asks.
|
|
30
|
+
* It only tells them apart; the sign-in itself authorizes.
|
|
31
|
+
*/
|
|
32
|
+
export declare const DEVICE_HEADER = "x-allyhub-device";
|
|
33
|
+
/** With a token request: the computer's name as its owner set it, percent-encoded (RFC 3986). */
|
|
34
|
+
export declare const DEVICE_NAME_HEADER = "x-allyhub-device-name";
|
|
35
|
+
/** A sign-in's id, as a computer makes it. */
|
|
36
|
+
export declare const DeviceIdSchema: z.ZodString;
|
|
26
37
|
/** `GET`: everything kept about the person, as a file. */
|
|
27
38
|
export declare const ACCOUNT_EXPORT_PATH = "/api/account/export";
|
|
28
39
|
/** `POST`, a browser's session alone: mails the link that deletes the account, unless something stands in the way. */
|
|
@@ -33,6 +44,12 @@ export declare const DevicesSchema: z.ZodObject<{
|
|
|
33
44
|
client: z.ZodString;
|
|
34
45
|
signedInAt: z.ZodISODateTime;
|
|
35
46
|
lastActiveAt: z.ZodISODateTime;
|
|
47
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
app: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
os: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
current: z.ZodOptional<z.ZodBoolean>;
|
|
36
53
|
}, z.core.$strip>>;
|
|
37
54
|
}, z.core.$strip>;
|
|
38
55
|
export type Devices = z.infer<typeof DevicesSchema>;
|
|
@@ -114,6 +131,7 @@ export declare const CredentialsFileSchema: z.ZodObject<{
|
|
|
114
131
|
}, z.core.$strip>>;
|
|
115
132
|
keychain: z.ZodOptional<z.ZodString>;
|
|
116
133
|
since: z.ZodISODateTime;
|
|
134
|
+
device: z.ZodOptional<z.ZodString>;
|
|
117
135
|
}, z.core.$strip>;
|
|
118
136
|
export type CredentialsFile = z.infer<typeof CredentialsFileSchema>;
|
|
119
137
|
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -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 e}from"zod";export const AuthServerSchema=e.object({issuer:e.url(),authorization_endpoint:e.url(),token_endpoint:e.url(),device_authorization_endpoint:e.url(),revocation_endpoint:e.url(),code_challenge_methods_supported:e.array(e.string()).refine(t=>t.includes("S256"),{message:"The server must take S256 PKCE challenges."})}),CLIENT_ID="allyhub-cli",ISSUER_PATH="/api/auth",METADATA_PATH=`/.well-known/oauth-authorization-server${ISSUER_PATH}`,SCOPES="openid profile email offline_access",ACCOUNT_PATH="/api/account",ORGANIZATION_HEADER="x-allyhub-organization",DEVICES_PATH="/api/account/devices",ACCOUNT_EXPORT_PATH="/api/account/export",ACCOUNT_DELETE_PATH="/api/account/delete",DevicesSchema=e.object({devices:e.array(e.object({id:e.string(),client:e.string(),signedInAt:e.iso.datetime(),lastActiveAt:e.iso.datetime()}))}),BROWSER_LINK_PATH="/api/account/browser-link",BrowserLinkRequestSchema=e.strictObject({to:e.string().startsWith("/")}),BrowserLinkSchema=e.object({url:e.url()}),CREDENTIALS_FILE=".allyhub/credentials.json",TokenResponseSchema=e.object({access_token:e.string().min(1),token_type:e.string(),expires_in:e.number().positive(),refresh_token:e.string().min(1).optional(),scope:e.string().optional()}),OAuthErrorSchema=e.object({error:e.string(),error_description:e.string().optional()}),DeviceAuthorizationSchema=e.object({device_code:e.string().min(1),user_code:e.string().min(1),verification_uri:e.url(),verification_uri_complete:e.url().optional(),expires_in:e.number().positive(),interval:e.number().positive().optional()}),AccountSchema=e.object({id:e.string().min(1),email:e.email(),name:e.string().optional(),organization:e.object({id:e.string().min(1),name:e.string()}).optional()}),CredentialsFileSchema=e.object({version:e.literal(1),url:e.url(),issuer:e.url(),account:AccountSchema,refreshToken:e.string().min(1).optional(),access:e.object({token:e.string().min(1),expiresAt:e.iso.datetime({offset:!0})}).optional(),keychain:e.string().min(1).optional(),since:e.iso.datetime({offset:!0})});
|
|
2
|
+
import{z as e}from"zod";export const AuthServerSchema=e.object({issuer:e.url(),authorization_endpoint:e.url(),token_endpoint:e.url(),device_authorization_endpoint:e.url(),revocation_endpoint:e.url(),code_challenge_methods_supported:e.array(e.string()).refine(t=>t.includes("S256"),{message:"The server must take S256 PKCE challenges."})}),CLIENT_ID="allyhub-cli",ISSUER_PATH="/api/auth",METADATA_PATH=`/.well-known/oauth-authorization-server${ISSUER_PATH}`,SCOPES="openid profile email offline_access",ACCOUNT_PATH="/api/account",ORGANIZATION_HEADER="x-allyhub-organization",DEVICES_PATH="/api/account/devices",DEVICE_HEADER="x-allyhub-device",DEVICE_NAME_HEADER="x-allyhub-device-name",DeviceIdSchema=e.string().regex(/^[\w-]{16,64}$/u),ACCOUNT_EXPORT_PATH="/api/account/export",ACCOUNT_DELETE_PATH="/api/account/delete",DevicesSchema=e.object({devices:e.array(e.object({id:e.string(),client:e.string(),signedInAt:e.iso.datetime(),lastActiveAt:e.iso.datetime(),name:e.string().nullable().optional(),app:e.string().nullable().optional(),os:e.string().nullable().optional(),city:e.string().nullable().optional(),country:e.string().nullable().optional(),current:e.boolean().optional()}))}),BROWSER_LINK_PATH="/api/account/browser-link",BrowserLinkRequestSchema=e.strictObject({to:e.string().startsWith("/")}),BrowserLinkSchema=e.object({url:e.url()}),CREDENTIALS_FILE=".allyhub/credentials.json",TokenResponseSchema=e.object({access_token:e.string().min(1),token_type:e.string(),expires_in:e.number().positive(),refresh_token:e.string().min(1).optional(),scope:e.string().optional()}),OAuthErrorSchema=e.object({error:e.string(),error_description:e.string().optional()}),DeviceAuthorizationSchema=e.object({device_code:e.string().min(1),user_code:e.string().min(1),verification_uri:e.url(),verification_uri_complete:e.url().optional(),expires_in:e.number().positive(),interval:e.number().positive().optional()}),AccountSchema=e.object({id:e.string().min(1),email:e.email(),name:e.string().optional(),organization:e.object({id:e.string().min(1),name:e.string()}).optional()}),CredentialsFileSchema=e.object({version:e.literal(1),url:e.url(),issuer:e.url(),account:AccountSchema,refreshToken:e.string().min(1).optional(),access:e.object({token:e.string().min(1),expiresAt:e.iso.datetime({offset:!0})}).optional(),keychain:e.string().min(1).optional(),since:e.iso.datetime({offset:!0}),device:e.string().min(1).optional()});
|