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{z as t}from"zod";import{LOCALE as m,FPS_HELP as u,VIDEO_FORMAT_HELP as b,formatSpecProblem as d,isVideoFormat as g,parseFps as f,RESERVED_DIMS as l}from"@allyhub/piece";import{OUTPUT_KINDS as h}from"./piece.js";import{musicTimeProblem as x}from"./music.js";export const VideoFormatSchema=t.string().refine(g,{message:`unknown format (${b})`}),ComboSchema=t.record(t.string(),t.string()),ProblemSchema=t.strictObject({code:t.string().regex(/^AK-[A-Z]\d{3}$/),level:t.enum(["error","warn"]),message:t.string(),piece:t.string().optional(),output:t.string().optional(),combo:ComboSchema.optional(),format:t.string().optional(),part:t.string().optional(),t:t.number().optional(),page:t.number().int().nonnegative().optional(),where:t.strictObject({file:t.string().optional(),line:t.number().int().optional(),selector:t.string().optional(),bbox:t.tuple([t.number(),t.number(),t.number(),t.number()]).optional()}).optional()}),Locale=t.string().regex(m,"must be a lower-case locale such as en or zh-cn"),PieceId=t.string().regex(/^[a-z0-9][a-z0-9._-]*(\/[a-z0-9][a-z0-9._-]*)*$/,"id: lowercase letters, digits, . _ -, with / between levels"),DimName=t.string().regex(/^[a-z][a-zA-Z0-9_-]*$/,"dimension name: starts with a letter; letters, digits, _ and -"),DimValue=t.string().regex(/^[A-Za-z0-9][A-Za-z0-9._-]*$/,"dimension value: letters, digits, . _ -"),OutputName=t.string().regex(/^[A-Za-z][A-Za-z0-9_-]*$/,"output name: starts with a letter; letters, digits, _ and -"),DimsSchema=t.record(DimName,t.array(DimValue).min(1)).superRefine((o,e)=>{for(const[n,a]of Object.entries(o)){if(l.includes(n)){e.addIssue({code:"custom",path:[n],message:n==="size"||n==="format"?`${n} is not a dimension: a piece has one format, format: "9x16", and another format is a piece of its own`:`${n} cannot name a dimension: the preview's address uses it. Choose another name`});continue}if(new Set(a).size!==a.length&&e.addIssue({code:"custom",path:[n],message:"the same value is listed twice"}),n==="lang")for(const s of a)m.test(s)||e.addIssue({code:"custom",path:[n],message:`lang value ${s} must be a lowercase language tag, such as en or zh-cn`})}});const O=o=>l.includes(o)?`${o} cannot name a slot: the framework uses it. Choose another name`:void 0;export const CandidateSchema=t.union([DimValue,t.strictObject({name:DimValue,tags:t.array(t.string().regex(/^[A-Za-z0-9][A-Za-z0-9._:-]*$/)).optional()})]),SlotSchema=t.union([t.array(CandidateSchema).min(1),t.strictObject({pool:t.string().min(1),tags:t.array(t.string().min(1)).optional()})]);const j=t.union([t.string().min(1),t.array(t.string().min(1)).min(1)]),r=t.record(t.string(),j);export const MatrixSchema=t.strictObject({dims:DimsSchema.optional(),slots:t.record(DimName,SlotSchema).optional(),structures:t.record(DimValue,t.array(DimName).min(1)).optional(),combos:t.array(t.record(DimName,DimValue)).min(1).max(1e4).optional(),pick:t.number().int().min(1).max(1e4).optional(),seed:t.union([t.number(),t.string()]).optional(),differ:t.strictObject({slots:t.number().int().min(1).optional(),first:t.union([t.number().int().min(1),t.array(DimName).min(1)]).optional()}).optional(),rules:t.array(t.strictObject({if:r.optional(),require:r.optional(),exclude:r.optional()})).optional()}).superRefine((o,e)=>{for(const n of Object.keys(o.slots??{})){const a=O(n);a&&e.addIssue({code:"custom",path:["slots",n],message:a})}if(o.structures&&!o.slots&&e.addIssue({code:"custom",path:["structures"],message:"structures order slots: declare matrix.slots too"}),o.combos&&!o.slots&&e.addIssue({code:"custom",path:["combos"],message:"combos choose candidates of slots: declare matrix.slots too"}),o.combos)for(const n of["pick","seed"])o[n]!==void 0&&e.addIssue({code:"custom",path:[n],message:`combos names the combos to make, so nothing is sampled: remove ${n}, which only steers sampling`})}),FormatSpecSchema=t.strictObject({format:t.string().min(1),safe:t.strictObject({top:t.number().optional(),bottom:t.number().optional(),left:t.number().optional(),right:t.number().optional()}).optional()}).superRefine((o,e)=>{const n=d(o);n&&e.addIssue({code:"custom",message:n})}),FormatEntrySchema=t.union([t.string().min(1),FormatSpecSchema]);const i=t.number().min(-70).max(0),c=t.unknown().superRefine((o,e)=>{const n=x(o);n&&e.addIssue({code:"custom",message:n})}),p=t.strictObject({from:c,to:c.optional()}),S=t.union([t.number().min(0),t.string().min(1),t.strictObject({part:t.string().min(1),at:t.union([t.number(),t.string().min(1)])})]);export const PartDefaultsSchema=t.strictObject({dur:t.number().positive().max(3600).optional(),lead:t.number().min(0).max(60).optional(),tail:t.number().min(0).max(60).optional()}),VideoOptionsMeta=t.strictObject({music:t.strictObject({file:t.union([t.string().min(1),t.record(Locale,t.string().min(1))]).optional(),from:t.number().min(0).optional(),loop:t.union([t.boolean(),p]).optional(),play:t.array(p).min(1).optional(),seam:t.number().min(0).max(5).optional(),meter:t.number().int().min(1).max(32).optional(),downbeat:t.number().min(0).optional(),end:t.enum(["film","bar","beat"]).optional(),snap:t.boolean().optional(),bpm:t.number().min(20).max(400).optional(),gain:t.array(t.strictObject({at:S,db:t.number().min(-60).max(24)})).min(1).optional(),filter:t.string().min(1).optional(),eq:t.array(t.unknown()).optional(),compress:t.unknown().optional()}).optional(),mix:t.strictObject({speech:i.optional(),music:i.optional(),musicAlone:i.optional(),sfx:i.optional(),footage:i.optional(),footageUnderSpeech:i.optional(),duck:t.strictObject({db:t.number().min(-60).max(0).optional(),attack:t.number().min(0).max(10).optional(),release:t.number().min(0).max(10).optional(),hold:t.number().min(0).max(60).optional()}).optional(),musicFade:t.strictObject({in:t.number().min(0).max(60).optional(),out:t.number().min(0).max(60).optional()}).optional()}).optional(),mic:t.union([t.string().min(1),t.record(t.string(),t.unknown()),t.literal(!1)]).optional(),look:t.string().min(1).optional(),defaults:t.strictObject({part:PartDefaultsSchema.optional()}).optional(),covers:t.literal(!0).optional(),fps:t.union([t.number(),t.string()]).refine(o=>f(o)!==void 0,{error:`A frame rate is ${u}`}).optional(),transparent:t.boolean().optional(),maxDuration:t.number().positive().optional(),loadLimit:t.number().positive().optional(),seekLimit:t.number().positive().optional(),deliverable:t.boolean().optional(),master:t.union([i,t.literal(!1),t.strictObject({lufs:t.union([i,t.literal(!1)]).optional(),truePeak:t.number().min(-9).max(0).optional()})]).optional(),motionBlur:t.strictObject({samples:t.number().int().min(2).max(16),shutter:t.number().gt(0).max(1).optional()}).optional(),capture:t.strictObject({bloom:t.strictObject({threshold:t.number().optional(),radius:t.number().optional(),strength:t.number().optional()}).optional(),aberration:t.number().optional(),soften:t.number().optional(),vignette:t.number().optional(),exposure:t.strictObject({drift:t.number().optional(),period:t.number().optional()}).optional(),grain:t.strictObject({amount:t.number().optional(),size:t.number().optional(),shadows:t.number().optional(),highlights:t.number().optional(),chroma:t.number().optional(),chromaSize:t.number().optional(),static:t.boolean().optional()}).optional(),sharpen:t.number().optional()}).optional(),post:t.strictObject({filter:t.string().min(1).optional(),lut:t.string().regex(/\.cube$/i,"A LUT is a .cube file").optional()}).optional()}),OutputMeta=t.strictObject({kind:t.enum(h),options:t.record(t.string(),t.unknown())}),PieceMeta=t.strictObject({id:PieceId.optional(),script:t.string().min(1).optional(),title:t.union([t.string().min(1),t.record(Locale,t.string().min(1))]).optional(),format:FormatEntrySchema.optional(),matrix:MatrixSchema.optional(),meta:t.record(t.string(),t.unknown()).optional(),outputs:t.record(OutputName,OutputMeta).refine(o=>Object.keys(o).length>0,"outputs needs at least one output")}),LookConfigSchema=t.strictObject({color:t.strictObject({bg:t.string().min(1).optional(),fg:t.string().min(1).optional(),accent:t.string().min(1).optional(),muted:t.string().min(1).optional(),surface:t.string().min(1).optional()}).optional(),font:t.strictObject({display:t.string().min(1).optional(),body:t.string().min(1).optional(),mono:t.string().min(1).optional(),emoji:t.string().min(1).optional()}).optional(),motion:t.strictObject({beat:t.number().positive().optional()}).optional(),sfx:t.record(t.string().regex(/^[a-z][a-z0-9-]*$/,"a sound's name: lowercase letters, digits and -"),t.string().min(1).refine(o=>!o.startsWith("/")&&!o.split(/[\\/]/).includes(".."),"a sound is an audio file relative to the workspace's root")).optional()}),PropSchemaEntry=t.looseObject({type:t.enum(["text","time","asset","color","number","boolean","list","object"])}),ComponentEntry=t.strictObject({name:t.string(),label:t.union([t.string(),t.record(t.string(),t.string())]),file:t.string(),props:t.record(t.string(),PropSchemaEntry),examples:t.array(t.string()),hidden:t.boolean()}),VideoConfigSchema=t.object({look:LookConfigSchema.optional(),defaults:t.strictObject({format:VideoFormatSchema.optional(),part:PartDefaultsSchema.optional()}).optional()});
|
|
2
|
+
import{z as t}from"zod";import{LOCALE as m,FPS_HELP as u,VIDEO_FORMAT_HELP as b,formatSpecProblem as d,isVideoFormat as g,parseFps as f,RESERVED_DIMS as l}from"@allyhub/piece";import{OUTPUT_KINDS as h}from"./piece.js";import{musicTimeProblem as x}from"./music.js";export const VideoFormatSchema=t.string().refine(g,{message:`unknown format (${b})`}),ComboSchema=t.record(t.string(),t.string()),ProblemSchema=t.strictObject({code:t.string().regex(/^AK-[A-Z]\d{3}$/),level:t.enum(["error","warn"]),message:t.string(),piece:t.string().optional(),output:t.string().optional(),combo:ComboSchema.optional(),format:t.string().optional(),part:t.string().optional(),t:t.number().optional(),page:t.number().int().nonnegative().optional(),where:t.strictObject({file:t.string().optional(),line:t.number().int().optional(),selector:t.string().optional(),bbox:t.tuple([t.number(),t.number(),t.number(),t.number()]).optional()}).optional()}),Locale=t.string().regex(m,"must be a lower-case locale such as en or zh-cn"),PieceId=t.string().regex(/^[a-z0-9][a-z0-9._-]*(\/[a-z0-9][a-z0-9._-]*)*$/,"id: lowercase letters, digits, . _ -, with / between levels"),DimName=t.string().regex(/^[a-z][a-zA-Z0-9_-]*$/,"dimension name: starts with a letter; letters, digits, _ and -"),DimValue=t.string().regex(/^[A-Za-z0-9][A-Za-z0-9._-]*$/,"dimension value: letters, digits, . _ -"),OutputName=t.string().regex(/^[A-Za-z][A-Za-z0-9_-]*$/,"output name: starts with a letter; letters, digits, _ and -"),DimsSchema=t.record(DimName,t.array(DimValue).min(1)).superRefine((o,e)=>{for(const[n,a]of Object.entries(o)){if(l.includes(n)){e.addIssue({code:"custom",path:[n],message:n==="size"||n==="format"?`${n} is not a dimension: a piece has one format, format: "9x16", and another format is a piece of its own`:`${n} cannot name a dimension: the preview's address uses it. Choose another name`});continue}if(new Set(a).size!==a.length&&e.addIssue({code:"custom",path:[n],message:"the same value is listed twice"}),n==="lang")for(const s of a)m.test(s)||e.addIssue({code:"custom",path:[n],message:`lang value ${s} must be a lowercase language tag, such as en or zh-cn`})}});const O=o=>l.includes(o)?`${o} cannot name a slot: the framework uses it. Choose another name`:void 0;export const CandidateSchema=t.union([DimValue,t.strictObject({name:DimValue,tags:t.array(t.string().regex(/^[A-Za-z0-9][A-Za-z0-9._:-]*$/)).optional()})]),SlotSchema=t.union([t.array(CandidateSchema).min(1),t.strictObject({pool:t.string().min(1),tags:t.array(t.string().min(1)).optional()})]);const j=t.union([t.string().min(1),t.array(t.string().min(1)).min(1)]),r=t.record(t.string(),j);export const MatrixSchema=t.strictObject({dims:DimsSchema.optional(),slots:t.record(DimName,SlotSchema).optional(),structures:t.record(DimValue,t.array(DimName).min(1)).optional(),combos:t.array(t.record(DimName,DimValue)).min(1).max(1e4).optional(),pick:t.number().int().min(1).max(1e4).optional(),seed:t.union([t.number(),t.string()]).optional(),differ:t.strictObject({slots:t.number().int().min(1).optional(),first:t.union([t.number().int().min(1),t.array(DimName).min(1)]).optional()}).optional(),rules:t.array(t.strictObject({if:r.optional(),require:r.optional(),exclude:r.optional()})).optional()}).superRefine((o,e)=>{for(const n of Object.keys(o.slots??{})){const a=O(n);a&&e.addIssue({code:"custom",path:["slots",n],message:a})}if(o.structures&&!o.slots&&e.addIssue({code:"custom",path:["structures"],message:"structures order slots: declare matrix.slots too"}),o.combos&&!o.slots&&e.addIssue({code:"custom",path:["combos"],message:"combos choose candidates of slots: declare matrix.slots too"}),o.combos)for(const n of["pick","seed"])o[n]!==void 0&&e.addIssue({code:"custom",path:[n],message:`combos names the combos to make, so nothing is sampled: remove ${n}, which only steers sampling`})}),FormatSpecSchema=t.strictObject({format:t.string().min(1),safe:t.strictObject({top:t.number().optional(),bottom:t.number().optional(),left:t.number().optional(),right:t.number().optional()}).optional()}).superRefine((o,e)=>{const n=d(o);n&&e.addIssue({code:"custom",message:n})}),FormatEntrySchema=t.union([t.string().min(1),FormatSpecSchema]);const i=t.number().min(-70).max(0),c=t.unknown().superRefine((o,e)=>{const n=x(o);n&&e.addIssue({code:"custom",message:n})}),p=t.strictObject({from:c,to:c.optional()}),S=t.union([t.number().min(0),t.string().min(1),t.strictObject({part:t.string().min(1),at:t.union([t.number(),t.string().min(1)])})]);export const PartDefaultsSchema=t.strictObject({dur:t.number().positive().max(3600).optional(),lead:t.number().min(0).max(60).optional(),tail:t.number().min(0).max(60).optional()}),VideoOptionsMeta=t.strictObject({music:t.strictObject({file:t.union([t.string().min(1),t.record(Locale,t.string().min(1))]).optional(),from:t.number().min(0).optional(),loop:t.union([t.boolean(),p]).optional(),play:t.array(p).min(1).optional(),seam:t.number().min(0).max(5).optional(),meter:t.number().int().min(1).max(32).optional(),downbeat:t.number().min(0).optional(),end:t.enum(["film","bar","beat"]).optional(),snap:t.boolean().optional(),bpm:t.number().min(20).max(400).optional(),gain:t.array(t.strictObject({at:S,db:t.number().min(-60).max(24)})).min(1).optional(),filter:t.string().min(1).optional(),eq:t.array(t.unknown()).optional(),compress:t.unknown().optional()}).optional(),mix:t.strictObject({speech:i.optional(),music:i.optional(),musicAlone:i.optional(),sfx:i.optional(),footage:i.optional(),footageUnderSpeech:i.optional(),duck:t.strictObject({db:t.number().min(-60).max(0).optional(),attack:t.number().min(0).max(10).optional(),release:t.number().min(0).max(10).optional(),hold:t.number().min(0).max(60).optional()}).optional(),musicFade:t.strictObject({in:t.number().min(0).max(60).optional(),out:t.number().min(0).max(60).optional()}).optional()}).optional(),mic:t.union([t.string().min(1),t.record(t.string(),t.unknown()),t.literal(!1)]).optional(),look:t.string().min(1).optional(),defaults:t.strictObject({part:PartDefaultsSchema.optional()}).optional(),covers:t.literal(!0).optional(),fps:t.union([t.number(),t.string()]).refine(o=>f(o)!==void 0,{error:`A frame rate is ${u}`}).optional(),transparent:t.boolean().optional(),maxDuration:t.number().positive().optional(),loadLimit:t.number().positive().optional(),seekLimit:t.number().positive().optional(),deliverable:t.boolean().optional(),master:t.union([i,t.literal(!1),t.strictObject({lufs:t.union([i,t.literal(!1)]).optional(),truePeak:t.number().min(-9).max(0).optional()})]).optional(),motionBlur:t.strictObject({samples:t.number().int().min(2).max(16),shutter:t.number().gt(0).max(1).optional()}).nullable().optional(),capture:t.strictObject({bloom:t.strictObject({threshold:t.number().optional(),radius:t.number().optional(),strength:t.number().optional()}).optional(),aberration:t.number().optional(),soften:t.number().optional(),vignette:t.number().optional(),exposure:t.strictObject({drift:t.number().optional(),period:t.number().optional()}).optional(),grain:t.strictObject({amount:t.number().optional(),size:t.number().optional(),shadows:t.number().optional(),highlights:t.number().optional(),chroma:t.number().optional(),chromaSize:t.number().optional(),static:t.boolean().optional()}).optional(),sharpen:t.number().optional()}).optional(),post:t.strictObject({filter:t.string().min(1).optional(),lut:t.string().regex(/\.cube$/i,"A LUT is a .cube file").optional()}).optional()}),OutputMeta=t.strictObject({kind:t.enum(h),options:t.record(t.string(),t.unknown())}),PieceMeta=t.strictObject({id:PieceId.optional(),script:t.string().min(1).optional(),title:t.union([t.string().min(1),t.record(Locale,t.string().min(1))]).optional(),format:FormatEntrySchema.optional(),matrix:MatrixSchema.optional(),meta:t.record(t.string(),t.unknown()).optional(),outputs:t.record(OutputName,OutputMeta).refine(o=>Object.keys(o).length>0,"outputs needs at least one output")}),LookConfigSchema=t.strictObject({color:t.strictObject({bg:t.string().min(1).optional(),fg:t.string().min(1).optional(),accent:t.string().min(1).optional(),muted:t.string().min(1).optional(),surface:t.string().min(1).optional()}).optional(),font:t.strictObject({display:t.string().min(1).optional(),body:t.string().min(1).optional(),mono:t.string().min(1).optional(),emoji:t.string().min(1).optional()}).optional(),motion:t.strictObject({beat:t.number().positive().optional()}).optional(),sfx:t.record(t.string().regex(/^[a-z][a-z0-9-]*$/,"a sound's name: lowercase letters, digits and -"),t.string().min(1).refine(o=>!o.startsWith("/")&&!o.split(/[\\/]/).includes(".."),"a sound is an audio file relative to the workspace's root")).optional()}),PropSchemaEntry=t.looseObject({type:t.enum(["text","time","asset","color","number","boolean","list","object"])}),ComponentEntry=t.strictObject({name:t.string(),label:t.union([t.string(),t.record(t.string(),t.string())]),file:t.string(),props:t.record(t.string(),PropSchemaEntry),examples:t.array(t.string()),hidden:t.boolean()}),VideoConfigSchema=t.object({look:LookConfigSchema.optional(),defaults:t.strictObject({format:VideoFormatSchema.optional(),part:PartDefaultsSchema.optional()}).optional()});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{mkdir as
|
|
2
|
+
import{mkdir as l}from"node:fs/promises";import{dirname as g}from"node:path";import{inTime as p}from"@allyhub/build";import{RenderError as m,VIDEO_TYPES as h,mixSound as b,renderStills as w,renderVideo as x,requireTools as O}from"@allyhub/render";import{OpenedFilm as P}from"@allyhub/video-measure";const S=e=>h.includes(e),c=(e,n)=>{const t=e[n];return typeof t=="number"&&Number.isFinite(t)?t:void 0};export function encodeOf(e){const n=e.codec,t=e.chroma,i=e.bits,o=c(e,"crf"),s=c(e,"maxBitrate"),d=c(e,"audioBitrate"),u=c(e,"gifWidth"),a=c(e,"gifFps"),f={...n==="h264"||n==="h265"?{codec:n}:{},...o===void 0?{}:{crf:o},...t==="420"||t==="444"?{chroma:t}:{},...i===8||i===10?{bits:i}:{},...d===void 0?{}:{audioBitrate:d},...s===void 0?{}:{maxBitrate:s},...u===void 0?{}:{gifWidth:u},...a===void 0?{}:{gifFps:a}};return Object.keys(f).length>0?f:void 0}const j=["maxChars","maxCharsCjk","minSeconds","maxSeconds","gapFrames"];function T(e){const n=e.captions;if(typeof n!="object"||n===null)return;const t={};for(const i of j){const o=c(n,i);o!==void 0&&(t[i]=o)}return t}function y(e){const n=e.piece.title;return typeof n=="string"?n:n===void 0?void 0:n[e.target.combo.lang??""]??Object.values(n)[0]}const C=["srt","vtt","png","cover"];function F(e){if(C.includes(e))return e;throw new m("unknown-type",`A video is not made into ${e}: mp4, mov, webm, gif, png, wav, srt, vtt or cover.`)}export async function videoReady(e,n){await O(e,encodeOf(n)?.codec)}async function E(e,n,t,i){const o=i.params;if(n==="wav"){const a=await b({timeline:e.timeline,sound:await e.sound(),out:t});return i.onProgress?.(1),{type:n,files:[t],duration:Math.round(e.timeline.duration*e.timeline.fps)/e.timeline.fps,...a.loudness?{loudness:a.loudness}:{},master:{...a}}}if(S(n)&&(n!=="png"||p(e.piece,e.prepared.kinds))){const a=encodeOf(o),f=c(o,"workers"),r=await x({target:e.target,look:e.look,media:e.media,pages:[e.graphics()],openPage:()=>e.openPage(),...n==="gif"?{}:{sound:await e.sound()},out:t,type:n,...a?{encode:a}:{},...f===void 0?{}:{workers:f},...i.onProgress?{onProgress:i.onProgress}:{},code:await e.code(),...o.partCache===!1?{partCache:!1}:{},...i.signal?{signal:i.signal}:{}});return{type:n,files:r.files??[r.out],duration:r.duration,parts:r.parts,...r.junctions?{junctions:r.junctions}:{},...r.loudness?{loudness:r.loudness}:{},...r.master?{master:{...r.master}}:{},timings:{...r.timings}}}const s=y(e),d=T(o),u=await w(e,F(n),{out:t,...o.steps===!0?{steps:!0}:{},...s===void 0?{}:{title:s},...d?{captions:d}:{}});return i.onProgress?.(1),{type:n,files:u.files??[u.out]}}export async function renderVersion(e){if(!e.version)throw new Error("A video's files are made from a version.");const n=new P(e.version),t=[];for(const i of e.types){const o=e.out(i);await l(g(o),{recursive:!0});try{t.push(await E(n,i,o,e))}catch(s){if(e.signal?.aborted||!(s instanceof m))throw s;t.push({type:i,failure:{code:s.code,message:s.message,...s.hint?{hint:s.hint}:{}}})}}return t}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allyhub/video-extension",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./tools": {
|
|
@@ -52,6 +52,20 @@
|
|
|
52
52
|
},
|
|
53
53
|
"noun": "video",
|
|
54
54
|
"editor": "allyhub.video.editor",
|
|
55
|
+
"shown": {
|
|
56
|
+
"line": {
|
|
57
|
+
"en": "Demos, explainers and shorts, to the frame",
|
|
58
|
+
"zh-cn": "演示、讲解和短视频,精确到帧",
|
|
59
|
+
"zh-tw": "示範、講解和短影片,精確到幀",
|
|
60
|
+
"ja": "デモ、解説、ショート動画をフレーム単位で",
|
|
61
|
+
"ko": "데모, 설명 영상, 쇼츠를 프레임 단위로",
|
|
62
|
+
"es": "Demos, vídeos explicativos y shorts, al fotograma",
|
|
63
|
+
"pt": "Demos, explicativos e shorts, quadro a quadro",
|
|
64
|
+
"de": "Demos, Erklärvideos und Shorts, auf den Frame genau",
|
|
65
|
+
"fr": "Démos, vidéos explicatives et shorts, à l'image près"
|
|
66
|
+
},
|
|
67
|
+
"order": 40
|
|
68
|
+
},
|
|
55
69
|
"icon": "clapperboard",
|
|
56
70
|
"color": "kind-purple",
|
|
57
71
|
"exports": {
|
|
@@ -75,9 +89,7 @@
|
|
|
75
89
|
"srt",
|
|
76
90
|
"vtt",
|
|
77
91
|
"cover",
|
|
78
|
-
"wav"
|
|
79
|
-
"pdf",
|
|
80
|
-
"pptx"
|
|
92
|
+
"wav"
|
|
81
93
|
],
|
|
82
94
|
"defaults": [
|
|
83
95
|
"mp4"
|
|
@@ -101,6 +113,7 @@
|
|
|
101
113
|
"video"
|
|
102
114
|
],
|
|
103
115
|
"module": "@allyhub/video-editor",
|
|
116
|
+
"markup": "./markup",
|
|
104
117
|
"place": {
|
|
105
118
|
"type": "object",
|
|
106
119
|
"properties": {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{join as l}from"node:path";import{ProjectError as
|
|
2
|
+
import{join as l}from"node:path";import{ProjectError as d}from"@allyhub/build";import{parseAnchorRef as w}from"@allyhub/piece";import{finalStill as c,soundOf as $}from"@allyhub/render";import{webp as y}from"@allyhub/image-render/webp";import{graphicsPage as m}from"./graphics.js";export function lookOf(o){const t=o.options,e=t.motionBlur,a=t.post,n=t.capture,u=i=>typeof i=="object"&&i!==null?i:void 0,h=u(e),r=u(a),s=r?.filter,p=r?.lut;return{...t.transparent===!0?{transparent:!0}:{},...h&&typeof h.samples=="number"?{motionBlur:{samples:h.samples,...typeof h.shutter=="number"?{shutter:h.shutter}:{}}}:{},...u(n)?{capture:n}:{},...typeof s=="string"||typeof p=="string"?{post:{...typeof s=="string"?{filter:s}:{},...typeof p=="string"?{lut:p}:{}}}:{}}}export function projectMedia(o){return{root:o.root,media:o.media,path:t=>Object.hasOwn(o.media,t)?l(o.root,t):void 0}}export function versionSound(o,t,e,a={}){return $(projectMedia(o),t,e,a)}export function filmTimes(o,t,e){const n=(e?[e]:t).flatMap(r=>(r.anchors??[]).map(s=>({part:r.key,...s}))),u=new Set(n.map(r=>r.name)),h=n.length>0?`Anchors${e?` of ${e.key}`:""}: ${n.map(r=>`@${r.name} (${r.part} ${r.at.toFixed(2)}${r.end===void 0?"":`–${r.end.toFixed(2)}`})`).join(", ")}.`:`${e?`Part ${e.key}`:"It"} has no anchors: a part gives them with anchors: { name: seconds }, or its script's line with @{name}.`;return o.map(r=>{if(typeof r=="number")return e?e.start+r:r;const s=w(r,u),p=s?n.filter(f=>f.name===s.name):[],i=p[0];if(!s||!i)throw new d("no-anchor",`No anchor ${r}.`,"not-found",h);if(p.length>1)throw new d("bad-time",`${String(p.length)} parts have an anchor ${s.name}: ${p.map(f=>f.part).join(", ")}.`,"usage","Name the part.");if(s.end&&i.end===void 0)throw new d("bad-time",`${r} asks for the end of the anchor ${i.name} of ${i.part}, which is a point.`,"usage",`Use @${i.name}.`);const g=(s.end?i.end??i.at:i.at)+s.shift;return Math.round(g*1e3)/1e3})}export function partOf(o,t){const e=o.parts.filter(n=>n.key.startsWith(`${t}/`)),a=o.parts.find(n=>n.key===t)??(e.length===1?e[0]:void 0);if(!a)throw new d("no-part",`No part ${t}.`,"not-found",`Parts: ${o.parts.map(n=>n.key).join(", ")}.`);return a}export class OpenedFilm{opened;page;constructor(t){this.opened=t}get target(){return this.opened.target}get piece(){return this.opened.piece}get prepared(){return this.opened.prepared}get version(){return this.opened.version}get timeline(){return this.version.timeline}get look(){return lookOf(this.piece)}get media(){return projectMedia(this.prepared)}graphics(){return this.page??=m(this.version.stage,{gpu:this.opened.gpu}),this.page}async openPage(){const t=await this.opened.another();return m(t.stage,{gpu:this.opened.gpu})}code(){return this.opened.code()}still(t,e={}){return this.timeline.parts.find(n=>t>=n.start&&t<n.end)?.frame?this.ownFrame(t,e.format??"png"):c(this.graphics(),t,{target:this.target,look:this.look,media:this.media,...e.raw===void 0?{}:{raw:e.raw},...e.format===void 0?{}:{format:e.format},...e.ffmpeg===void 0?{}:{ffmpeg:e.ffmpeg}})}async ownFrame(t,e){return await this.version.seek(t),this.version.stage.capture({format:e})}sound(t={}){return versionSound(this.prepared,this.target,this.timeline,t)}draws(){return{compose:async(t,e,a)=>{if((this.timeline.footage??[]).some(u=>u.part===e))return c(m(t.stage,{gpu:this.opened.gpu}),a,{target:this.target,look:this.look,media:this.media})},webp:t=>y(t,"lossless")}}partStills(t){return this.opened.partStills(t,this.draws())}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{PHONE_CAMERA as
|
|
2
|
+
import{PHONE_CAMERA as s}from"@allyhub/scenery";export const PHONE_CAMERA={...s,capture:{soften:.3,grain:{amount:.013,size:.75,shadows:2,highlights:1,chroma:.4,chromaSize:3},sharpen:.9,vignette:.2,bloom:{threshold:.92,radius:14,strength:.15}},motionBlur:null};const i=t=>typeof t=="object"&&t!==null&&!Array.isArray(t);function u(t,n){if(!i(t)||!i(n))return n===void 0?t:n;const o={...t};for(const[r,e]of Object.entries(n))o[r]=e===void 0?t[r]:u(t[r],e);return o}export function phoneCamera(t={}){return u(PHONE_CAMERA,t)}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{randomUUID as i}from"node:crypto";import{openPage as l,startBrowser as n}from"@allyhub/browser";const h=30*6e4;export class HeldPages{held=new Map;async hold(e,t){const s=await n({gpu:!1});try{const a=await l(s,{...t,allow:()=>!0});await a.goto(e),await a.evaluate("document.fonts.ready.then(() => true)");const o=i(),r=setTimeout(()=>{this.release(o)},h);return r.unref(),this.held.set(o,{browser:s,page:a,timer:r}),o}catch(a){throw await s.close(),a}}page(e){return this.held.get(e)?.page}async release(e){const t=this.held.get(e);t&&(this.held.delete(e),clearTimeout(t.timer),await t.browser.close())}async dispose(){for(const e of[...this.held.keys()])await this.release(e)}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{spawn as
|
|
3
|
-
`)),t.splice(0,Math.max(0,t.length-
|
|
4
|
-
`).trim()}const
|
|
5
|
-
${
|
|
6
|
-
${
|
|
2
|
+
import{spawn as O}from"node:child_process";import{once as T}from"node:events";import{stat as x}from"node:fs/promises";import{createServer as I}from"node:net";import{basename as w,delimiter as b,dirname as P,join as u,posix as f}from"node:path";import{dirOf as A}from"@allyhub/formats";import{installPackages as L,readWebsite as j}from"@allyhub/website";export const SITE_START_MS=12e4;const H=40,h="127.0.0.1";async function R(){const e=I();e.listen(0,h),await T(e,"listening");const t=e.address(),n=typeof t=="object"&&t?t.port:0;return await new Promise(o=>e.close(o)),n}function k(e){const t=[],n=o=>{t.push(...o.toString().split(`
|
|
3
|
+
`)),t.splice(0,Math.max(0,t.length-H))};return e.stdout?.on("data",n),e.stderr?.on("data",n),()=>t.join(`
|
|
4
|
+
`).trim()}const C=async e=>await x(e).catch(()=>{})!==void 0;export class Previews{o;running=new Map;constructor(t){this.o=t}open(t,n){const o=u(t,n);let r=this.running.get(o);if(!r){const s={ready:Promise.resolve("")};s.ready=this.start(o,A(n),s),s.ready.catch(()=>{this.running.get(o)===s&&this.running.delete(o)}),this.running.set(o,s),r=s}return r.ready}start(t,n,o){const r=this.o.jobs;if(r===void 0)return this.launch(t,n,o);let s=0;return r.run({about:{kind:"website",id:t},what:"start",name:w(P(t)),unit:"share",cancellable:!1},a=>{const c=[a.part(3),a.part(1),a.part(1)];if(s++===0)return this.launch(t,n,o,c);const i={ready:Promise.resolve("")};return i.ready=this.launch(t,n,i,c),i.ready.catch(()=>{this.running.get(t)===i&&this.running.delete(t)}),this.running.set(t,i),i.ready})}async launch(t,n,o,r){const s=P(t),a=await j(t),c=this.o.env;if(await L(s,{env:c,npm:this.o.npm}),r?.[0]?.done(),a.dev===void 0){const l=f.normalize(f.join(n,a.output)),m=l==="."?"":l.replace(/\/+$/u,"");if(!await C(u(s,a.output)))throw new Error(`${u(n,a.output)} is not there yet, and ${u(n,w(t))} has no dev command to serve the site without it.`);const v=await this.o.page(f.join(n,w(t)),m);for(const E of r??[])E.done();return v}const i=await R(),_=`http://${h}:${String(i)}/`,p=this.o.forward(i);o.port=p;const S=p.hosts.join(","),d=O(a.dev,{cwd:s,shell:!0,detached:!0,env:{...c,PATH:[u(s,"node_modules",".bin"),c.PATH??""].join(b),PORT:String(i),HOST:h,ALLYHUB_PREVIEW_HOSTS:S,__VITE_ADDITIONAL_SERVER_ALLOWED_HOSTS:S}});o.child=d,r?.[1]?.done();const y=k(d);d.once("exit",()=>{p.dispose()});const $=Date.now()+SITE_START_MS;for(;;){if(d.exitCode!==null||d.signalCode!==null)throw new Error(`Its dev command stopped in ${s}:
|
|
5
|
+
${y()}`);if(await fetch(_,{signal:AbortSignal.timeout(2e3)}).then(()=>!0).catch(()=>!1))return r?.[2]?.done(),p.url;if(Date.now()>$)throw g(d),new Error(`${s} did not answer on $PORT (${String(i)}) at $HOST (${h}) within ${String(SITE_START_MS/1e3)} s: its dev command must listen there.
|
|
6
|
+
${y()}`);await new Promise(m=>setTimeout(m,250))}}async dispose(){await Promise.all([...this.running].map(async([t,n])=>{this.running.delete(t),await n.ready.catch(()=>{}),n.child&&await M(n.child),n.port?.dispose()}))}}const D=5e3;function g(e,t="SIGTERM"){if(!(e.pid===void 0||e.exitCode!==null))try{process.kill(-e.pid,t)}catch{e.kill(t)}}async function M(e){if(e.exitCode!==null||e.signalCode!==null)return;const t=T(e,"exit");g(e);const n=setTimeout(()=>{g(e,"SIGKILL")},D);await t,clearTimeout(n)}
|
|
@@ -1,2 +1,25 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{resolve as
|
|
2
|
+
import{posix as P,resolve as b}from"node:path";import{defineProjectTool as o}from"@allyhub/build";import{capturePage as S,openPage as x,startBrowser as v}from"@allyhub/browser";import{RPC_ERROR as h,RpcError as g}from"@allyhub/protocol";import{HeldPages as T}from"./held.js";import{Hosting as j}from"./hosting.js";import{Previews as $}from"./preview.js";import{WEBSITE_TOOLS as r}from"./tools.js";async function l(t,e){const n=(await t.items()).find(s=>s.id===e&&s.kind==="website");if(!n)throw new g(h.notFound,`There is no website ${e}.`);return n.entry}const L=`(points) => {
|
|
3
|
+
const part = (e) => e.tagName.toLowerCase() + (e.id ? "#" + e.id : "") +
|
|
4
|
+
[...e.classList].slice(0, 3).map((c) => "." + c).join("");
|
|
5
|
+
const seen = new Set();
|
|
6
|
+
const elements = [];
|
|
7
|
+
for (const p of points) {
|
|
8
|
+
const el = document.elementFromPoint(p.x, p.y);
|
|
9
|
+
if (!el || seen.has(el)) continue;
|
|
10
|
+
seen.add(el);
|
|
11
|
+
const path = [];
|
|
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
|
+
});
|
|
18
|
+
}
|
|
19
|
+
// The page itself (its html or body) only where nothing in it is there.
|
|
20
|
+
const inner = elements.filter((e) => e.tag !== "html" && e.tag !== "body");
|
|
21
|
+
return {
|
|
22
|
+
page: location.pathname + location.search,
|
|
23
|
+
elements: inner.length > 0 ? inner : elements,
|
|
24
|
+
};
|
|
25
|
+
}`,y=t=>t.held("website/held",()=>new T);function E(t,e){const n=y(t).page(e);if(!n)throw new g(h.notFound,`No page is held as ${e}: it was let go.`);return n}const c=t=>t.held("website/previews",()=>new $({env:t.env,forward:e=>t.forward(e),jobs:t.jobs,page:(e,n)=>t.pageOf(e,{folder:n,file:n===""?"index.html":`${n}/index.html`})}));function p(t){const e=t.cloud;if(e===void 0)throw new g(h.unavailable,"Publishing a website is a person's, from Studio: this server has no person's sign-in.");return t.kept("website/hosting",()=>new j({cloud:e,root:t.root,env:t.env,jobs:t.jobs}))}const N={"website/preview":o(r["website/preview"],async({item:t},e)=>{const n=await l(e,t),s=P.dirname(n);e.recordInputs(t,"website",[s==="."?"":`${s}/`]);try{return{url:await c(e).open(b(e.root),n)}}catch(i){throw new g(h.unavailable,i instanceof Error?i.message:String(i))}}),"website/still":o(r["website/still"],async({item:t,width:e,height:n,scale:s,hold:i},a)=>{if(i!==void 0)return{image:{mime:"image/png",data:(await E(a,i).capture({format:"png"})).toString("base64")}};const w=await l(a,t),d=await c(a).open(b(a.root),w),f=await v({gpu:!1});try{return{image:{mime:"image/png",data:(await S(f,{url:d,width:e,height:n,scale:s,format:"png"})).picture.toString("base64")}}}finally{await f.close()}}),"website/hold":o(r["website/hold"],async({item:t,width:e,height:n,scale:s},i)=>{const a=await l(i,t),w=await c(i).open(b(i.root),a);return{hold:await y(i).hold(w,{width:e,height:n,scale:s})}}),"website/release":o(r["website/release"],async({hold:t},e)=>(await y(e).release(t),{})),"website/at":o(r["website/at"],async({item:t,width:e,height:n,points:s,hold:i},a)=>{const w=u=>u.evaluate(`(${L})(${JSON.stringify(s)})`);if(i!==void 0)return w(E(a,i));const d=await l(a,t),f=await c(a).open(b(a.root),d),m=await v({gpu:!1});try{const u=await x(m,{width:e,height:n,allow:()=>!0});return await u.goto(f),await u.evaluate("document.fonts.ready.then(() => true)"),await w(u)}finally{await m.close()}}),"website/status":o(r["website/status"],async({item:t},e)=>{const n=await l(e,t);return e.cloud===void 0?{hosting:!1}:p(e).status(n)}),"website/publish":o(r["website/publish"],async({item:t,slug:e,note:n,anew:s},i)=>p(i).publish(await l(i,t),{slug:e,note:n,anew:s})),"website/live":o(r["website/live"],async({item:t,version:e},n)=>p(n).live(await l(n,t),e)),"website/settings":o(r["website/settings"],async({item:t,autoPublish:e,indexing:n},s)=>p(s).settings(await l(s,t),{autoPublish:e,indexing:n})),"website/unpublish":o(r["website/unpublish"],async({item:t},e)=>p(e).unpublish(await l(e,t))),"website/remove":o(r["website/remove"],async({item:t},e)=>p(e).remove(await l(e,t)))};export default N;
|
|
@@ -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{PathSchema as
|
|
2
|
+
import{z as e}from"zod";import{PathSchema as a,SiteDetailSchema as o,method as t,toolCaller as n}from"@allyhub/protocol";const s=e.strictObject({item:a});export const WebsiteStatusSchema=e.strictObject({hosting:e.boolean(),detail:o.optional(),elsewhere:e.boolean().optional(),changed:e.boolean().optional(),slug:e.string().optional(),domain:e.string().optional()});const i={confirm:e.string().optional()};export const WEBSITE_TOOLS={"website/preview":t(s,e.strictObject({url:e.string()}),"A website's address as its own dev server serves it, for a frame: its dependencies installed if it has none, then its website.json's dev command on a free port; it answers once the page does."),"website/still":t(s.extend({width:e.number().int().positive().max(4096),height:e.number().int().positive().max(4096),scale:e.number().positive().max(4).default(1),hold:e.string().optional()}),e.strictObject({image:e.strictObject({mime:e.string(),data:e.string()})}),"A website's page as its own dev server serves it, drawn at a frame's size from its top: what Mark up lays over a website's frame where the window cannot read another origin's pixels."),"website/hold":t(s.extend({width:e.number().int().positive().max(4096),height:e.number().int().positive().max(4096),scale:e.number().positive().max(4).default(1)}),e.strictObject({hold:e.string()}),"A website's page opened at a frame's size and kept as it is while a person marks it: website/still and website/at draw and read it as it was, until website/release."),"website/release":t(e.strictObject({hold:e.string()}),e.strictObject({}),"Lets a page held for notes go."),"website/at":t(s.extend({width:e.number().int().positive().max(4096),height:e.number().int().positive().max(4096),points:e.array(e.strictObject({x:e.number(),y:e.number()})).min(1).max(24),hold:e.string().optional()}),e.strictObject({page:e.string(),elements:e.array(e.strictObject({selector:e.string(),tag:e.string(),text:e.string()}))}),"What is at places of a website's page as its own dev server serves it, drawn at a frame's size from its top (as website/still draws it): what a person's mark on its frame is on."),"website/status":t(s,WebsiteStatusSchema,"A website's hosted site, its versions, and whether what is here differs from what is live; where the server has no person's sign-in, not hosted."),"website/publish":t(s.extend({slug:e.string().optional(),note:e.string().optional(),anew:e.boolean().optional()}),e.strictObject({live:e.boolean(),url:e.string(),...i}),"Builds a website, uploads it as a version and makes it live, for the person who pressed Publish. The first time, it waits for their yes in a browser (`confirm`, a page to open there)."),"website/live":t(s.extend({version:e.string().min(1)}),e.strictObject({live:e.boolean(),...i}),"Makes a version what the site serves, as the person asked."),"website/settings":t(s.extend({autoPublish:e.boolean().optional(),indexing:e.boolean().optional()}),e.strictObject({}),"Changes what the person controls of a site."),"website/unpublish":t(s,e.strictObject({}),"Takes a site offline; it keeps its address and versions."),"website/remove":t(s,e.strictObject({}),"Takes a site offline for good. Its address is never given to anyone else.")},callWebsiteTool=n(WEBSITE_TOOLS);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allyhub/website-extension",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./tools": {
|
|
@@ -41,6 +41,20 @@
|
|
|
41
41
|
},
|
|
42
42
|
"noun": "website",
|
|
43
43
|
"editor": "allyhub.website.view",
|
|
44
|
+
"shown": {
|
|
45
|
+
"line": {
|
|
46
|
+
"en": "Sites, landing pages, docs and blogs",
|
|
47
|
+
"zh-cn": "网站、落地页、文档站和博客",
|
|
48
|
+
"zh-tw": "網站、到達頁、文件站和部落格",
|
|
49
|
+
"ja": "サイト、LP、ドキュメント、ブログ",
|
|
50
|
+
"ko": "사이트, 랜딩 페이지, 문서, 블로그",
|
|
51
|
+
"es": "Sitios, landing pages, documentación y blogs",
|
|
52
|
+
"pt": "Sites, landing pages, documentação e blogs",
|
|
53
|
+
"de": "Websites, Landingpages, Dokumentationen und Blogs",
|
|
54
|
+
"fr": "Sites, landing pages, documentation et blogs"
|
|
55
|
+
},
|
|
56
|
+
"order": 70
|
|
57
|
+
},
|
|
44
58
|
"icon": "globe",
|
|
45
59
|
"color": "kind-folder",
|
|
46
60
|
"build": "./dist/build.js"
|
|
@@ -52,7 +66,8 @@
|
|
|
52
66
|
"kinds": [
|
|
53
67
|
"website"
|
|
54
68
|
],
|
|
55
|
-
"module": "@allyhub/website-view"
|
|
69
|
+
"module": "@allyhub/website-view",
|
|
70
|
+
"markup": "./markup"
|
|
56
71
|
}
|
|
57
72
|
],
|
|
58
73
|
"rules": [
|
|
@@ -91,6 +106,38 @@
|
|
|
91
106
|
},
|
|
92
107
|
"module": "./dist/project-tools.js"
|
|
93
108
|
},
|
|
109
|
+
{
|
|
110
|
+
"name": "website/still",
|
|
111
|
+
"source": "asleep",
|
|
112
|
+
"does": {
|
|
113
|
+
"files": "the website's own dev command, its website.json's dev, run in its folder; its page drawn in a browser"
|
|
114
|
+
},
|
|
115
|
+
"module": "./dist/project-tools.js"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "website/at",
|
|
119
|
+
"source": "asleep",
|
|
120
|
+
"does": {
|
|
121
|
+
"files": "the website's own dev command, its website.json's dev, run in its folder; its page read in a browser"
|
|
122
|
+
},
|
|
123
|
+
"module": "./dist/project-tools.js"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "website/hold",
|
|
127
|
+
"source": "asleep",
|
|
128
|
+
"does": {
|
|
129
|
+
"files": "the website's own dev command, its website.json's dev, run in its folder; its page kept open in a browser"
|
|
130
|
+
},
|
|
131
|
+
"module": "./dist/project-tools.js"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "website/release",
|
|
135
|
+
"source": "asleep",
|
|
136
|
+
"does": {
|
|
137
|
+
"files": "nothing the agent does: a page kept open for a person's notes closed"
|
|
138
|
+
},
|
|
139
|
+
"module": "./dist/project-tools.js"
|
|
140
|
+
},
|
|
94
141
|
{
|
|
95
142
|
"name": "website/status",
|
|
96
143
|
"source": "asleep",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{copyFile as
|
|
3
|
-
`),
|
|
4
|
-
`),s.push({type:o,files:
|
|
2
|
+
import{copyFile as M,mkdir as B,readFile as x,writeFile as j}from"node:fs/promises";import{basename as E,dirname as L,extname as O,join as f,posix as N}from"node:path";import"@allyhub/build";import{problem as T}from"@allyhub/diagnostics";import{checkXPost as A,mediaKind as D,overBytes as G,readPost as _,requestsOf as I}from"@allyhub/x-model";import w from"@allyhub/image-extension/build";import{X_CONFIG as J,premiumOf as q}from"./config.js";import{MADE_TYPES as K,measures as Y,projectPath as z}from"./media.js";import{moduleText as H,writeModule as Q}from"./stage-module.js";export async function readXPost(t,e){const s=n=>({where:{file:t.entry,...n===void 0?{}:{line:n}}}),i=_(await x(f(e.root,t.entry),"utf8"));if(!i.value)return{problems:i.errors.map(n=>T("allyhub.x/format",`${t.entry}: ${n.path.length>0?`${n.path.join(".")}: `:""}${n.message}`,s(i.line(n.path))))};const u=Y(i.value.posts.flatMap(n=>(n.media??[]).map(m=>m.file)),K,t,e),{findings:o}=A(i.value,{premium:q(e.config),media:u.media}),l=o.map(n=>T(`allyhub.x/${n.rule}`,`${t.entry}: ${n.message}`,s(i.line(n.path)))),h=await Q(e.root,t,H(t,i.value,new Set(u.uses.map(n=>n.of)),u.media)),r=await w.read?.({...t,entry:h,dir:N.dirname(h)},e);return l.push(...r?.problems??[]),{problems:l,...r?.piece===void 0?{}:{piece:r.piece},...r?.stage===void 0?{}:{stage:r.stage},uses:u.uses.map(n=>{const m=R(i,n.of);return m===void 0?n:{...n,line:m}})}}function R(t,e){const s=t.value?.posts??[];for(const[i,u]of s.entries())for(const[o,l]of(u.media??[]).entries())if(l.file===e)return t.line(["posts",i,"media",o,"file"])}async function U(t,e){const s=[],i=e.prepared.problems.find(o=>o.level==="error"&&o.where?.file===t.entry),u=_(await x(f(e.root,t.entry),"utf8"));for(const o of e.types){if(i||!u.value){s.push({type:o,failure:{code:"check-failed",message:i?.message??`${t.entry} cannot be read.`,hint:"allyhub check lists what is wrong; fix it, then render again."}});continue}const l=u.value,h=e.out(o),r=f(L(h),E(h,O(h)));if(await B(r,{recursive:!0}),o==="txt"){const c=[];let g;for(const[y,P]of l.posts.entries()){const a=f(r,`${String(y+1)}.txt`);await j(a,`${P.text}
|
|
3
|
+
`),c.push(a);for(const[$,d]of(P.media??[]).entries()){const p=e.made(d.file)??C(e.root,t,d.file);if(p===void 0){g=`${d.file}, a medium of post ${String(y+1)}, could not be made.`;break}const b=`${String(y+1)}-${String($+1)}`,S=f(r,`${b}${O(p).toLowerCase()}`);if(await M(p,S),c.push(S),d.alt!==void 0&&d.alt.trim()!==""){const X=f(r,`${b}.alt.txt`);await j(X,`${d.alt}
|
|
4
|
+
`),c.push(X)}}if(g!==void 0)break}s.push(g===void 0?{type:o,files:c}:{type:o,failure:{code:"media",message:g}});continue}const n=q(e.prepared.config),m=[],k=[];let v;for(const[c,g]of I(l).entries()){const y=[];for(const[P,a]of(l.posts[c]?.media??[]).entries()){const $=e.made(a.file)??C(e.root,t,a.file);if($===void 0){v=`${a.file}, a medium of post ${String(c+1)}, could not be made.`;break}const d=O($).toLowerCase(),p=`${String(c+1)}-${String(P+1)}${d}`;await M($,f(r,p)),m.push(f(r,p));const b=D(d.slice(1)),S=(await x($)).length;v??=b===void 0?`${a.file} was made as ${d}, which X takes as no medium.`:G(a.file,S,b,n),y.push({file:p,...a.alt===void 0?{}:{alt:a.alt}})}k.push({request:g,media:y})}if(v!==void 0){s.push({type:o,failure:{code:"media",message:v}});continue}const F=f(r,"posts.json");await j(F,`${JSON.stringify({about:"POST /2/tweets's request for each post, in order. Publishing uploads each medium (its alt text by POST /2/media/metadata), names its id in media.media_ids, and makes each post after the first a reply to the one before (reply.in_reply_to_tweet_id).",posts:k},null,2)}
|
|
5
|
+
`),s.push({type:o,files:[F,...m]})}return s}function C(t,e,s){const i=z(e,s);return i===void 0?void 0:f(t,i)}const V={config:J,read:readXPost,onStage:!0,...w.checks===void 0?{}:{checks:w.checks},checkPiece:t=>w.checkPiece?.(t)??Promise.resolve({problems:[],facts:[]}),render:(t,e)=>e.types.every(s=>s==="png")?w.render?.(t,e)??Promise.resolve([]):U(t,e),unreadable:t=>{const e=_(t);return e.value||e.errors.every(s=>s.path.length>0)?[]:e.errors.map(s=>s.message)}};export default V;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allyhub/x-extension",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./package.json": "./package.json",
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
"color": "kind-slate",
|
|
50
50
|
"exports": {
|
|
51
51
|
"types": [
|
|
52
|
-
"x-post",
|
|
53
52
|
"txt",
|
|
54
53
|
"png"
|
|
55
54
|
],
|
|
@@ -66,15 +65,15 @@
|
|
|
66
65
|
"pt": "Requisições da API do X"
|
|
67
66
|
},
|
|
68
67
|
"txt": {
|
|
69
|
-
"en": "Text",
|
|
70
|
-
"zh-cn": "
|
|
71
|
-
"zh-tw": "
|
|
72
|
-
"ja": "
|
|
73
|
-
"ko": "
|
|
74
|
-
"es": "Texto",
|
|
75
|
-
"fr": "Texte",
|
|
76
|
-
"de": "Text",
|
|
77
|
-
"pt": "Texto"
|
|
68
|
+
"en": "Text and media",
|
|
69
|
+
"zh-cn": "文字和媒体",
|
|
70
|
+
"zh-tw": "文字和媒體",
|
|
71
|
+
"ja": "テキストとメディア",
|
|
72
|
+
"ko": "텍스트와 미디어",
|
|
73
|
+
"es": "Texto y medios",
|
|
74
|
+
"fr": "Texte et médias",
|
|
75
|
+
"de": "Text und Medien",
|
|
76
|
+
"pt": "Texto e mídia"
|
|
78
77
|
}
|
|
79
78
|
}
|
|
80
79
|
},
|
|
@@ -95,7 +94,21 @@
|
|
|
95
94
|
"entry": "{{name}}.yaml"
|
|
96
95
|
},
|
|
97
96
|
"build": "./dist/build.js",
|
|
98
|
-
"editor": "allyhub.x.post-editor"
|
|
97
|
+
"editor": "allyhub.x.post-editor",
|
|
98
|
+
"shown": {
|
|
99
|
+
"line": {
|
|
100
|
+
"en": "Posts and threads, as X shows them",
|
|
101
|
+
"zh-cn": "帖子和串推,所见即 X 上的样子",
|
|
102
|
+
"zh-tw": "貼文和串文,所見即 X 上的樣子",
|
|
103
|
+
"ja": "ポストとスレッドを X の見た目のまま",
|
|
104
|
+
"ko": "게시물과 스레드를 X에 보이는 그대로",
|
|
105
|
+
"es": "Publicaciones e hilos, tal como los muestra X",
|
|
106
|
+
"pt": "Posts e threads, como o X mostra",
|
|
107
|
+
"de": "Posts und Threads, wie X sie zeigt",
|
|
108
|
+
"fr": "Posts et fils, tels que X les affiche"
|
|
109
|
+
},
|
|
110
|
+
"order": 60
|
|
111
|
+
}
|
|
99
112
|
},
|
|
100
113
|
{
|
|
101
114
|
"id": "x-article",
|
|
@@ -123,11 +136,24 @@
|
|
|
123
136
|
},
|
|
124
137
|
"noun": "X article",
|
|
125
138
|
"editor": "allyhub.x.article-editor",
|
|
139
|
+
"shown": {
|
|
140
|
+
"line": {
|
|
141
|
+
"en": "Long-form articles on X",
|
|
142
|
+
"zh-cn": "X 上的长文章",
|
|
143
|
+
"zh-tw": "X 上的長文章",
|
|
144
|
+
"ja": "X の長文記事",
|
|
145
|
+
"ko": "X의 장문 아티클",
|
|
146
|
+
"es": "Artículos largos en X",
|
|
147
|
+
"pt": "Artigos longos no X",
|
|
148
|
+
"de": "Lange Artikel auf X",
|
|
149
|
+
"fr": "Articles longs sur X"
|
|
150
|
+
},
|
|
151
|
+
"order": 61
|
|
152
|
+
},
|
|
126
153
|
"icon": "newspaper",
|
|
127
154
|
"color": "kind-slate",
|
|
128
155
|
"exports": {
|
|
129
156
|
"types": [
|
|
130
|
-
"x-article",
|
|
131
157
|
"png"
|
|
132
158
|
],
|
|
133
159
|
"names": {
|
|
@@ -168,14 +194,16 @@
|
|
|
168
194
|
"kinds": [
|
|
169
195
|
"x-post"
|
|
170
196
|
],
|
|
171
|
-
"module": "@allyhub/x-editor"
|
|
197
|
+
"module": "@allyhub/x-editor",
|
|
198
|
+
"markup": "./markup/post"
|
|
172
199
|
},
|
|
173
200
|
{
|
|
174
201
|
"id": "allyhub.x.article-editor",
|
|
175
202
|
"kinds": [
|
|
176
203
|
"x-article"
|
|
177
204
|
],
|
|
178
|
-
"module": "@allyhub/x-editor/article"
|
|
205
|
+
"module": "@allyhub/x-editor/article",
|
|
206
|
+
"markup": "./markup/article"
|
|
179
207
|
}
|
|
180
208
|
],
|
|
181
209
|
"rules": [
|
|
@@ -1,67 +1,12 @@
|
|
|
1
1
|
# references/x.md
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
What will be published on X is written in X's own model, so what X counts and refuses is checked before it goes:
|
|
4
4
|
|
|
5
|
-
An X post
|
|
5
|
+
- **An X post** (`x-post`): a post, a thread or a long post, with its pictures, video and poll.
|
|
6
|
+
- **An X article** (`x-article`): a long piece in X's article blocks, with its title and cover.
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
reply_settings: following # who may reply to each post: following, mentionedUsers, subscribers or verified
|
|
9
|
-
posts:
|
|
10
|
-
- text: |
|
|
11
|
-
We shipped dark mode.
|
|
12
|
-
media:
|
|
13
|
-
- file: ./shots.ts#hero # an image's board, a video item, or a picture or video file, from this file's folder
|
|
14
|
-
alt: The dashboard in dark mode.
|
|
15
|
-
- text: Which do you use?
|
|
16
|
-
poll: { options: [Light, Dark], duration_minutes: 1440 }
|
|
17
|
-
```
|
|
8
|
+
Their pictures and videos can be the project's own items, an image's boards or a video, made when the post or article is rendered.
|
|
18
9
|
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
- **
|
|
22
|
-
- **Plain text.** The API publishes no bold or italics: write emphasis in the words. A link is its address.
|
|
23
|
-
- **Write a post's text as a block (`|`) or in quotes** when it holds ` #` (YAML reads the rest of the line as a comment), starts with `@`, `#` or a quote, or holds `: `. The line break a block ends in is not posted.
|
|
24
|
-
- **Media**: up to 4 pictures (JPEG, PNG or WebP, 5 MB each), or 1 GIF (15 MB), or 1 video (MP4 or MOV), never mixed. Alt text up to 1,000 characters. X publishes no picture size, crop or safe area. A video is checked against the widest of what X publishes: 0.5 s to 20 minutes (4 hours with Premium), 8 GB (16 GB), sides 32 px to 1920 on the long side and 1200 on the short, 1:3 to 3:1. X's ways of posting take less: its web upload 1:2.39 to 2.39:1 at 40 frames a second and 25 Mbps, and without Premium 140 seconds and 512 MB; its API's media guide 1280×1024 and 60 frames a second. A 1280×720 or 720×1280 H.264 MP4 at 30 frames a second under 140 seconds suits every way.
|
|
25
|
-
- **Another item's made file**: `./shots.ts#hero` is the image `shots`'s board `hero`, made first when the post is rendered; a video item's file is its first version. Its bytes are checked when it is made.
|
|
26
|
-
|
|
27
|
-
## An X article
|
|
28
|
-
|
|
29
|
-
An article is an `x-article`: a Markdown file listed in `allyhub.yaml` (`- { kind: x-article, file: launch/story.md }`), its title and cover in its front matter, its body in X's blocks alone:
|
|
30
|
-
|
|
31
|
-
```markdown
|
|
32
|
-
---
|
|
33
|
-
title: How we built dark mode
|
|
34
|
-
cover: ./shots.ts#cover # a picture file or an image's board; or { file, alt }
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
Paragraphs with **bold**, _italic_, ~~strikethrough~~ and [links](https://example.com).
|
|
38
|
-
|
|
39
|
-
# A heading (X has two: # a Heading, ## a Subheading)
|
|
40
|
-
|
|
41
|
-
- a list, one level deep
|
|
42
|
-
|
|
43
|
-
1. or numbered
|
|
44
|
-
|
|
45
|
-
> A quote.
|
|
46
|
-
|
|
47
|
-
<br />
|
|
48
|
-
|
|
49
|
-

|
|
50
|
-
|
|
51
|
-
https://x.com/allyhub/status/1234567890
|
|
52
|
-
|
|
53
|
-
https://example.com/launch
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
$$
|
|
58
|
-
e^{i\pi} + 1 = 0
|
|
59
|
-
$$
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
- **Each element is one of X's blocks**: a paragraph, a Heading (`#`) and a Subheading (`##`), lists a level deep, a quote, a picture, GIF or video on a line of its own (its alt text and its caption), a post's address on a line of its own (an embedded post), any other address on a line of its own (a link's card, as X's link preview), `---` (a divider), `$$ … $$` (an equation), a code block or a table (X's Markdown block: 10,000 together, weighted as X counts), and `<br />` alone on a line (an empty line, which X keeps). A third level of heading, a list inside a list, inline code, a picture or an equation inside a line and other HTML are not: each is a problem at its line.
|
|
63
|
-
- **A code block or a picture written inside a list item** stands after the list, and the list starts again after it, as X's editor places it: write the next numbered item as 1, or keep the list whole and put the block after it.
|
|
64
|
-
- **Media** are pictures (JPEG, PNG or WebP, 5 MB each), GIFs (15 MB) and videos (MP4 or MOV); the cover is a picture at 5:2. An image's board (`./shots.ts#chart`) or a video item (`./teaser.ts`) may be one, made first when the article is rendered. X publishes no most for a title or a body.
|
|
65
|
-
- **X Premium** writes articles. Through the API an article is drafted and published, and nothing else: it cannot be changed or deleted once published.
|
|
66
|
-
|
|
67
|
-
`allyhub check` reports what X refuses under `allyhub.x/…`, at its line. `allyhub inspect <post>` gives each post's weighted length beside 280 and 25,000, its links, mentions, hashtags and cashtags, and its media's bytes. `allyhub render <post>` writes POST /2/tweets's request for each post (`x-post`: `posts.json`, the media beside it) or each post's text (`--type txt`). `allyhub inspect <article>` gives its words, its weighted length, its headings, its media, its embedded posts and links' cards, and its code's weight against 10,000; `allyhub frames <post>` and `allyhub frames <article>` draw them as X shows them once published (a thread as the timeline does, an article in X's column), in Inter in place of X's own face; an embedded post and a link's card are drawn by their address, as their content is X's to fetch. `allyhub render <article>` writes POST /2/articles/draft's request (`x-article`: `article.json`, its media beside it with `media.json`). Publishing to X is not built.
|
|
10
|
+
- `allyhub help x` lists the commands and prints where the SDK's `x.md` is. Read it before writing a post or an article.
|
|
11
|
+
- `allyhub frames` draws a post or an article as X shows it once published, and `allyhub inspect` gives what X counts. Look with them before handing it over.
|
|
12
|
+
- **Publishing to X is not built.** `allyhub render` writes the requests X's API takes, or a post's text to paste.
|