allyhub 0.10.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 +8 -0
- package/dist/commands/dev.js +2 -2
- package/dist/commands/frames/report.js +2 -0
- package/dist/commands/frames.js +11 -9
- package/dist/commands/render.js +2 -2
- package/dist/node_modules/@allyhub/3d-extension/dist/stage-routes.js +1 -1
- package/dist/node_modules/@allyhub/3d-extension/package.json +1 -1
- 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 +1 -1
- package/dist/node_modules/@allyhub/canvas-model/package.json +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.js +1 -1
- package/dist/node_modules/@allyhub/cloud/package.json +1 -1
- package/dist/node_modules/@allyhub/components/package.json +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/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/html.js +15 -59
- package/dist/node_modules/@allyhub/doc/dist/page.js +1 -1
- 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 +12 -14
- 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/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-host/package.json +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/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 +1 -6
- 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/package.json +1 -1
- package/dist/node_modules/@allyhub/model/package.json +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/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 +12 -0
- package/dist/node_modules/@allyhub/piece/package.json +1 -1
- package/dist/node_modules/@allyhub/project/package.json +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +8 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +4 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +6 -0
- package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +61 -1
- package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +0 -1
- package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +41 -3
- 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 +12 -0
- package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/protocol/package.json +1 -5
- 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/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/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/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.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/export.js +2 -4
- package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
- 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 +3 -7
- 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 +3 -16
- package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/stage/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/install.js +1 -1
- 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 +14 -14
- package/dist/node_modules/@allyhub/stage-runtime/package.json +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 +2 -4
- package/dist/node_modules/@allyhub/video-measure/package.json +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/preview.js +5 -5
- package/dist/node_modules/@allyhub/website-extension/dist/project-tools.js +2 -2
- package/dist/node_modules/@allyhub/website-extension/package.json +1 -1
- package/dist/node_modules/@allyhub/x-extension/dist/build.js +4 -3
- package/dist/node_modules/@allyhub/x-extension/package.json +10 -12
- package/dist/node_modules/@allyhub/x-model/package.json +1 -1
- package/dist/node_modules/@allyhub/x-view/package.json +1 -1
- package/dist/package.json +12 -10
- package/dist/works.js +1 -1
- package/editor-web/assets/{abnfDiagram-WEYOIA3C-CjAmWsNR.js → abnfDiagram-WEYOIA3C-BKmMA6gn.js} +1 -1
- package/editor-web/assets/{architecture-WOLXFQ4H-DeeKhyhZ.js → architecture-WOLXFQ4H-BEFBgb4k.js} +1 -1
- package/editor-web/assets/{architectureDiagram-ZHVYKT53-b32qTaJg.js → architectureDiagram-ZHVYKT53-_u5YfCjY.js} +1 -1
- package/editor-web/assets/{arrow-up-L4YV_65f.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-BFcM7G2L.js → audio-lines-CzuzsGjI.js} +1 -1
- package/editor-web/assets/{blockDiagram-RJAE7QA3-BNbnMNmw.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-BEuemvMw.js → c4Diagram-XDPPPE54-BfqLHB5i.js} +1 -1
- 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-Zb5nPx_e.js → chunk-2E7WHVMD-BVp1I_d0.js} +1 -1
- package/editor-web/assets/{chunk-4EMNKR2T-DSEM2reX.js → chunk-4EMNKR2T-CTdgWEMr.js} +1 -1
- package/editor-web/assets/{chunk-55XCU76K-BOZa_65H.js → chunk-55XCU76K-7pnsxeaP.js} +1 -1
- package/editor-web/assets/{chunk-7S6XSTFO-DeiGeVpB.js → chunk-7S6XSTFO-Dc0Dvkq7.js} +1 -1
- package/editor-web/assets/{chunk-AQDTSKZB-fPuQFBJc.js → chunk-AQDTSKZB-VAILIsfx.js} +1 -1
- package/editor-web/assets/{chunk-DSNLSHJZ-5vdnoak2.js → chunk-DSNLSHJZ-CUDx1Rv5.js} +1 -1
- package/editor-web/assets/{chunk-HAGFOTED-DFF2mZJ1.js → chunk-HAGFOTED-DAoEe-dJ.js} +1 -1
- package/editor-web/assets/{chunk-HNE4Q36P-g6-ZLbTg.js → chunk-HNE4Q36P-g0akya12.js} +1 -1
- package/editor-web/assets/{chunk-NQOKRVIF-o3hNcHMJ.js → chunk-NQOKRVIF-hTGjzXdJ.js} +1 -1
- package/editor-web/assets/{chunk-UHW7PFBP-BQiDI9dK.js → chunk-UHW7PFBP-BgLV8BIJ.js} +1 -1
- package/editor-web/assets/{chunk-VQ5W62QI-CJlMXWWz.js → chunk-VQ5W62QI-Bw19OOSD.js} +1 -1
- package/editor-web/assets/{chunk-WQQL4CDK-pNBU8dXv.js → chunk-WQQL4CDK-CMST9dyE.js} +1 -1
- package/editor-web/assets/{chunk-YZO67HFG-2x-BiWd-.js → chunk-YZO67HFG-Bbpu36XF.js} +1 -1
- package/editor-web/assets/{chunk-ZAUX2LTX-etFStEM8.js → chunk-ZAUX2LTX-C48Ri0Gs.js} +1 -1
- package/editor-web/assets/{chunk-ZCHMQSOR-B3AYRhIY.js → chunk-ZCHMQSOR-DN1g01Oe.js} +1 -1
- package/editor-web/assets/{classDiagram-v2-4MYWR3UA-6y2yX0oq.js → classDiagram-v2-4MYWR3UA-U6jbPr2d.js} +1 -1
- package/editor-web/assets/{collaborator-LRd0hELn.js → collaborator-B1u2td9m.js} +1 -1
- package/editor-web/assets/{createLucideIcon-CPS-TrJJ.js → createLucideIcon-GFZ_fxLc.js} +1 -1
- package/editor-web/assets/{cynefin-EF2NZ3EQ-CX4BTQQe.js → cynefin-EF2NZ3EQ-gzkai_7-.js} +1 -1
- package/editor-web/assets/{cynefinDiagram-WF24UDRP-LbDkOTy3.js → cynefinDiagram-WF24UDRP-DtSekSr6.js} +1 -1
- package/editor-web/assets/{dagre-NK4GIZVX-wCKQk7hi.js → dagre-NK4GIZVX-CiUwYVT6.js} +1 -1
- package/editor-web/assets/{diagram-CBK3MWTC-a9fofQwk.js → diagram-CBK3MWTC-r9XHCV-k.js} +1 -1
- package/editor-web/assets/{diagram-I5XIIV2D-UCLZWch5.js → diagram-I5XIIV2D-DxVsDZ34.js} +1 -1
- package/editor-web/assets/{diagram-ODIL2UCW-CAEe88Lp.js → diagram-ODIL2UCW-B0eNQoHV.js} +1 -1
- package/editor-web/assets/{diagram-PFBEJUXE-Cp1o45bs.js → diagram-PFBEJUXE-C7f2MfJT.js} +1 -1
- package/editor-web/assets/{diagram-RJA3I4VV-c6OVxDyq.js → diagram-RJA3I4VV-CSXcnvct.js} +1 -1
- package/editor-web/assets/{diagram-TYUNFSNR-BVRWslDM.js → diagram-TYUNFSNR-DXzOD_ii.js} +1 -1
- package/editor-web/assets/dist-BGRwhCQO.js +1 -0
- package/editor-web/assets/{dist-DwGhfliS.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-j6ZLVcgf.js → dist-CX-fiPSn.js} +16 -16
- 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-KdOTJgFu.js → ebnfDiagram-V4P3TTPT-Cs4YRvDD.js} +1 -1
- package/editor-web/assets/{elk-QONTBCTQ-Cmlrp7qB.js → elk-QONTBCTQ-Bh3LZ9WI.js} +1 -1
- package/editor-web/assets/{erDiagram-KYQIGQAA-CBM7-aQm.js → erDiagram-KYQIGQAA-C4vYTYXp.js} +1 -1
- package/editor-web/assets/{eventmodeling-K75KTNOO-CEoJkbuW.js → eventmodeling-K75KTNOO-BN1kkHWS.js} +1 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-B04NGsyi.js +1 -0
- package/editor-web/assets/{ganttDiagram-R7GPNTJY-D4S6ZSYD.js → ganttDiagram-R7GPNTJY-CA1LkkC5.js} +1 -1
- package/editor-web/assets/{gitGraph-VSP46ZUC-BvkL6RSh.js → gitGraph-VSP46ZUC-Dy5tA7dG.js} +1 -1
- package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-lTGguloH.js → gitGraphDiagram-PDYL7XHY-hJIB8EkH.js} +1 -1
- package/editor-web/assets/{hint-BimUgJms.js → hint-B8JpEypy.js} +1 -1
- package/editor-web/assets/index-CgB5osVc.js +28 -0
- package/editor-web/assets/index-Daytem9N.css +2 -0
- package/editor-web/assets/{info-OHQRW6UA-DvKzqNvp.js → info-OHQRW6UA-DvzSf7rQ.js} +1 -1
- package/editor-web/assets/{infoDiagram-MVDRKAX5-D7hCpehs.js → infoDiagram-MVDRKAX5-BjIMm4Af.js} +1 -1
- package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-Bg93sZQe.js → ishikawaDiagram-HPEHV2GE-Bpz71S40.js} +1 -1
- package/editor-web/assets/{italic-BQBwRTe8.js → italic-D10w8n6C.js} +1 -1
- package/editor-web/assets/{journeyDiagram-BOSHW7O7-CKm_KONJ.js → journeyDiagram-BOSHW7O7-DAB-pZjD.js} +1 -1
- package/editor-web/assets/{kanban-definition-FNSA4HC5-BKknnpTR.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-BzqkDnqL.js → mermaid-parser.core-req5LE0X.js} +3 -3
- package/editor-web/assets/{mermaid.core-CEpvTOAe.js → mermaid.core-zFwZug4C.js} +4 -4
- package/editor-web/assets/{mindmap-definition-6OY57UG3-BJ0qG8Wi.js → mindmap-definition-6OY57UG3-TStWb7DG.js} +1 -1
- package/editor-web/assets/minus-DaWs5i8B.js +1 -0
- package/editor-web/assets/{packet-JDAUHWVQ-ew3kvyFm.js → packet-JDAUHWVQ-smFhVKcB.js} +1 -1
- package/editor-web/assets/palette-BIOudGkm.js +1 -0
- package/editor-web/assets/{pegDiagram-ECIUJNBX-DqUS2xit.js → pegDiagram-ECIUJNBX-DvSNRv0-.js} +1 -1
- package/editor-web/assets/{pie-XZMESJXO-DTIAMPGm.js → pie-XZMESJXO-qjaGsBZG.js} +1 -1
- package/editor-web/assets/{pieDiagram-GNMPY74T-DoKOE02-.js → pieDiagram-GNMPY74T-Dd9P-Pdc.js} +1 -1
- package/editor-web/assets/play-CrMmPghG.js +1 -0
- package/editor-web/assets/{progress-CPEbDOoN.js → progress-DE4C5_3x.js} +1 -1
- package/editor-web/assets/props-form-CsmDBqzy.js +1 -0
- package/editor-web/assets/{quadrantDiagram-D57K4MC3-DauOpYun.js → quadrantDiagram-D57K4MC3-h2IIKUUA.js} +1 -1
- package/editor-web/assets/{radar-ABXABTNO-BvMJXUU-.js → radar-ABXABTNO-DlVrSA1d.js} +1 -1
- package/editor-web/assets/{railroad-I3PHUGI6-D3jdJmhM.js → railroad-I3PHUGI6-nFbuLAtc.js} +1 -1
- package/editor-web/assets/{railroad-abnf-LNEFI6M7-Dm8ZpmPj.js → railroad-abnf-LNEFI6M7-Daj8h2iV.js} +1 -1
- package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-oc0Du7Ag.js → railroad-ebnf-DWYD2UWJ-eYJyl5PH.js} +1 -1
- package/editor-web/assets/{railroad-peg-JR7BVNR7-CMrQL_7U.js → railroad-peg-JR7BVNR7-BTRhKZQq.js} +1 -1
- package/editor-web/assets/{railroadDiagram-Y72NRBL7-y99z0C7i.js → railroadDiagram-Y72NRBL7-CeLGUjdp.js} +1 -1
- package/editor-web/assets/{react-DztDSW4P.js → react-WA6wlt8S.js} +1 -1
- package/editor-web/assets/{repeat-2-DJi4LW5C.js → repeat-2-VQP1EVOZ.js} +1 -1
- package/editor-web/assets/{requirementDiagram-EQYSW5RA-jMr_uoF6.js → requirementDiagram-EQYSW5RA-Dmk9XRM5.js} +1 -1
- package/editor-web/assets/{row-ClBisiBs.js → row-BRlEWRrK.js} +1 -1
- package/editor-web/assets/{sankeyDiagram-SY24JHO5-DcUyx03Q.js → sankeyDiagram-SY24JHO5-Yn4zlrAM.js} +1 -1
- package/editor-web/assets/{schemas-68mjUjP5.js → schemas-VikZYZIK.js} +1 -1
- package/editor-web/assets/{sequenceDiagram-BLEHNHQU-R4X8wRCd.js → sequenceDiagram-BLEHNHQU-BTRnp_PW.js} +1 -1
- package/editor-web/assets/{session-2u9U7koW.js → session-Do9AqS38.js} +1 -1
- package/editor-web/assets/{slides-BByblSSR.js → slides-diTEQ3C5.js} +1 -1
- package/editor-web/assets/{snapshots-C9KV-Y2_.js → snapshots-BUGlKQIB.js} +1 -1
- package/editor-web/assets/{sound-DExlNJbb.js → sound-Bj3o9_Fa.js} +1 -1
- package/editor-web/assets/split-CNU1RHcX.js +3 -0
- package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-BqvXKbCA.js → stateDiagram-v2-A6IESKWZ-kstrRKv2.js} +1 -1
- package/editor-web/assets/{strikethrough-CyUBnGTl.js → strikethrough-CfXx6IYH.js} +1 -1
- package/editor-web/assets/{svg-lBRT-uhy.js → svg-Cx50MpxK.js} +1 -1
- package/editor-web/assets/{swatch-1c1uVn1z.js → swatch-WeJD41aW.js} +1 -1
- package/editor-web/assets/{swimlanes-B3ENRKFQ-hjTXIc6M.js → swimlanes-B3ENRKFQ-DaZsZkeP.js} +1 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-CBZAujYY.js +8 -0
- package/editor-web/assets/{switch-D0K-K8-C.js → switch-N0G_sbqt.js} +1 -1
- 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-CxxOnGLR.js → tabs-DIFDqj-l.js} +1 -1
- package/editor-web/assets/{textarea-Fu93tFO3.js → textarea-tEWvBY9p.js} +1 -1
- package/editor-web/assets/{timeline-definition-JXYKGLGB-BcSoN4Dq.js → timeline-definition-JXYKGLGB-CLCvY-Yf.js} +1 -1
- package/editor-web/assets/{trash-2-BAKAeziW.js → trash-2-BP6nqpg2.js} +1 -1
- package/editor-web/assets/{treeView-D4JQ5SDB-CsFN2jrc.js → treeView-D4JQ5SDB-BmN0gwdC.js} +1 -1
- package/editor-web/assets/{treemap-SAJKECNS-DP1eqXJ2.js → treemap-SAJKECNS-DN29G_E_.js} +1 -1
- package/editor-web/assets/{undo-2-DQ5CBmki.js → undo-2-CHR0nvWL.js} +1 -1
- package/editor-web/assets/{usecaseDiagram-WPOLBNNX-BGxa0osF.js → usecaseDiagram-WPOLBNNX-DTRS54cB.js} +1 -1
- package/editor-web/assets/{vennDiagram-Q3Y3IDCW-D2XhTF49.js → vennDiagram-Q3Y3IDCW-DAAc11Hx.js} +1 -1
- package/editor-web/assets/{video-CDbPX4Cr.js → video-BlvmR8BK.js} +1 -1
- package/editor-web/assets/{wardley-7MLQ67FV-DM3jMAbZ.js → wardley-7MLQ67FV-B-UYkmdB.js} +1 -1
- package/editor-web/assets/{wardleyDiagram-IVAIDKWA-Bf-DaZEg.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-dp-mdcWd.js → xychartDiagram-4URNHDU4-ChAfAq1U.js} +1 -1
- package/editor-web/index.html +6 -6
- package/package.json +8 -2
- package/dist/node_modules/@allyhub/protocol/dist/browser-bridge.d.ts +0 -337
- package/dist/node_modules/@allyhub/protocol/dist/browser-bridge.js +0 -2
- package/editor-web/assets/alt-DnBZJzEh.js +0 -4
- package/editor-web/assets/article-DLMjAdbP.js +0 -73
- package/editor-web/assets/button-Chk675Xu.js +0 -41
- package/editor-web/assets/channel-EzYq4r0d.js +0 -1
- package/editor-web/assets/chart-Be9Hj5GL.js +0 -1
- package/editor-web/assets/choice-BgmBh4yu.js +0 -1
- package/editor-web/assets/dist--KKyT5zP.js +0 -340
- package/editor-web/assets/dist-1k0MHB3i.js +0 -1
- package/editor-web/assets/dist-B9KHJqL5.js +0 -4
- package/editor-web/assets/dist-BbJyrhIY.js +0 -1
- package/editor-web/assets/dist-CJXCQxQM.js +0 -37
- package/editor-web/assets/dist-D9xQGwe9.js +0 -5
- package/editor-web/assets/dist-DFiLzbx8.js +0 -219
- package/editor-web/assets/dist-DIPV6xfF.js +0 -2
- package/editor-web/assets/dist-Dp-fQMtx.js +0 -6
- package/editor-web/assets/dist-Duw28VxJ.js +0 -16
- package/editor-web/assets/dist-OBE2IIYP.js +0 -24
- package/editor-web/assets/flowDiagram-IUGLLWBU-Xm2E2ib_.js +0 -1
- package/editor-web/assets/index-C-i_iuxN.js +0 -28
- package/editor-web/assets/index-Cxh_Shkm.css +0 -2
- package/editor-web/assets/minus-oPj1GxwA.js +0 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-BLfytmPY.js +0 -8
- package/editor-web/assets/syntax-Bih_jv7W.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{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": {
|
|
@@ -89,9 +89,7 @@
|
|
|
89
89
|
"srt",
|
|
90
90
|
"vtt",
|
|
91
91
|
"cover",
|
|
92
|
-
"wav"
|
|
93
|
-
"pdf",
|
|
94
|
-
"pptx"
|
|
92
|
+
"wav"
|
|
95
93
|
],
|
|
96
94
|
"defaults": [
|
|
97
95
|
"mp4"
|
|
@@ -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,5 +1,5 @@
|
|
|
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
3
|
const part = (e) => e.tagName.toLowerCase() + (e.id ? "#" + e.id : "") +
|
|
4
4
|
[...e.classList].slice(0, 3).map((c) => "." + c).join("");
|
|
5
5
|
const seen = new Set();
|
|
@@ -22,4 +22,4 @@ import{resolve as m}from"node:path";import{defineProjectTool as o}from"@allyhub/
|
|
|
22
22
|
page: location.pathname + location.search,
|
|
23
23
|
elements: inner.length > 0 ? inner : elements,
|
|
24
24
|
};
|
|
25
|
-
}`,y=
|
|
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,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
|
},
|
|
@@ -155,7 +154,6 @@
|
|
|
155
154
|
"color": "kind-slate",
|
|
156
155
|
"exports": {
|
|
157
156
|
"types": [
|
|
158
|
-
"x-article",
|
|
159
157
|
"png"
|
|
160
158
|
],
|
|
161
159
|
"names": {
|
package/dist/package.json
CHANGED
|
@@ -2,15 +2,17 @@
|
|
|
2
2
|
"private": true,
|
|
3
3
|
"type": "module",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@allyhub/3d-extension": "0.
|
|
6
|
-
"@allyhub/canvas-extension": "0.
|
|
7
|
-
"@allyhub/doc-extension": "0.
|
|
8
|
-
"@allyhub/image-extension": "0.
|
|
9
|
-
"@allyhub/
|
|
10
|
-
"@allyhub/
|
|
11
|
-
"@allyhub/
|
|
12
|
-
"@allyhub/
|
|
13
|
-
"@allyhub/
|
|
14
|
-
"@allyhub/
|
|
5
|
+
"@allyhub/3d-extension": "0.11.0",
|
|
6
|
+
"@allyhub/canvas-extension": "0.11.0",
|
|
7
|
+
"@allyhub/doc-extension": "0.11.0",
|
|
8
|
+
"@allyhub/image-extension": "0.11.0",
|
|
9
|
+
"@allyhub/linkedin-extension": "0.11.0",
|
|
10
|
+
"@allyhub/media-extension": "0.11.0",
|
|
11
|
+
"@allyhub/report-extension": "0.11.0",
|
|
12
|
+
"@allyhub/sheet-extension": "0.11.0",
|
|
13
|
+
"@allyhub/slides-extension": "0.11.0",
|
|
14
|
+
"@allyhub/video-extension": "0.11.0",
|
|
15
|
+
"@allyhub/website-extension": "0.11.0",
|
|
16
|
+
"@allyhub/x-extension": "0.11.0"
|
|
15
17
|
}
|
|
16
18
|
}
|
package/dist/works.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
export const WORKS=[{name:"video",title:"Making a video (one piece, or a batch of ads in combos)",commands:["check","frames","inspect","inspect layout","inspect timeline","inspect motion","inspect still","inspect contrast","inspect seams","inspect flash","inspect loop","inspect combos","audio","add search","add","dev","render"],docs:["video.md","layers.md","speech.md","sound.md","batches.md","scenery.md"]},{name:"footage",title:"Cutting recorded footage: a talking head, an interview",commands:["words","words edits","align","frames cuts","audio recording","render"],docs:["footage.md","speech.md"]},{name:"decks",title:"Making a deck",commands:["slides capabilities","slides import","check","frames","frames compare","inspect layout","inspect contrast","dev","render"],docs:["slides.md","layers.md"]},{name:"docs",title:"Writing a doc",commands:["doc cover list","doc cover set","check","frames","inspect pages","dev","render"],docs:["docs.md"]},{name:"sheets",title:"Making a sheet",commands:["sheet capabilities","sheet import","sheet calc","sheet trace","sheet diff","inspect sheet","sheet","frames","check","dev","render"],docs:["sheets.md"]},{name:"images",title:"Making an image: boards of Photoshop's layers, a PSD in and out",commands:["image import","check","frames","inspect layout","inspect contrast","dev","render"],docs:["image.md","pictures.md"]},{name:"websites",title:"Making a website: any web project, with its website JSON listed in allyhub.yaml",commands:["check","render","frames web","frames compare"],docs:["websites.md"]},{name:"canvases",title:"Laying a project's work out on a canvas, with notes and edges",commands:["inspect canvas","check","dev"],docs:["canvas.md"]},{name:"x",title:"Writing for X: a post, a thread, a long post or an article",commands:["check","inspect","frames","dev","render"],docs:["x.md"]},{name:"generating",title:"Making media with AI models",commands:["<work>","<work> <tool>","upload"],cloud:{works:["ai-media"]}},{name:"researching",title:"Researching a market online",commands:["<work>","<work> <tool>","frames web"],cloud:{}},{name:"references",title:"Studying reference videos, and a piece against them",commands:["reference","reference compare","reference set","frames","frames compare","words","audio","align"]},{name:"3d",title:"Building a 3D scenery and its cameras",commands:["add search","add","scenery","scenery view","scenery map","scenery see","scenery measure","scenery motion","scenery solve","scenery bake","inspect fidelity","dev"],docs:["scenery.md"]},{name:"modeling",title:"Modelling a prop in code, or adding one from a library",commands:["add search","add"],docs:["modeling.md","scenery.md"]},{name:"mailbox",title:"An address of your own: signing up to a site, its codes and links, mail people send you and your answers",commands:["mail addresses","mail alias","mail wait","mail search","mail read","mail send","mail reply"]},{name:"setup",title:"This computer, the account and AllyHub's skills",commands:["skills","skills show","auth login","auth status","orgs list","orgs use","doctor","doctor extensions"]}];export function withJoined(e,a){const n=a.filter(s=>s.work===e.name&&!e.commands.includes(s.name)).map(s=>s.name);return n.length===0?e:{...e,commands:[...e.commands,...n]}}export const workNamed=e=>WORKS.find(a=>a.name===e);export function cloudNouns(e,a){if(e.cloud===void 0)return[];const n=new Set(WORKS.flatMap(t=>t.cloud?.works??[])),s=e.cloud.works;return a.filter(t=>t.work!==!1&&(s===void 0?!n.has(t.name):s.includes(t.name)))}export function workTitle(e,a){if(e.cloud===void 0)return e.title;if(a===void 0)return`${e.title} (the cloud catalog could not be read)`;const n=cloudNouns(e,a);return n.length===0?`${e.title}: no cloud tools yet`:`${e.title}: ${n.map(s=>s.name).join(", ")}`}
|
|
2
|
+
export const WORKS=[{name:"video",title:"Making a video (one piece, or a batch of ads in combos)",commands:["check","frames","inspect","inspect layout","inspect timeline","inspect motion","inspect still","inspect contrast","inspect seams","inspect flash","inspect loop","inspect combos","audio","add search","add","dev","render"],docs:["video.md","layers.md","speech.md","sound.md","batches.md","scenery.md"]},{name:"footage",title:"Cutting recorded footage: a talking head, an interview",commands:["words","words edits","align","frames cuts","audio recording","render"],docs:["footage.md","speech.md"]},{name:"decks",title:"Making a deck",commands:["slides capabilities","slides import","check","frames","frames compare","inspect layout","inspect contrast","dev","render"],docs:["slides.md","layers.md"]},{name:"docs",title:"Writing a doc",commands:["doc cover list","doc cover set","check","frames","inspect pages","dev","render"],docs:["docs.md"]},{name:"sheets",title:"Making a sheet",commands:["sheet capabilities","sheet import","sheet calc","sheet trace","sheet diff","inspect sheet","sheet","frames","check","dev","render"],docs:["sheets.md"]},{name:"images",title:"Making an image: boards of Photoshop's layers, a PSD in and out",commands:["image import","check","frames","inspect layout","inspect contrast","dev","render"],docs:["image.md","pictures.md"]},{name:"reports",title:"Making a report: a page written freely in HTML, read on a screen and sent as a link",commands:["report style list","report style show","report style use","check","frames","dev","render"],docs:["reports.md"]},{name:"websites",title:"Making a website: any web project, with its website JSON listed in allyhub.yaml",commands:["check","render","frames web","frames compare"],docs:["websites.md"]},{name:"canvases",title:"Laying a project's work out on a canvas, with notes and edges",commands:["inspect canvas","check","dev"],docs:["canvas.md"]},{name:"x",title:"Writing for X: a post, a thread, a long post or an article",commands:["check","inspect","frames","dev","render"],docs:["x.md"]},{name:"linkedin",title:"Writing for LinkedIn: a post, a carousel or an article",commands:["check","inspect","frames","dev","render"],docs:["linkedin.md"]},{name:"generating",title:"Making media with AI models",commands:["<work>","<work> <tool>","upload"],cloud:{works:["ai-media"]}},{name:"researching",title:"Researching a market online",commands:["<work>","<work> <tool>","frames web"],cloud:{}},{name:"references",title:"Studying reference videos, and a piece against them",commands:["reference","reference compare","reference set","frames","frames compare","words","audio","align"]},{name:"3d",title:"Building a 3D scenery and its cameras",commands:["add search","add","scenery","scenery view","scenery map","scenery see","scenery measure","scenery motion","scenery solve","scenery bake","inspect fidelity","dev"],docs:["scenery.md"]},{name:"modeling",title:"Modelling a prop in code, or adding one from a library",commands:["add search","add"],docs:["modeling.md","scenery.md"]},{name:"mailbox",title:"An address of your own: signing up to a site, its codes and links, mail people send you and your answers",commands:["mail addresses","mail alias","mail wait","mail search","mail read","mail send","mail reply"]},{name:"setup",title:"This computer, the account and AllyHub's skills",commands:["skills","skills show","auth login","auth status","orgs list","orgs use","doctor","doctor extensions"]}];export function withJoined(e,a){const n=a.filter(s=>s.work===e.name&&!e.commands.includes(s.name)).map(s=>s.name);return n.length===0?e:{...e,commands:[...e.commands,...n]}}export const workNamed=e=>WORKS.find(a=>a.name===e);export function cloudNouns(e,a){if(e.cloud===void 0)return[];const n=new Set(WORKS.flatMap(t=>t.cloud?.works??[])),s=e.cloud.works;return a.filter(t=>t.work!==!1&&(s===void 0?!n.has(t.name):s.includes(t.name)))}export function workTitle(e,a){if(e.cloud===void 0)return e.title;if(a===void 0)return`${e.title} (the cloud catalog could not be read)`;const n=cloudNouns(e,a);return n.length===0?`${e.title}: no cloud tools yet`:`${e.title}: ${n.map(s=>s.name).join(", ")}`}
|
package/editor-web/assets/{abnfDiagram-WEYOIA3C-CjAmWsNR.js → abnfDiagram-WEYOIA3C-BKmMA6gn.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as e,t}from"./mermaid-parser.core-
|
|
1
|
+
import{m as e,t}from"./mermaid-parser.core-req5LE0X.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n as r}from"./d3-selection-COWvaQNI.js";import"./chunk-DSNLSHJZ-CUDx1Rv5.js";import{n as i,r as a,t as o}from"./chunk-2E7WHVMD-BVp1I_d0.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-zFwZug4C.js";var c=e().RailroadAbnf.parser.LangiumParser,l=n(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformAlternation`),u=n(e=>{let t=e.elements.map(f);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformConcatenation`),d=n(e=>{if(e.includes(`*`)){let[t,n]=e.split(`*`);return{min:t?parseInt(t,10):0,max:n?parseInt(n,10):1/0}}let t=parseInt(e,10);return{min:t,max:t}},`parseRepeat`),f=n(e=>{let t=p(e.primary);if(!e.repeat)return t;let{min:n,max:r}=d(e.repeat);return n===0&&r===1?{type:`optional`,element:t}:{type:`repetition`,element:t,min:n,max:r}},`transformElement`),p=n(e=>{switch(e.$type){case`AbnfStringLiteral`:return{type:`terminal`,value:e.value};case`AbnfNumVal`:return{type:`terminal`,value:e.value};case`AbnfRuleName`:return{type:`nonterminal`,name:e.name};case`AbnfGroup`:return l(e.element);case`AbnfOptionalGroup`:return{type:`optional`,element:l(e.element)};default:throw Error(`Unsupported ABNF primary node: ${e.$type}`)}},`transformPrimary`),m=n(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=n(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(m(e)))},`populateDb`),g={parser:{parse:n(e=>{o.clear(),r.debug(`[ABNF Parser] Starting Langium parse`);let n=c.parse(e);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new t(n);let i=n.value;r.debug(`[ABNF Parser] Parsed rules:`,i.rules.length),h(i),r.debug(`[ABNF Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{g as diagram};
|
package/editor-web/assets/{architecture-WOLXFQ4H-DeeKhyhZ.js → architecture-WOLXFQ4H-BEFBgb4k.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{M as createArchitectureServices}from"./mermaid-parser.core-
|
|
1
|
+
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{M as createArchitectureServices}from"./mermaid-parser.core-req5LE0X.js";
|