@allyhub/sdk 0.3.0 → 0.5.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/dist/free.d.ts +2 -2
- package/dist/index.d.ts +2 -9
- package/dist/index.js +1 -1
- package/dist/module.d.ts +2 -3
- package/dist/module.js +1 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/audio/package.json +1 -1
- package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.d.ts +31 -0
- package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +3 -0
- package/dist/node_modules/@allyhub-next/chart/dist/chart.d.ts +195 -0
- package/dist/node_modules/@allyhub-next/chart/dist/chart.js +2 -0
- package/dist/node_modules/@allyhub-next/chart/dist/index.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/chart/dist/index.js +2 -0
- package/dist/node_modules/@allyhub-next/chart/package.json +14 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/reference.d.ts +0 -86
- package/dist/node_modules/@allyhub-next/formats/dist/data/reference.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/script.d.ts +22 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/script.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +4908 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/slides.d.ts +1497 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/index.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/formats/dist/index.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/items.d.ts +22 -1
- package/dist/node_modules/@allyhub-next/formats/dist/items.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/note-shape.d.ts +39 -0
- package/dist/node_modules/@allyhub-next/formats/dist/note-shape.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +2146 -0
- package/dist/node_modules/@allyhub-next/formats/dist/schemas.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/strict.d.ts +28 -0
- package/dist/node_modules/@allyhub-next/formats/dist/strict.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/formats/package.json +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/app.d.ts +37 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/app.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/auth.d.ts +0 -17
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/auth.js +1 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cli.d.ts +0 -4
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cli.js +1 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/editor.d.ts +17 -24
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/editor.js +1 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/index.d.ts +1 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/index.js +2 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/notes.d.ts +165 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/registry.d.ts +1 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/runtimes.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/runtimes.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/tools.d.ts +43 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/protocol/package.json +1 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/errors.d.ts +5 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/index.d.ts +1 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/index.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/lock.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/lock.js +2 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.js +2 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/packages.d.ts +65 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/packages.js +4 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/runtimes.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.js +4 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/unpack.d.ts +7 -0
- package/dist/node_modules/@allyhub-next/runtimes/dist/unpack.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/package.json +5 -1
- package/dist/node_modules/@allyhub-next/runtimes/pins/docx/package-lock.json +67 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/docx/package.json +9 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/gltf-tools/package-lock.json +753 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/gltf-tools/package.json +14 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/manifold-3d/package-lock.json +950 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/manifold-3d/package.json +8 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package-lock.json +227 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package.json +8 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package-lock.json +105 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package.json +8 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package-lock.json +128 -0
- package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package.json +9 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/schemas/runtimes.schema.json +5 -24
- package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/moire.d.ts +7 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/phone.d.ts +3 -1
- package/dist/node_modules/@allyhub-next/scenery/dist/phone.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub-next/sheet/LICENSE +241 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/address.d.ts +32 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/address.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.d.ts +23 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.d.ts +204 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/code.d.ts +19 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/code.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/hint.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/hint.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/index.d.ts +7 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/index.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/rectangles.d.ts +4 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/rectangles.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.d.ts +170 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.d.ts +117 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.d.ts +323 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/arrange.d.ts +68 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/arrange.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.d.ts +21 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.d.ts +19 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.d.ts +152 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.d.ts +15 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.d.ts +69 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/distributions.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/distributions.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.d.ts +15 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/special.d.ts +29 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/special.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.d.ts +50 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/chart.d.ts +58 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/check.d.ts +15 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/check.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/csv.d.ts +62 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/csv.js +12 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/diff.d.ts +64 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/edit.d.ts +154 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/edit.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/export.d.ts +11 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/export.js +6 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/file.d.ts +19 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/file.js +3 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/files.d.ts +24 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/files.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/fill.d.ts +30 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/fill.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/filter.d.ts +29 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/filter.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/format.d.ts +9 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/format.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/ast.d.ts +113 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/ast.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/move.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/move.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/parse.d.ts +4 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/parse.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/print.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/print.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/rewrite.d.ts +65 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/rewrite.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/walk.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/formula/walk.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/generated.d.ts +46 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/generated.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/html.d.ts +34 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/html.js +20 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/import.d.ts +11 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/import.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/index.d.ts +38 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/index.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/inspect.d.ts +25 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/inspect.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/patch.d.ts +4 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/patch.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/profile.d.ts +30 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/profile.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/rules.d.ts +56 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/rules.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/scenario.d.ts +42 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/scenario.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/series.d.ts +10 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/series.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/sort.d.ts +24 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/sort.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/structure.d.ts +38 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/structure.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/validate.d.ts +26 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/validate.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/values.d.ts +67 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/values.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +315 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/write.d.ts +5 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/write.js +21 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +42 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/colors.d.ts +19 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/colors.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.d.ts +21 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.js +4 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.d.ts +5 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.js +17 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +44 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/index.d.ts +5 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/index.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/numfmt.d.ts +8 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/numfmt.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +117 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.d.ts +23 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/theme.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/theme.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.d.ts +17 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/xml.d.ts +28 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/xml.js +3 -0
- package/dist/node_modules/@allyhub-next/sheet/package.json +21 -0
- package/dist/node_modules/@allyhub-next/slides-core/LICENSE +241 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/animation.d.ts +129 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/animation.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/api.d.ts +649 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +4 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.d.ts +18 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.d.ts +165 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.d.ts +11 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/check.d.ts +7 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/check.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/enums.d.ts +146 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/enums.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/file.d.ts +109 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/file.js +4 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/index.d.ts +21 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/measure.d.ts +34 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/measure.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/model.d.ts +275 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/office.d.ts +58 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/office.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/path.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/path.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/placeholders.d.ts +7 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/placeholders.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.d.ts +181 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/script.d.ts +43 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/script.js +3 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/stage.d.ts +63 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +7 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/theme.d.ts +72 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/theme.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/units.d.ts +35 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/units.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/package.json +14 -0
- package/dist/node_modules/@allyhub-next/video-core/LICENSE +241 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/export.d.ts +6 -5
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/export.js +1 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/fact.d.ts +180 -5
- package/dist/node_modules/@allyhub-next/video-core/dist/fact.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/formats.d.ts +6 -41
- package/dist/node_modules/@allyhub-next/video-core/dist/formats.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/index.d.ts +0 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/index.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/measure.d.ts +93 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/measure.js +5 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/piece.d.ts +8 -9
- package/dist/node_modules/@allyhub-next/video-core/dist/piece.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/problem.d.ts +10 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +2 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/render-types.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/schema.d.ts +0 -2
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script-edit.d.ts +4 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script.d.ts +8 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/script.js +2 -0
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timeline.d.ts +34 -1
- package/{node_modules → dist/node_modules}/@allyhub-next/video-core/package.json +1 -1
- package/dist/parts.d.ts +2 -2
- package/dist/phone.js +1 -1
- package/dist/piece.d.ts +7 -32
- package/dist/piece.js +1 -1
- package/dist/props.d.ts +53 -10
- package/dist/sheets.d.ts +2 -0
- package/dist/sheets.js +2 -0
- package/dist/slides.d.ts +8 -0
- package/dist/slides.js +2 -0
- package/docs/README.md +3 -3
- package/docs/batches.md +2 -2
- package/docs/defaults.md +107 -3
- package/docs/docs.md +1 -1
- package/docs/project.md +6 -6
- package/docs/scenery.md +1 -1
- package/docs/sheets.md +377 -84
- package/docs/slides.md +182 -80
- package/docs/speech.md +1 -1
- package/package.json +17 -18
- package/node_modules/@allyhub-next/formats/dist/data/reference.js +0 -2
- package/node_modules/@allyhub-next/formats/dist/data/script.js +0 -2
- package/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +0 -214
- package/node_modules/@allyhub-next/formats/dist/data/sheet.js +0 -2
- package/node_modules/@allyhub-next/formats/dist/index.js +0 -2
- package/node_modules/@allyhub-next/formats/dist/items.js +0 -2
- package/node_modules/@allyhub-next/formats/dist/schemas.d.ts +0 -301
- package/node_modules/@allyhub-next/formats/dist/schemas.js +0 -2
- package/node_modules/@allyhub-next/protocol/dist/app.d.ts +0 -101
- package/node_modules/@allyhub-next/protocol/dist/app.js +0 -2
- package/node_modules/@allyhub-next/protocol/dist/index.js +0 -2
- package/node_modules/@allyhub-next/protocol/dist/runtimes.js +0 -2
- package/node_modules/@allyhub-next/protocol/dist/tools.js +0 -2
- package/node_modules/@allyhub-next/runtimes/dist/index.js +0 -2
- package/node_modules/@allyhub-next/runtimes/dist/lock.js +0 -2
- package/node_modules/@allyhub-next/runtimes/dist/runtimes.js +0 -3
- package/node_modules/@allyhub-next/runtimes/dist/unpack.js +0 -2
- package/node_modules/@allyhub-next/scenery/dist/phone.js +0 -2
- package/node_modules/@allyhub-next/video-core/dist/fact.js +0 -2
- package/node_modules/@allyhub-next/video-core/dist/formats.js +0 -2
- package/node_modules/@allyhub-next/video-core/dist/index.js +0 -2
- package/node_modules/@allyhub-next/video-core/dist/measure.js +0 -5
- package/node_modules/@allyhub-next/video-core/dist/piece.js +0 -2
- package/node_modules/@allyhub-next/video-core/dist/problem.js +0 -2
- package/node_modules/@allyhub-next/video-core/dist/script.js +0 -2
- package/node_modules/@allyhub-next/video-core/dist/slides.d.ts +0 -37
- package/node_modules/@allyhub-next/video-core/dist/slides.js +0 -2
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/LICENSE +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/at-cut.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/at-cut.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/decode.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/decode.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/envelope.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/envelope.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/index.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/index.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/levels.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/levels.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/master.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/master.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/music.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/music.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/decode.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/decode.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ebur128.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ebur128.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ffmpeg.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/ffmpeg.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/index.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/index.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/loudness.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/loudness.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/master.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/master.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/measure.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/measure.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/mix.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/node/mix.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/plan.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/plan.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recorded.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recorded.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/bandwidth.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/bandwidth.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/chain.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/chain.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/dynamics.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/dynamics.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fft.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fft.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/filters.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/filters.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fit.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/fit.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/index.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/index.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/loudness.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/loudness.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/measure.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/measure.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/mic.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/mic.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/noise.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/noise.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/presets.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/presets.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/room.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/room.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/setup.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/setup.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/vec.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/recording/vec.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/render.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/render.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/sfx.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/sfx.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/shape.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/shape.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/voice.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/audio/dist/voice.js +0 -0
- /package/{node_modules/@allyhub-next/formats → dist/node_modules/@allyhub-next/chart}/LICENSE +0 -0
- /package/{node_modules/@allyhub-next/protocol → dist/node_modules/@allyhub-next/formats}/LICENSE +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/comments.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/comments.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/config.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/config.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/edits.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/edits.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/elements.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/elements.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/faces.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/faces.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/file.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/file.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/gen.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/gen.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/messages.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/messages.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/words.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/data/words.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/layout.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/formats/dist/layout.js +0 -0
- /package/{node_modules/@allyhub-next/runtimes → dist/node_modules/@allyhub-next/protocol}/LICENSE +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cloud.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/cloud.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/files.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/files.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/jsonrpc.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/jsonrpc.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/registry.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/routes.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/routes.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/teams.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/protocol/dist/teams.js +0 -0
- /package/{node_modules/@allyhub-next/scenery → dist/node_modules/@allyhub-next/runtimes}/LICENSE +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/bundled.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/bundled.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/download.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/download.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/errors.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/home.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/home.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/manifest.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/dist/manifest.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/runtimes/manifest.json +0 -0
- /package/{node_modules/@allyhub-next/video-core → dist/node_modules/@allyhub-next/scenery}/LICENSE +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/NOTICE +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/aim.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/aim.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/bake.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/bake.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/camera.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/camera.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/curve.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/curve.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/define.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/define.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/fit.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/fit.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/glass.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/glass.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/handheld.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/handheld.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/hull.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/hull.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/index.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/index.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/lens.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/lens.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/moire.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/motion.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/motion.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/move.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/move.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/noise.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/noise.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/report.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/report.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen-focus.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen-focus.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/screen.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/solve.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/solve.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/timing.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/timing.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/vec.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/scenery/dist/vec.js +0 -0
- /package/{node_modules/@allyhub-next/video-core/dist/render-types.js → dist/node_modules/@allyhub-next/slides-core/dist/model.js} +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/anchors.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/anchors.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/audio-types.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/audio-types.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/backdrop.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/backdrop.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/captions.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/captions.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/console.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/console.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/contrast.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/contrast.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/cut-report.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/cut-report.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edit.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edit.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edits.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/edits.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/footage-motion.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/footage-motion.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/gen.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/gen.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/look.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/look.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/marks.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/marks.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/matrix.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/matrix.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/media.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/media.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/messages.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/messages.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/motion.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/motion.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/music.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/music.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/placement.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/placement.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/render-types.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/schema.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/script-edit.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/seams.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/seams.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/sound-under.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/sound-under.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/speech.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/speech.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timeline.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timing.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/timing.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transcript.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transcript.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transition.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/transition.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/voice.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/voice.js +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/words.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@allyhub-next/video-core/dist/words.js +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{z as o}from"zod";import{CommentsFileSchema as i}from"./data/comments.js";import{ConfigSchema as m}from"./data/config.js";import{EditsFileSchema as r}from"./data/edits.js";import{ElementsFileSchema as n}from"./data/elements.js";import{GenFileSchema as c}from"./data/gen.js";import{MessagesFileSchema as h}from"./data/messages.js";import{InterpretationSchema as l}from"./data/reference.js";import{ScriptFileSchema as f}from"./data/script.js";import{SHEET_FILE as p,SheetFileSchema as d}from"./data/sheet.js";import{SlidesFileSchema as u}from"./data/slides.js";import{WordsFileSchema as b}from"./data/words.js";export const DATA_FILES={words:{schema:b,files:["**/*.words.json"],about:"The words said in an audio or video file, with their times."},edits:{schema:r,files:["**/edits/*.json"],about:"A recording's cut list."},elements:{schema:n,files:["**/*.elements.json"],about:"A page screenshot's named elements, each its box in the picture's pixels."},gen:{schema:c,files:["**/*.gen.json"],about:"How a media file was made, and where it came from."},comments:{schema:i,files:["**/comments.json"],about:"What was said about an item, in threads."},script:{schema:f,files:["**/script.*.yaml"],about:"An item's words in one language."},messages:{schema:h,files:["assets/text/*.json"],about:"Words several items share, in one language."},sheet:{schema:d,files:[`**/${p}`],about:"A workbook: its sheets, cells, formulas, formats, names, checks and scenarios."},slides:{schema:u,files:["**/slides.yaml"],about:"A deck's pages: their order, layouts, values and what was placed on them."},interpretation:{schema:l,files:["**/reference/*/interpretation.json"],about:"What the agent concludes of a reference video: its sections, captions, watermarks and labels."},config:{schema:m,files:[],about:"allyhub.config.ts's settings."}};export function jsonSchemaOf(e){const{schema:a,about:s}=DATA_FILES[e];return{$schema:"https://json-schema.org/draft/2020-12/schema",$id:`https://allyhub.com/schemas/${e}.schema.json`,title:e,description:s,...o.toJSONSchema(a,{io:"input",unrepresentable:"any"})}}export function readDataFile(e,a){const s=DATA_FILES[e].schema.safeParse(a);return s.success?{ok:!0,value:s.data}:{ok:!1,problems:s.error.issues.map(t=>({path:t.path.map(String).join("."),message:t.message}))}}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/** What a capabilities command and an error say a class holds: its public names. */
|
|
2
|
+
export declare function publicNames(proto: object): string[];
|
|
3
|
+
/** The held names closest to one that is not, nearest first: what it may have meant. */
|
|
4
|
+
export declare function closest(name: string, holds: readonly string[]): string[];
|
|
5
|
+
/** The error a name the API does not hold throws. */
|
|
6
|
+
export declare class NotHeld extends Error {
|
|
7
|
+
/** `hint` says where the API's whole list is. */
|
|
8
|
+
constructor(where: string, name: string, holds: readonly string[], hint: string);
|
|
9
|
+
}
|
|
10
|
+
export interface StrictOptions {
|
|
11
|
+
/** `x[i]`: indexing, as the library has it (a layout by position). */
|
|
12
|
+
index?: (i: number) => unknown;
|
|
13
|
+
/** `x[i] = v`: indexed assignment. */
|
|
14
|
+
setIndex?: (i: number, value: unknown) => void;
|
|
15
|
+
/** `x["A1"]`: a key that is not a name of the class; undefined: it is not one. */
|
|
16
|
+
key?: (name: string) => unknown;
|
|
17
|
+
/** `x["A1"] = v`; false: it is not one. */
|
|
18
|
+
setKey?: (name: string, value: unknown) => boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The object behind a proxy that refuses what it does not hold. A class's
|
|
22
|
+
* constructor ends `return strict(this, "ClassName", hint)`; names that
|
|
23
|
+
* start with `_` are its own, for the rest of the package.
|
|
24
|
+
*/
|
|
25
|
+
export declare function strict<T extends object>(target: T, where: string, hint: string, o?: StrictOptions): T;
|
|
26
|
+
/** An enumeration that throws on a member it does not have. */
|
|
27
|
+
export declare function strictEnum<T extends Record<string, string>>(where: string, members: T, hint: string): T;
|
|
28
|
+
//# sourceMappingURL=strict.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
export function publicNames(c){const n=new Set;for(let e=c;e!==null&&e!==Object.prototype;e=Object.getPrototypeOf(e))for(const t of Object.getOwnPropertyNames(e))t!=="constructor"&&!t.startsWith("_")&&n.add(t);return[...n].sort()}const l=new Set(["then","toJSON","constructor","length"]),h=(c,n)=>{for(let e=c;e!==null;e=Object.getPrototypeOf(e)){const t=Object.getOwnPropertyDescriptor(e,n);if(t)return t.set!==void 0||"value"in t}return!1};function p(c,n){let e=Array.from({length:n.length+1},(t,s)=>s);for(let t=1;t<=c.length;t++){const s=[t];for(let o=1;o<=n.length;o++)s[o]=Math.min((e[o]??0)+1,(s[o-1]??0)+1,(e[o-1]??0)+(c[t-1]===n[o-1]?0:1));e=s}return e[n.length]??0}export function closest(c,n){const e=Math.max(2,Math.floor(c.length/3));return n.map(t=>[t,p(c.toLowerCase(),t.toLowerCase())]).filter(([,t])=>t<=e).sort((t,s)=>t[1]-s[1]).slice(0,3).map(([t])=>t)}export class NotHeld extends Error{constructor(n,e,t,s){const o=closest(e,t);super(`${n} has no ${e} here.`+(o.length>0?` Did you mean ${o.join(" or ")}?`:"")+` It holds: ${t.join(", ")}. ${s}`),this.name="NotHeld"}}export function strict(c,n,e,t={}){const s=(o,r)=>new NotHeld(n,r,publicNames(Object.getPrototypeOf(o)),e);return new Proxy(c,{get(o,r,i){if(typeof r=="symbol"||r in o||l.has(r))return Reflect.get(o,r,i);if(t.index&&/^(0|[1-9]\d*)$/u.test(r)){const u=t.index(Number(r));if(u===void 0)throw new RangeError(`${n}[${r}]: there is none.`);return u}const f=t.key?.(r);if(f!==void 0)return f;throw s(o,r)},set(o,r,i,f){if(t.setIndex&&typeof r=="string"&&/^(0|[1-9]\d*)$/u.test(r))return t.setIndex(Number(r),i),!0;if(typeof r=="symbol"||r.startsWith("_")||h(o,r))return Reflect.set(o,r,i,f);if(t.setKey?.(r,i)===!0)return!0;throw s(o,r)}})}export function strictEnum(c,n,e){return new Proxy(n,{get(t,s){if(typeof s=="symbol"||Object.hasOwn(t,s)||l.has(s))return Reflect.get(t,s);throw new NotHeld(c,s,Object.keys(t),e)}})}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** What the card shows of an item, made from its files when it is opened. */
|
|
3
|
+
export declare const PreviewSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4
|
+
type: z.ZodLiteral<"picture">;
|
|
5
|
+
image: z.ZodObject<{
|
|
6
|
+
mime: z.ZodString;
|
|
7
|
+
data: z.ZodBase64;
|
|
8
|
+
}, z.core.$strict>;
|
|
9
|
+
width: z.ZodInt;
|
|
10
|
+
height: z.ZodInt;
|
|
11
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13
|
+
type: z.ZodLiteral<"text">;
|
|
14
|
+
lines: z.ZodArray<z.ZodString>;
|
|
15
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16
|
+
type: z.ZodLiteral<"table">;
|
|
17
|
+
columns: z.ZodArray<z.ZodString>;
|
|
18
|
+
rows: z.ZodArray<z.ZodArray<z.ZodString>>;
|
|
19
|
+
count: z.ZodInt;
|
|
20
|
+
}, z.core.$strict>], "type">;
|
|
21
|
+
export type Preview = z.infer<typeof PreviewSchema>;
|
|
22
|
+
export declare const CardItemSchema: z.ZodObject<{
|
|
23
|
+
kind: z.ZodEnum<{
|
|
24
|
+
video: "video";
|
|
25
|
+
slides: "slides";
|
|
26
|
+
doc: "doc";
|
|
27
|
+
sheet: "sheet";
|
|
28
|
+
scenery: "scenery";
|
|
29
|
+
model: "model";
|
|
30
|
+
website: "website";
|
|
31
|
+
}>;
|
|
32
|
+
dir: z.ZodString;
|
|
33
|
+
entry: z.ZodString;
|
|
34
|
+
title: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}, z.core.$strict>;
|
|
36
|
+
export type CardItem = z.infer<typeof CardItemSchema>;
|
|
37
|
+
//# sourceMappingURL=app.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{z as t}from"zod";import{KINDS as e}from"@allyhub-next/formats";import{PathSchema as i}from"./files.js";import{ImageSchema as r}from"./tools.js";export const PreviewSchema=t.discriminatedUnion("type",[t.strictObject({type:t.literal("picture"),image:r,width:t.int().positive(),height:t.int().positive(),duration:t.number().nonnegative().optional()}),t.strictObject({type:t.literal("text"),lines:t.array(t.string())}),t.strictObject({type:t.literal("table"),columns:t.array(t.string()),rows:t.array(t.array(t.string())),count:t.int().nonnegative()})]),CardItemSchema=t.strictObject({kind:t.enum(e),dir:i,entry:i,title:t.string().optional()});
|
|
@@ -113,21 +113,4 @@ export declare const CredentialsFileSchema: z.ZodObject<{
|
|
|
113
113
|
since: z.ZodISODateTime;
|
|
114
114
|
}, z.core.$strict>;
|
|
115
115
|
export type CredentialsFile = z.infer<typeof CredentialsFileSchema>;
|
|
116
|
-
/** What `allyhub auth token --json` prints: an access token for the API, renewed as needed. */
|
|
117
|
-
export declare const TokenOutputSchema: z.ZodObject<{
|
|
118
|
-
accessToken: z.ZodString;
|
|
119
|
-
expiresAt: z.ZodISODateTime;
|
|
120
|
-
account: z.ZodObject<{
|
|
121
|
-
id: z.ZodString;
|
|
122
|
-
email: z.ZodEmail;
|
|
123
|
-
name: z.ZodOptional<z.ZodString>;
|
|
124
|
-
organization: z.ZodOptional<z.ZodObject<{
|
|
125
|
-
id: z.ZodString;
|
|
126
|
-
name: z.ZodString;
|
|
127
|
-
}, z.core.$strict>>;
|
|
128
|
-
}, z.core.$strict>;
|
|
129
|
-
}, z.core.$strict>;
|
|
130
|
-
export type TokenOutput = z.infer<typeof TokenOutputSchema>;
|
|
131
|
-
/** What a client sends with it: `Authorization: Bearer <accessToken>`. */
|
|
132
|
-
export declare const bearer: (token: TokenOutput) => string;
|
|
133
116
|
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{z as e}from"zod";export const AuthServerSchema=e.object({issuer:e.url(),authorization_endpoint:e.url(),token_endpoint:e.url(),device_authorization_endpoint:e.url(),revocation_endpoint:e.url(),code_challenge_methods_supported:e.array(e.string()).refine(t=>t.includes("S256"),{message:"The server must take S256 PKCE challenges."})}),CLIENT_ID="allyhub-cli",ISSUER_PATH="/api/auth",METADATA_PATH=`/.well-known/oauth-authorization-server${ISSUER_PATH}`,SCOPES="openid profile email offline_access",ACCOUNT_PATH="/api/account",ORGANIZATION_HEADER="x-allyhub-organization",DEVICES_PAGE_PATH="/devices",DEVICES_PATH="/api/account/devices",ACCOUNT_EXPORT_PATH="/api/account/export",ACCOUNT_DELETE_PATH="/api/account/delete",DevicesSchema=e.object({devices:e.array(e.object({id:e.string(),client:e.string(),signedInAt:e.iso.datetime(),lastActiveAt:e.iso.datetime()}))}),BROWSER_LINK_PATH="/api/account/browser-link",BrowserLinkRequestSchema=e.strictObject({to:e.string().startsWith("/")}),BrowserLinkSchema=e.object({url:e.url()}),CREDENTIALS_FILE=".allyhub/credentials.json",TokenResponseSchema=e.object({access_token:e.string().min(1),token_type:e.string(),expires_in:e.number().positive(),refresh_token:e.string().min(1).optional(),scope:e.string().optional()}),OAuthErrorSchema=e.object({error:e.string(),error_description:e.string().optional()}),DeviceAuthorizationSchema=e.object({device_code:e.string().min(1),user_code:e.string().min(1),verification_uri:e.url(),verification_uri_complete:e.url().optional(),expires_in:e.number().positive(),interval:e.number().positive().optional()}),AccountSchema=e.strictObject({id:e.string().min(1),email:e.email(),name:e.string().optional(),organization:e.strictObject({id:e.string().min(1),name:e.string()}).optional()}),CredentialsFileSchema=e.strictObject({version:e.literal(1),url:e.url(),issuer:e.url(),account:AccountSchema,refreshToken:e.string().min(1),access:e.strictObject({token:e.string().min(1),expiresAt:e.iso.datetime({offset:!0})}).optional(),since:e.iso.datetime({offset:!0})})
|
|
2
|
+
import{z as e}from"zod";export const AuthServerSchema=e.object({issuer:e.url(),authorization_endpoint:e.url(),token_endpoint:e.url(),device_authorization_endpoint:e.url(),revocation_endpoint:e.url(),code_challenge_methods_supported:e.array(e.string()).refine(t=>t.includes("S256"),{message:"The server must take S256 PKCE challenges."})}),CLIENT_ID="allyhub-cli",ISSUER_PATH="/api/auth",METADATA_PATH=`/.well-known/oauth-authorization-server${ISSUER_PATH}`,SCOPES="openid profile email offline_access",ACCOUNT_PATH="/api/account",ORGANIZATION_HEADER="x-allyhub-organization",DEVICES_PAGE_PATH="/devices",DEVICES_PATH="/api/account/devices",ACCOUNT_EXPORT_PATH="/api/account/export",ACCOUNT_DELETE_PATH="/api/account/delete",DevicesSchema=e.object({devices:e.array(e.object({id:e.string(),client:e.string(),signedInAt:e.iso.datetime(),lastActiveAt:e.iso.datetime()}))}),BROWSER_LINK_PATH="/api/account/browser-link",BrowserLinkRequestSchema=e.strictObject({to:e.string().startsWith("/")}),BrowserLinkSchema=e.object({url:e.url()}),CREDENTIALS_FILE=".allyhub/credentials.json",TokenResponseSchema=e.object({access_token:e.string().min(1),token_type:e.string(),expires_in:e.number().positive(),refresh_token:e.string().min(1).optional(),scope:e.string().optional()}),OAuthErrorSchema=e.object({error:e.string(),error_description:e.string().optional()}),DeviceAuthorizationSchema=e.object({device_code:e.string().min(1),user_code:e.string().min(1),verification_uri:e.url(),verification_uri_complete:e.url().optional(),expires_in:e.number().positive(),interval:e.number().positive().optional()}),AccountSchema=e.strictObject({id:e.string().min(1),email:e.email(),name:e.string().optional(),organization:e.strictObject({id:e.string().min(1),name:e.string()}).optional()}),CredentialsFileSchema=e.strictObject({version:e.literal(1),url:e.url(),issuer:e.url(),account:AccountSchema,refreshToken:e.string().min(1),access:e.strictObject({token:e.string().min(1),expiresAt:e.iso.datetime({offset:!0})}).optional(),since:e.iso.datetime({offset:!0})});
|
|
@@ -40,8 +40,6 @@ export interface CommandSpec<I extends z.ZodObject = z.ZodObject, O extends z.Zo
|
|
|
40
40
|
output: O;
|
|
41
41
|
/** Lines of `allyhub help <command>` that show it at work. */
|
|
42
42
|
examples?: readonly string[];
|
|
43
|
-
/** Exposed as an MCP tool by `allyhub mcp` (most are; one that talks to a terminal is not). */
|
|
44
|
-
mcp?: boolean;
|
|
45
43
|
}
|
|
46
44
|
/** A command's spec, checked: its name's form, and that each positional is a field. */
|
|
47
45
|
export declare function command<I extends z.ZodObject, O extends z.ZodType>(spec: CommandSpec<I, O>): CommandSpec<I, O>;
|
|
@@ -54,6 +52,4 @@ export declare function describeCommand(spec: CommandSpec): {
|
|
|
54
52
|
output: Record<string, unknown>;
|
|
55
53
|
examples: string[];
|
|
56
54
|
};
|
|
57
|
-
/** The MCP tool name of a command: `scenery view` is `allyhub_scenery_view`. */
|
|
58
|
-
export declare const toolName: (name: string) => string;
|
|
59
55
|
//# sourceMappingURL=cli.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{z as o}from"zod";export const EXIT={ok:0,failed:1,usage:2,conflict:3,auth:4,platform:5,notFound:6,interrupted:130},CliErrorSchema=o.strictObject({error:o.strictObject({code:o.string().regex(/^[a-z][a-z0-9-]*$/u),message:o.string().min(1),hint:o.string().optional()})}),COMMAND_NAME=/^[a-z0-9][a-z0-9-]*(?: [a-z0-9][a-z0-9-]*)*$/u;export function command(t){if(!COMMAND_NAME.test(t.name))throw new Error(`"${t.name}" is not a command name.`);const e=Object.keys(t.input.shape);for(const n of t.positional??[])if(!e.includes(n))throw new Error(`${t.name}: positional "${n}" is not a field of its input.`);for(const[n,r]of Object.entries(t.input.shape))if(!r.description)throw new Error(`${t.name}: "${n}" has no description.`);return t}export function describeCommand(t){return{name:t.name,summary:t.summary,positional:[...t.positional??[]],input:o.toJSONSchema(t.input,{io:"input",unrepresentable:"any"}),output:o.toJSONSchema(t.output,{io:"output",unrepresentable:"any"}),examples:[...t.examples??[]]}}
|
|
2
|
+
import{z as o}from"zod";export const EXIT={ok:0,failed:1,usage:2,conflict:3,auth:4,platform:5,notFound:6,interrupted:130},CliErrorSchema=o.strictObject({error:o.strictObject({code:o.string().regex(/^[a-z][a-z0-9-]*$/u),message:o.string().min(1),hint:o.string().optional()})}),COMMAND_NAME=/^[a-z0-9][a-z0-9-]*(?: [a-z0-9][a-z0-9-]*)*$/u;export function command(t){if(!COMMAND_NAME.test(t.name))throw new Error(`"${t.name}" is not a command name.`);const e=Object.keys(t.input.shape);for(const n of t.positional??[])if(!e.includes(n))throw new Error(`${t.name}: positional "${n}" is not a field of its input.`);for(const[n,r]of Object.entries(t.input.shape))if(!r.description)throw new Error(`${t.name}: "${n}" has no description.`);return t}export function describeCommand(t){return{name:t.name,summary:t.summary,positional:[...t.positional??[]],input:o.toJSONSchema(t.input,{io:"input",unrepresentable:"any"}),output:o.toJSONSchema(t.output,{io:"output",unrepresentable:"any"}),examples:[...t.examples??[]]}}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { type ClientOf } from "./jsonrpc.js";
|
|
3
|
+
import type { NoteSurface } from "./notes.js";
|
|
3
4
|
export declare const ThemeSchema: z.ZodEnum<{
|
|
4
5
|
light: "light";
|
|
5
6
|
dark: "dark";
|
|
@@ -115,19 +116,11 @@ export declare const HOST_METHODS: {
|
|
|
115
116
|
}>;
|
|
116
117
|
message: z.ZodOptional<z.ZodString>;
|
|
117
118
|
}, z.core.$strict>, z.ZodObject<{}, z.core.$strict>>;
|
|
118
|
-
readonly "
|
|
119
|
+
readonly "agent/ask": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
|
|
119
120
|
text: z.ZodString;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}, z.core.$strict>>;
|
|
124
|
-
picture: z.ZodOptional<z.ZodObject<{
|
|
125
|
-
x: z.ZodNumber;
|
|
126
|
-
y: z.ZodNumber;
|
|
127
|
-
width: z.ZodNumber;
|
|
128
|
-
height: z.ZodNumber;
|
|
129
|
-
}, z.core.$strict>>;
|
|
130
|
-
}, z.core.$strict>, z.ZodObject<{}, z.core.$strict>>;
|
|
121
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
122
|
+
delivered: z.ZodBoolean;
|
|
123
|
+
}, z.core.$strict>>;
|
|
131
124
|
readonly "tools/call": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
|
|
132
125
|
name: z.ZodString;
|
|
133
126
|
arguments: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -176,6 +169,7 @@ export declare const HOST_NOTIFICATIONS: {
|
|
|
176
169
|
item: z.ZodString;
|
|
177
170
|
versions: z.ZodArray<z.ZodString>;
|
|
178
171
|
types: z.ZodArray<z.ZodString>;
|
|
172
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
179
173
|
state: z.ZodEnum<{
|
|
180
174
|
running: "running";
|
|
181
175
|
done: "done";
|
|
@@ -249,6 +243,11 @@ export declare const HOST_NOTIFICATIONS: {
|
|
|
249
243
|
website: "website";
|
|
250
244
|
}>;
|
|
251
245
|
}, z.core.$strict>>;
|
|
246
|
+
readonly "editor/command": import("./jsonrpc.js").NotificationSpec<z.ZodObject<{
|
|
247
|
+
command: z.ZodEnum<{
|
|
248
|
+
export: "export";
|
|
249
|
+
}>;
|
|
250
|
+
}, z.core.$strict>>;
|
|
252
251
|
};
|
|
253
252
|
/** Every method an editor may call on its host. */
|
|
254
253
|
export declare const EDITOR_HOST_METHODS: {
|
|
@@ -315,19 +314,11 @@ export declare const EDITOR_HOST_METHODS: {
|
|
|
315
314
|
}>;
|
|
316
315
|
message: z.ZodOptional<z.ZodString>;
|
|
317
316
|
}, z.core.$strict>, z.ZodObject<{}, z.core.$strict>>;
|
|
318
|
-
readonly "
|
|
317
|
+
readonly "agent/ask": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
|
|
319
318
|
text: z.ZodString;
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
}, z.core.$strict>>;
|
|
324
|
-
picture: z.ZodOptional<z.ZodObject<{
|
|
325
|
-
x: z.ZodNumber;
|
|
326
|
-
y: z.ZodNumber;
|
|
327
|
-
width: z.ZodNumber;
|
|
328
|
-
height: z.ZodNumber;
|
|
329
|
-
}, z.core.$strict>>;
|
|
330
|
-
}, z.core.$strict>, z.ZodObject<{}, z.core.$strict>>;
|
|
319
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
320
|
+
delivered: z.ZodBoolean;
|
|
321
|
+
}, z.core.$strict>>;
|
|
331
322
|
readonly "tools/call": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
|
|
332
323
|
name: z.ZodString;
|
|
333
324
|
arguments: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -405,5 +396,7 @@ export declare const EDITOR_HOST_METHODS: {
|
|
|
405
396
|
export type EditorHost = ClientOf<typeof EDITOR_HOST_METHODS> & {
|
|
406
397
|
/** Tells `files/changed`, `host/context-changed` and the tools' notifications; answers how to stop. */
|
|
407
398
|
on<N extends keyof typeof HOST_NOTIFICATIONS>(name: N, listener: (params: z.output<(typeof HOST_NOTIFICATIONS)[N]["params"]>) => void): () => void;
|
|
399
|
+
/** Gives the host what it asks of the editor for a person's notes; answers how to stop. Absent where nobody takes notes. */
|
|
400
|
+
notes?(surface: NoteSurface): () => void;
|
|
408
401
|
};
|
|
409
402
|
//# sourceMappingURL=editor.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{z as t}from"zod";import{EDITORS as
|
|
2
|
+
import{z as t}from"zod";import{EDITORS as s,KINDS as n}from"@allyhub-next/formats";import{FILE_METHODS as i,FILE_NOTIFICATIONS as a,PathSchema as o}from"./files.js";import{method as e,notification as r}from"./jsonrpc.js";import{TOOL_NOTIFICATIONS as c}from"./tools.js";export const ThemeSchema=t.enum(["light","dark"]),HostContextSchema=t.strictObject({locale:t.string().min(2),theme:ThemeSchema,agent:t.strictObject({name:t.string().min(1)}).optional(),project:t.strictObject({name:t.string().min(1)}),item:t.strictObject({kind:t.enum(n),dir:o,entry:o}),editor:t.enum(s)}),OpenTargetSchema=t.discriminatedUnion("type",[t.strictObject({type:t.literal("file"),path:o,line:t.int().positive().optional()}),t.strictObject({type:t.literal("browser"),url:t.url({protocol:/^https?$/u}).optional(),tabId:t.string().min(1).optional()})]),EDITOR_STATES=["saved","saving","unsaved","error"],HOST_METHODS={"host/context":e(t.strictObject({}),HostContextSchema,"Where the editor runs."),"items/open":e(t.strictObject({target:OpenTargetSchema}),t.strictObject({}),"Shows another item, a file or a page, where the host shows things."),"storage/get":e(t.strictObject({key:t.string().min(1)}),t.strictObject({value:t.unknown()}),"What the editor kept for this person on this computer (a hand sort, what was last seen), or null."),"storage/set":e(t.strictObject({key:t.string().min(1),value:t.unknown()}),t.strictObject({}),"Keeps a value for this person on this computer; null removes it."),"editor/state":e(t.strictObject({state:t.enum(EDITOR_STATES),message:t.string().optional()}),t.strictObject({}),"Says whether what the person typed is saved."),"agent/ask":e(t.strictObject({text:t.string().min(1)}),t.strictObject({delivered:t.boolean()}),"Puts words before the person's agent, for them to go on and send; false where no agent takes them. Never sent by itself."),"tools/call":e(t.strictObject({name:t.string().min(1),arguments:t.record(t.string(),t.unknown()).default({})}),t.strictObject({result:t.unknown()}),"Runs one of the project server's tools (tools.ts's PROJECT_TOOLS), for an editor that needs more than files (a video's preview, a still).")},HOST_NOTIFICATIONS={"host/context-changed":r(HostContextSchema,"The language, theme or agent changed."),"editor/command":r(t.strictObject({command:t.enum(["export"])}),"The host around the editor asked it to do what its own shortcut does."),...a,...c},EDITOR_HOST_METHODS={...i,...HOST_METHODS};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
export*from"./jsonrpc.js";export*from"./files.js";export*from"./editor.js";export*from"./notes.js";export*from"./tools.js";export*from"./cli.js";export*from"./auth.js";export*from"./registry.js";export*from"./runtimes.js";export*from"./cloud.js";export*from"./teams.js";export*from"./app.js";export*from"./routes.js";
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { pointsOf, mapShape, touches, type NoteShape } from "@allyhub-next/formats";
|
|
3
|
+
export declare const NoteRectSchema: z.ZodObject<{
|
|
4
|
+
x: z.ZodNumber;
|
|
5
|
+
y: z.ZodNumber;
|
|
6
|
+
width: z.ZodNumber;
|
|
7
|
+
height: z.ZodNumber;
|
|
8
|
+
}, z.core.$strict>;
|
|
9
|
+
export type NoteRect = z.infer<typeof NoteRectSchema>;
|
|
10
|
+
/** A mark as the host tells it, px of the surface: its shape, and nothing of what is under it. */
|
|
11
|
+
export declare const NoteShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12
|
+
kind: z.ZodLiteral<"box">;
|
|
13
|
+
rect: z.ZodObject<{
|
|
14
|
+
x: z.ZodNumber;
|
|
15
|
+
y: z.ZodNumber;
|
|
16
|
+
width: z.ZodNumber;
|
|
17
|
+
height: z.ZodNumber;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
20
|
+
kind: z.ZodLiteral<"round">;
|
|
21
|
+
rect: z.ZodObject<{
|
|
22
|
+
x: z.ZodNumber;
|
|
23
|
+
y: z.ZodNumber;
|
|
24
|
+
width: z.ZodNumber;
|
|
25
|
+
height: z.ZodNumber;
|
|
26
|
+
}, z.core.$strict>;
|
|
27
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
28
|
+
kind: z.ZodLiteral<"arrow">;
|
|
29
|
+
from: z.ZodObject<{
|
|
30
|
+
x: z.ZodNumber;
|
|
31
|
+
y: z.ZodNumber;
|
|
32
|
+
}, z.core.$strict>;
|
|
33
|
+
to: z.ZodObject<{
|
|
34
|
+
x: z.ZodNumber;
|
|
35
|
+
y: z.ZodNumber;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
38
|
+
kind: z.ZodLiteral<"line">;
|
|
39
|
+
points: z.ZodArray<z.ZodObject<{
|
|
40
|
+
x: z.ZodNumber;
|
|
41
|
+
y: z.ZodNumber;
|
|
42
|
+
}, z.core.$strict>>;
|
|
43
|
+
}, z.core.$strict>], "kind">;
|
|
44
|
+
export { mapShape, pointsOf, touches };
|
|
45
|
+
export type { NoteShape };
|
|
46
|
+
/** Where to change something: a project's file, and its line. */
|
|
47
|
+
export declare const NoteSourceSchema: z.ZodObject<{
|
|
48
|
+
path: z.ZodString;
|
|
49
|
+
line: z.ZodOptional<z.ZodInt>;
|
|
50
|
+
}, z.core.$strict>;
|
|
51
|
+
export type NoteSource = z.infer<typeof NoteSourceSchema>;
|
|
52
|
+
export declare const FrozenSchema: z.ZodObject<{
|
|
53
|
+
key: z.ZodString;
|
|
54
|
+
what: z.ZodString;
|
|
55
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
56
|
+
path: z.ZodString;
|
|
57
|
+
line: z.ZodOptional<z.ZodInt>;
|
|
58
|
+
}, z.core.$strict>>;
|
|
59
|
+
}, z.core.$strict>;
|
|
60
|
+
export type Frozen = z.infer<typeof FrozenSchema>;
|
|
61
|
+
export declare const NotePictureSchema: z.ZodObject<{
|
|
62
|
+
rect: z.ZodOptional<z.ZodObject<{
|
|
63
|
+
x: z.ZodNumber;
|
|
64
|
+
y: z.ZodNumber;
|
|
65
|
+
width: z.ZodNumber;
|
|
66
|
+
height: z.ZodNumber;
|
|
67
|
+
}, z.core.$strict>>;
|
|
68
|
+
mime: z.ZodString;
|
|
69
|
+
data: z.ZodString;
|
|
70
|
+
}, z.core.$strict>;
|
|
71
|
+
export type NotePicture = z.infer<typeof NotePictureSchema>;
|
|
72
|
+
export declare const NoteElementSchema: z.ZodObject<{
|
|
73
|
+
name: z.ZodString;
|
|
74
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
75
|
+
path: z.ZodString;
|
|
76
|
+
line: z.ZodOptional<z.ZodInt>;
|
|
77
|
+
}, z.core.$strict>>;
|
|
78
|
+
text: z.ZodOptional<z.ZodString>;
|
|
79
|
+
}, z.core.$strict>;
|
|
80
|
+
export type NoteElement = z.infer<typeof NoteElementSchema>;
|
|
81
|
+
/**
|
|
82
|
+
* What a framed page tells the window that holds it: it answers `NOTE_METHODS`
|
|
83
|
+
* from now on, or no longer. The window asks only a page that has said so.
|
|
84
|
+
*/
|
|
85
|
+
export declare const NOTE_READY = "note/ready";
|
|
86
|
+
/** What a framed page tells the window: words for the agent's composer. */
|
|
87
|
+
export declare const AGENT_ASK = "agent/ask";
|
|
88
|
+
export declare const NOTE_GONE = "note/gone";
|
|
89
|
+
export declare const NOTE_METHODS: {
|
|
90
|
+
readonly "note/freeze": import("./jsonrpc.js").MethodSpec<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
91
|
+
key: z.ZodString;
|
|
92
|
+
what: z.ZodString;
|
|
93
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
94
|
+
path: z.ZodString;
|
|
95
|
+
line: z.ZodOptional<z.ZodInt>;
|
|
96
|
+
}, z.core.$strict>>;
|
|
97
|
+
}, z.core.$strict>>;
|
|
98
|
+
readonly "note/pictures": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
|
|
99
|
+
page: z.ZodBoolean;
|
|
100
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
101
|
+
pictures: z.ZodArray<z.ZodObject<{
|
|
102
|
+
rect: z.ZodOptional<z.ZodObject<{
|
|
103
|
+
x: z.ZodNumber;
|
|
104
|
+
y: z.ZodNumber;
|
|
105
|
+
width: z.ZodNumber;
|
|
106
|
+
height: z.ZodNumber;
|
|
107
|
+
}, z.core.$strict>>;
|
|
108
|
+
mime: z.ZodString;
|
|
109
|
+
data: z.ZodString;
|
|
110
|
+
}, z.core.$strict>>;
|
|
111
|
+
}, z.core.$strict>>;
|
|
112
|
+
readonly "note/locate": import("./jsonrpc.js").MethodSpec<z.ZodObject<{
|
|
113
|
+
mark: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
114
|
+
kind: z.ZodLiteral<"box">;
|
|
115
|
+
rect: z.ZodObject<{
|
|
116
|
+
x: z.ZodNumber;
|
|
117
|
+
y: z.ZodNumber;
|
|
118
|
+
width: z.ZodNumber;
|
|
119
|
+
height: z.ZodNumber;
|
|
120
|
+
}, z.core.$strict>;
|
|
121
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
122
|
+
kind: z.ZodLiteral<"round">;
|
|
123
|
+
rect: z.ZodObject<{
|
|
124
|
+
x: z.ZodNumber;
|
|
125
|
+
y: z.ZodNumber;
|
|
126
|
+
width: z.ZodNumber;
|
|
127
|
+
height: z.ZodNumber;
|
|
128
|
+
}, z.core.$strict>;
|
|
129
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
130
|
+
kind: z.ZodLiteral<"arrow">;
|
|
131
|
+
from: z.ZodObject<{
|
|
132
|
+
x: z.ZodNumber;
|
|
133
|
+
y: z.ZodNumber;
|
|
134
|
+
}, z.core.$strict>;
|
|
135
|
+
to: z.ZodObject<{
|
|
136
|
+
x: z.ZodNumber;
|
|
137
|
+
y: z.ZodNumber;
|
|
138
|
+
}, z.core.$strict>;
|
|
139
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
140
|
+
kind: z.ZodLiteral<"line">;
|
|
141
|
+
points: z.ZodArray<z.ZodObject<{
|
|
142
|
+
x: z.ZodNumber;
|
|
143
|
+
y: z.ZodNumber;
|
|
144
|
+
}, z.core.$strict>>;
|
|
145
|
+
}, z.core.$strict>], "kind">;
|
|
146
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
147
|
+
elements: z.ZodArray<z.ZodObject<{
|
|
148
|
+
name: z.ZodString;
|
|
149
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
path: z.ZodString;
|
|
151
|
+
line: z.ZodOptional<z.ZodInt>;
|
|
152
|
+
}, z.core.$strict>>;
|
|
153
|
+
text: z.ZodOptional<z.ZodString>;
|
|
154
|
+
}, z.core.$strict>>;
|
|
155
|
+
}, z.core.$strict>>;
|
|
156
|
+
readonly "note/thaw": import("./jsonrpc.js").MethodSpec<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{}, z.core.$strict>>;
|
|
157
|
+
};
|
|
158
|
+
/** What an editor gives its host for notes on it, for as long as it is on show. */
|
|
159
|
+
export interface NoteSurface {
|
|
160
|
+
freeze(): Promise<Frozen>;
|
|
161
|
+
pictures?(): Promise<NotePicture[]>;
|
|
162
|
+
locate?(mark: NoteShape): Promise<NoteElement[]>;
|
|
163
|
+
thaw?(): void;
|
|
164
|
+
}
|
|
165
|
+
//# sourceMappingURL=notes.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{z as t}from"zod";import{pointsOf as r,mapShape as n,touches as s}from"@allyhub-next/formats";import{PathSchema as i}from"./files.js";import{method as e}from"./jsonrpc.js";export const NoteRectSchema=t.strictObject({x:t.number(),y:t.number(),width:t.number().nonnegative(),height:t.number().nonnegative()});const o=t.strictObject({x:t.number(),y:t.number()});export const NoteShapeSchema=t.discriminatedUnion("kind",[t.strictObject({kind:t.literal("box"),rect:NoteRectSchema}),t.strictObject({kind:t.literal("round"),rect:NoteRectSchema}),t.strictObject({kind:t.literal("arrow"),from:o,to:o}),t.strictObject({kind:t.literal("line"),points:t.array(o).min(1)})]);export{n as mapShape,r as pointsOf,s as touches};export const NoteSourceSchema=t.strictObject({path:i,line:t.int().positive().optional()}),FrozenSchema=t.strictObject({key:t.string().min(1),what:t.string(),source:NoteSourceSchema.optional()}),NotePictureSchema=t.strictObject({rect:NoteRectSchema.optional(),mime:t.string().min(1),data:t.string().min(1)}),NoteElementSchema=t.strictObject({name:t.string().min(1),source:NoteSourceSchema.optional(),text:t.string().optional()}),NOTE_READY="note/ready",AGENT_ASK="agent/ask",NOTE_GONE="note/gone",NOTE_METHODS={"note/freeze":e(t.strictObject({}),FrozenSchema,"Stops what moves and says what is on show. Answered once it is drawn, so a page still loading is not captured empty."),"note/pictures":e(t.strictObject({page:t.boolean()}),t.strictObject({pictures:t.array(NotePictureSchema)}),"What is on show drawn better than a screenshot can, or what a screenshot cannot reach: a render's frame, a frame of its own. Laid in order over the host's screenshot."),"note/locate":e(t.strictObject({mark:NoteShapeSchema}),t.strictObject({elements:t.array(NoteElementSchema)}),"What a mark is on, while frozen: the surface alone knows what it shows, and says it in its own terms, with its file and line where it knows them. Empty is an answer: the mark's place still goes."),"note/thaw":e(t.strictObject({}),t.strictObject({}),"The person is done. Nothing starts by itself: a video that was paused stays paused.")};
|
|
@@ -144,8 +144,8 @@ export declare const RegistryIndexSchema: z.ZodObject<{
|
|
|
144
144
|
title: z.ZodString;
|
|
145
145
|
description: z.ZodString;
|
|
146
146
|
version: z.ZodOptional<z.ZodString>;
|
|
147
|
-
preview: z.ZodOptional<z.ZodString>;
|
|
148
147
|
categories: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
148
|
+
preview: z.ZodOptional<z.ZodString>;
|
|
149
149
|
card: z.ZodOptional<z.ZodObject<{
|
|
150
150
|
category: z.ZodEnum<{
|
|
151
151
|
video: "video";
|
|
@@ -10,6 +10,7 @@ export declare const RuntimeFileSchema: z.ZodObject<{
|
|
|
10
10
|
none: "none";
|
|
11
11
|
zip: "zip";
|
|
12
12
|
tgz: "tgz";
|
|
13
|
+
dmg: "dmg";
|
|
13
14
|
}>>;
|
|
14
15
|
name: z.ZodOptional<z.ZodString>;
|
|
15
16
|
check: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -39,6 +40,7 @@ export declare const RuntimeSchema: z.ZodObject<{
|
|
|
39
40
|
none: "none";
|
|
40
41
|
zip: "zip";
|
|
41
42
|
tgz: "tgz";
|
|
43
|
+
dmg: "dmg";
|
|
42
44
|
}>>;
|
|
43
45
|
name: z.ZodOptional<z.ZodString>;
|
|
44
46
|
check: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -72,6 +74,7 @@ export declare const RuntimeManifestSchema: z.ZodObject<{
|
|
|
72
74
|
none: "none";
|
|
73
75
|
zip: "zip";
|
|
74
76
|
tgz: "tgz";
|
|
77
|
+
dmg: "dmg";
|
|
75
78
|
}>>;
|
|
76
79
|
name: z.ZodOptional<z.ZodString>;
|
|
77
80
|
check: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{z as t}from"zod";export const PLATFORMS=["darwin-arm64","darwin-x64","linux-x64","linux-arm64","win32-x64"];const s=t.string().regex(/^[0-9a-f]{64}$/u),i=t.string().min(1).refine(e=>!e.startsWith("/")&&!e.split(/[\\/]/u).includes(".."),{message:"A path stays inside the runtime's folder."});export const RuntimeFileSchema=t.strictObject({url:t.url({protocol:/^https$/u}),sha256:s,size:t.int().positive(),unpack:t.enum(["none","zip","tgz","dmg"]).default("none"),name:i.optional(),check:t.array(t.strictObject({path:i,sha256:s})).default([]),executable:t.boolean().default(!1),bins:t.record(t.string().regex(/^[a-z0-9][a-z0-9-]*$/u),i).default({})}),RuntimeSchema=t.strictObject({about:t.string().min(1),version:t.string().min(1),license:t.string().min(1),homepage:t.url().optional(),platforms:t.partialRecord(t.union([t.enum(PLATFORMS),t.literal("any")]),t.array(RuntimeFileSchema).min(1))}),RuntimeManifestSchema=t.strictObject({$schema:t.string().optional(),version:t.literal(1),runtimes:t.record(t.string().regex(/^[a-z0-9][a-z0-9-]*$/u),RuntimeSchema)});export function platformOf(e,n){const r=`${e}-${n}`;return PLATFORMS.includes(r)?r:void 0}export function binsOf(e){return Object.assign({},...e.map(n=>n.bins))}export function filesFor(e,n){return e.platforms[n]??e.platforms.any}
|
|
@@ -67,11 +67,15 @@ export declare const CheckStateSchema: z.ZodObject<{
|
|
|
67
67
|
export type CheckState = z.infer<typeof CheckStateSchema>;
|
|
68
68
|
export declare const EXPORT_STATES: readonly ["queued", "running", "done", "failed", "cancelled"];
|
|
69
69
|
/** An export the person asked for, one at a time. */
|
|
70
|
+
/** The choices an export is made with (`EXPORT_OFFER`). */
|
|
71
|
+
export declare const ExportOptionsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
|
|
72
|
+
export type ExportOptions = z.infer<typeof ExportOptionsSchema>;
|
|
70
73
|
export declare const ExportJobSchema: z.ZodObject<{
|
|
71
74
|
id: z.ZodString;
|
|
72
75
|
item: z.ZodString;
|
|
73
76
|
versions: z.ZodArray<z.ZodString>;
|
|
74
77
|
types: z.ZodArray<z.ZodString>;
|
|
78
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
75
79
|
state: z.ZodEnum<{
|
|
76
80
|
running: "running";
|
|
77
81
|
done: "done";
|
|
@@ -116,6 +120,12 @@ export declare const PROJECT_TOOLS: {
|
|
|
116
120
|
name: z.ZodString;
|
|
117
121
|
revision: z.ZodInt;
|
|
118
122
|
}, z.core.$strict>>;
|
|
123
|
+
readonly "sheet/generated": MethodSpec<z.ZodObject<{
|
|
124
|
+
item: z.ZodString;
|
|
125
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
126
|
+
generated: z.ZodOptional<z.ZodUnknown>;
|
|
127
|
+
failed: z.ZodBoolean;
|
|
128
|
+
}, z.core.$strict>>;
|
|
119
129
|
readonly "video/versions": MethodSpec<z.ZodObject<{
|
|
120
130
|
item: z.ZodString;
|
|
121
131
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -132,6 +142,17 @@ export declare const PROJECT_TOOLS: {
|
|
|
132
142
|
lang: z.ZodOptional<z.ZodString>;
|
|
133
143
|
}, z.core.$strict>>;
|
|
134
144
|
}, z.core.$strict>>;
|
|
145
|
+
readonly "slides/deck": MethodSpec<z.ZodObject<{
|
|
146
|
+
item: z.ZodString;
|
|
147
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
148
|
+
piece: z.ZodString;
|
|
149
|
+
file: z.ZodString;
|
|
150
|
+
prefix: z.ZodString;
|
|
151
|
+
layouts: z.ZodArray<z.ZodString>;
|
|
152
|
+
components: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
153
|
+
generators: z.ZodArray<z.ZodString>;
|
|
154
|
+
scripts: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
155
|
+
}, z.core.$strict>>;
|
|
135
156
|
readonly "video/stage": MethodSpec<z.ZodObject<{
|
|
136
157
|
start: z.ZodOptional<z.ZodObject<{
|
|
137
158
|
t: z.ZodOptional<z.ZodNumber>;
|
|
@@ -141,6 +162,7 @@ export declare const PROJECT_TOOLS: {
|
|
|
141
162
|
}, z.core.$strict>>;
|
|
142
163
|
play: z.ZodOptional<z.ZodBoolean>;
|
|
143
164
|
chrome: z.ZodOptional<z.ZodBoolean>;
|
|
165
|
+
edit: z.ZodOptional<z.ZodBoolean>;
|
|
144
166
|
item: z.ZodString;
|
|
145
167
|
version: z.ZodOptional<z.ZodString>;
|
|
146
168
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -174,6 +196,19 @@ export declare const PROJECT_TOOLS: {
|
|
|
174
196
|
height: z.ZodInt;
|
|
175
197
|
duration: z.ZodNumber;
|
|
176
198
|
}, z.core.$strict>>;
|
|
199
|
+
readonly "video/stills": MethodSpec<z.ZodObject<{
|
|
200
|
+
moments: z.ZodArray<z.ZodNumber>;
|
|
201
|
+
item: z.ZodString;
|
|
202
|
+
version: z.ZodOptional<z.ZodString>;
|
|
203
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
204
|
+
stills: z.ZodArray<z.ZodObject<{
|
|
205
|
+
t: z.ZodNumber;
|
|
206
|
+
image: z.ZodObject<{
|
|
207
|
+
mime: z.ZodString;
|
|
208
|
+
data: z.ZodBase64;
|
|
209
|
+
}, z.core.$strict>;
|
|
210
|
+
}, z.core.$strict>>;
|
|
211
|
+
}, z.core.$strict>>;
|
|
177
212
|
readonly "check/results": MethodSpec<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
178
213
|
status: z.ZodEnum<{
|
|
179
214
|
off: "off";
|
|
@@ -210,12 +245,14 @@ export declare const PROJECT_TOOLS: {
|
|
|
210
245
|
item: z.ZodString;
|
|
211
246
|
versions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
212
247
|
types: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
248
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
213
249
|
}, z.core.$strict>, z.ZodObject<{
|
|
214
250
|
job: z.ZodObject<{
|
|
215
251
|
id: z.ZodString;
|
|
216
252
|
item: z.ZodString;
|
|
217
253
|
versions: z.ZodArray<z.ZodString>;
|
|
218
254
|
types: z.ZodArray<z.ZodString>;
|
|
255
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
219
256
|
state: z.ZodEnum<{
|
|
220
257
|
running: "running";
|
|
221
258
|
done: "done";
|
|
@@ -237,6 +274,7 @@ export declare const PROJECT_TOOLS: {
|
|
|
237
274
|
item: z.ZodString;
|
|
238
275
|
versions: z.ZodArray<z.ZodString>;
|
|
239
276
|
types: z.ZodArray<z.ZodString>;
|
|
277
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
240
278
|
state: z.ZodEnum<{
|
|
241
279
|
running: "running";
|
|
242
280
|
done: "done";
|
|
@@ -248,7 +286,11 @@ export declare const PROJECT_TOOLS: {
|
|
|
248
286
|
files: z.ZodArray<z.ZodString>;
|
|
249
287
|
error: z.ZodOptional<z.ZodString>;
|
|
250
288
|
}, z.core.$strict>>;
|
|
289
|
+
reveal: z.ZodBoolean;
|
|
251
290
|
}, z.core.$strict>>;
|
|
291
|
+
readonly "export/reveal": MethodSpec<z.ZodObject<{
|
|
292
|
+
path: z.ZodString;
|
|
293
|
+
}, z.core.$strict>, z.ZodObject<{}, z.core.$strict>>;
|
|
252
294
|
readonly "scenery/viewer": MethodSpec<z.ZodObject<{
|
|
253
295
|
item: z.ZodString;
|
|
254
296
|
camera: z.ZodOptional<z.ZodObject<{
|
|
@@ -318,6 +360,7 @@ export declare const TOOL_NOTIFICATIONS: {
|
|
|
318
360
|
item: z.ZodString;
|
|
319
361
|
versions: z.ZodArray<z.ZodString>;
|
|
320
362
|
types: z.ZodArray<z.ZodString>;
|
|
363
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
321
364
|
state: z.ZodEnum<{
|
|
322
365
|
running: "running";
|
|
323
366
|
done: "done";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{z as e}from"zod";import{KINDS as c}from"@allyhub-next/formats";import{PathSchema as r}from"./files.js";import{method as t,notification as s}from"./jsonrpc.js";const i={item:r,version:e.string().optional()};export const ImageSchema=e.strictObject({mime:e.string().regex(/^image\//u),data:e.base64()}),ProblemSchema=e.looseObject({code:e.string(),level:e.enum(["error","warn"]),message:e.string(),piece:e.string().optional(),part:e.string().optional(),t:e.number().optional()}),FactSchema=e.looseObject({kind:e.string(),data:e.unknown()}),TimelineSchema=e.looseObject({fps:e.number(),width:e.number(),height:e.number(),duration:e.number(),parts:e.array(e.unknown())}),CHECK_STATES=["off","waiting","running","done","failed"],CheckStateSchema=e.strictObject({status:e.enum(CHECK_STATES),revision:e.int().nonnegative(),problems:e.array(ProblemSchema),facts:e.array(FactSchema),versions:e.strictObject({total:e.int(),loaded:e.int(),reused:e.int()}).optional(),error:e.string().optional()}),EXPORT_STATES=["queued","running","done","failed","cancelled"],ExportOptionsSchema=e.record(e.string(),e.union([e.string(),e.boolean()])),ExportJobSchema=e.strictObject({id:e.string(),item:r,versions:e.array(e.string()),types:e.array(e.string()),options:ExportOptionsSchema.optional(),state:e.enum(EXPORT_STATES),progress:e.number().min(0).max(1),files:e.array(r),error:e.string().optional()}),IndexJobSchema=e.strictObject({file:r,status:e.enum(["running","done","failed"]),message:e.string(),share:e.number().min(0).max(1).optional()});const o=e.tuple([e.number(),e.number(),e.number()]),a=e.strictObject({url:e.string(),probe:e.string()});export const PROJECT_TOOLS={"project/items":t(e.strictObject({}),e.strictObject({items:e.array(e.strictObject({kind:e.enum(c),dir:r,entry:r,title:e.string().optional()})),folder:e.string(),name:e.string(),revision:e.int().nonnegative()}),"The project's items, as the build finds them."),"sheet/generated":t(e.strictObject({item:r}),e.strictObject({generated:e.unknown().optional(),failed:e.boolean()}),"What a sheet's sheet.ts makes now: sheets as sheet.yaml would hold them. Never written to a file."),"video/versions":t(e.strictObject({item:r}),e.strictObject({piece:e.string(),kind:e.enum(["video","slides"]),title:e.string().optional(),width:e.number(),height:e.number(),versions:e.array(e.strictObject({key:e.string(),lang:e.string().optional()}))}),"A video's or a deck's versions, one per language: what its stage, its timeline and its exports are asked for."),"slides/deck":t(e.strictObject({item:r}),e.strictObject({piece:e.string(),file:r,prefix:e.string(),layouts:e.array(e.string()),components:e.record(e.string(),e.unknown()),generators:e.array(e.string()),scripts:e.record(e.string(),r)}),"A deck's layouts, components and generators, and its files: slides.yaml (its slides) and its script in each language (their words and notes), which the deck's editor edits."),"video/stage":t(e.strictObject({...i,start:e.strictObject({t:e.number().nonnegative().optional(),part:e.string().optional(),offset:e.number().nonnegative().optional(),dur:e.number().positive().optional()}).optional(),play:e.boolean().optional(),chrome:e.boolean().optional(),edit:e.boolean().optional()}),a,"The address of a version's stage page, for a sandboxed frame: it plays the piece and talks to its parent by postMessage."),"video/timeline":t(e.strictObject(i),e.strictObject({timeline:TimelineSchema,text:e.array(e.unknown())}),"A version's timeline, drawn nowhere."),"video/still":t(e.strictObject({...i,t:e.number().nonnegative().optional()}),e.strictObject({t:e.number(),image:ImageSchema,width:e.int().positive(),height:e.int().positive(),duration:e.number().nonnegative()}),"A moment of a version as the render draws it, as a picture."),"video/stills":t(e.strictObject({...i,moments:e.array(e.number().nonnegative()).min(1).max(32)}),e.strictObject({stills:e.array(e.strictObject({t:e.number(),image:ImageSchema}))}),"Several moments of a version as the render draws them: what `video/still` gives, on one page."),"check/results":t(e.strictObject({}),CheckStateSchema,"The check run after edits, as it stands."),"check/run":t(e.strictObject({}),e.strictObject({}),"Runs the check again now."),"export/start":t(e.strictObject({item:r,versions:e.array(e.string()).optional(),types:e.array(e.string().min(1)).max(10).optional(),options:ExportOptionsSchema.optional()}),e.strictObject({job:ExportJobSchema}),"Exports an item (its versions, as file types) into .allyhub/out/; `export/changed` says how it goes."),"export/cancel":t(e.strictObject({job:e.string()}),e.strictObject({}),"Stops an export."),"export/list":t(e.strictObject({}),e.strictObject({jobs:e.array(ExportJobSchema),reveal:e.boolean()}),"The exports asked for since the server started."),"export/reveal":t(e.strictObject({path:r}),e.strictObject({}),"Shows an exported file in the person's file manager, where the server runs on their computer (`export/list`'s `reveal`)."),"scenery/viewer":t(e.strictObject({item:r,camera:e.strictObject({position:o,target:o}).optional()}),a,"The address of a scenery's viewer page, for a sandboxed frame: it tells what the person does by postMessage.")},AGENT_DOES={"project/items":{files:"the project's folder"},"sheet/generated":{files:"the item's sheet.ts and sheet.yaml"},"video/versions":{command:"inspect combos"},"slides/deck":{files:"slides.ts, slides.yaml and the item's script.<locale>.yaml"},"video/stage":{command:"frames"},"video/timeline":{command:"inspect timeline"},"video/still":{command:"frames"},"video/stills":{command:"frames"},"check/results":{command:"inspect"},"check/run":{command:"check"},"export/start":{command:"render"},"export/cancel":{command:"render"},"export/list":{files:".allyhub/out/"},"export/reveal":{files:".allyhub/out/"},"scenery/viewer":{command:"scenery view"}};export function toolSpec(n){return Object.hasOwn(PROJECT_TOOLS,n)?PROJECT_TOOLS[n]:void 0}export const TOOL_NOTIFICATIONS={"project/changed":s(e.strictObject({revision:e.int().nonnegative()}),"The build saw a change: a stage or a timeline asked for now is the new one's."),"check/changed":s(CheckStateSchema,"The check started, ended or failed."),"export/changed":s(e.strictObject({job:ExportJobSchema}),"An export moved on."),"index/changed":s(e.strictObject({jobs:e.array(IndexJobSchema)}),"Making what the media index lacks moved on.")};
|