@hypit/hypit 0.0.1 → 0.1.1
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/LICENSE +26 -0
- package/README.md +142 -0
- package/bin/hypit.mjs +46 -0
- package/dist/public/artifact.d.ts +75 -0
- package/dist/public/author-kit.d.ts +559 -0
- package/dist/public/browser-capture.d.ts +56 -0
- package/dist/public/caption.d.ts +751 -0
- package/dist/public/composition.d.ts +672 -0
- package/dist/public/endpoint-kit.d.ts +366 -0
- package/dist/public/generation.d.ts +591 -0
- package/dist/public/hyperframes.d.ts +774 -0
- package/dist/public/media.d.ts +708 -0
- package/dist/public/model-kit.d.ts +523 -0
- package/dist/public/narrative.d.ts +315 -0
- package/dist/public/program-space.d.ts +193 -0
- package/dist/public/runtime-kit.d.ts +427 -0
- package/dist/public/semantic-track.d.ts +418 -0
- package/dist/public/spatial.d.ts +1193 -0
- package/dist/public/speech.d.ts +391 -0
- package/dist/public/studio-adapter.d.ts +686 -0
- package/dist/public/svs.d.ts +311 -0
- package/dist/public/temporal-markup.d.ts +343 -0
- package/dist/public/temporal.d.ts +497 -0
- package/dist/public/text.d.ts +817 -0
- package/dist/public/visual-ir.d.ts +98 -0
- package/docs/public/hypit-logo-dark.svg +36 -0
- package/docs/public/hypit-logo-light.svg +38 -0
- package/examples/README.md +24 -0
- package/examples/minimal-author-package/README.md +18 -0
- package/examples/minimal-author-package/packages/example-component/README.md +44 -0
- package/examples/minimal-author-package/packages/example-component/package.json +27 -0
- package/examples/minimal-author-package/packages/example-component/preview/Box.png +0 -0
- package/examples/minimal-author-package/packages/example-component/preview/build.svrun +6 -0
- package/examples/minimal-author-package/packages/example-component/preview/preview.svml +47 -0
- package/examples/minimal-author-package/packages/example-component/preview/recipes.svs +8 -0
- package/examples/minimal-author-package/packages/example-component/src/activation.ts +10 -0
- package/examples/minimal-author-package/packages/example-component/src/component.ts +44 -0
- package/examples/minimal-author-package/packages/example-component/src/fragment.ts +32 -0
- package/examples/minimal-author-package/packages/example-component/src/index.ts +6 -0
- package/examples/minimal-author-package/packages/example-component/src/manifest.ts +82 -0
- package/examples/minimal-author-package/packages/example-component/src/style.ts +13 -0
- package/examples/minimal-author-package/packages/example-component/src/surface.ts +41 -0
- package/examples/minimal-author-package/packages/example-component/src/temporal.ts +6 -0
- package/examples/minimal-author-package/packages/example-component/tsconfig.json +18 -0
- package/examples/semantic-composition/README.md +35 -0
- package/examples/semantic-composition/chat.svml +25 -0
- package/examples/semantic-composition/chat.svrun +6 -0
- package/examples/semantic-composition/chat.svs +4 -0
- package/examples/semantic-composition/hypit.runtime.json +8 -0
- package/examples/semantic-composition/packages/chat-scene/README.md +29 -0
- package/examples/semantic-composition/packages/chat-scene/package.json +11 -0
- package/examples/semantic-composition/packages/chat-scene/src/activation.ts +112 -0
- package/examples/semantic-composition/packages/chat-scene/src/render.ts +64 -0
- package/examples/semantic-composition/packages/chat-scene/tsconfig.json +18 -0
- package/examples/semantic-composition/packages/responsive-explainer/README.md +45 -0
- package/examples/semantic-composition/packages/responsive-explainer/package.json +11 -0
- package/examples/semantic-composition/packages/responsive-explainer/src/activation.ts +90 -0
- package/examples/semantic-composition/packages/responsive-explainer/src/render.ts +68 -0
- package/examples/semantic-composition/packages/responsive-explainer/tsconfig.json +18 -0
- package/package.json +263 -5
- package/packages/artifact/README.md +10 -0
- package/packages/artifact/package.json +16 -0
- package/packages/artifact/src/activation.ts +8 -0
- package/packages/artifact/src/index.ts +24 -0
- package/packages/audio-track/README.md +43 -0
- package/packages/audio-track/package.json +36 -0
- package/packages/audio-track/src/activation.ts +20 -0
- package/packages/audio-track/src/component.ts +40 -0
- package/packages/audio-track/src/fragment.ts +63 -0
- package/packages/audio-track/src/index.ts +7 -0
- package/packages/audio-track/src/manifest.ts +151 -0
- package/packages/audio-track/src/program.ts +254 -0
- package/packages/audio-track/src/surface.ts +187 -0
- package/packages/audio-track/src/types.ts +62 -0
- package/packages/audio-track-studio/README.md +3 -0
- package/packages/audio-track-studio/package.json +14 -0
- package/packages/audio-track-studio/src/activation.ts +7 -0
- package/packages/audio-track-studio/src/index.ts +72 -0
- package/packages/author-kit/README.md +31 -0
- package/packages/author-kit/package.json +16 -0
- package/packages/author-kit/src/index.ts +59 -0
- package/packages/background-removal/README.md +29 -0
- package/packages/background-removal/package.json +16 -0
- package/packages/background-removal/src/activation.ts +18 -0
- package/packages/background-removal/src/component.ts +32 -0
- package/packages/background-removal/src/fragment.ts +18 -0
- package/packages/background-removal/src/index.ts +6 -0
- package/packages/background-removal/src/manifest.ts +45 -0
- package/packages/background-removal/src/program.ts +19 -0
- package/packages/background-removal/src/surface.ts +27 -0
- package/packages/background-removal/src/types.ts +5 -0
- package/packages/browser-capture/README.md +82 -0
- package/packages/browser-capture/package.json +15 -0
- package/packages/browser-capture/src/browser.ts +19 -0
- package/packages/browser-capture/src/index.ts +198 -0
- package/packages/build-result/package.json +13 -0
- package/packages/build-result/src/decode.ts +286 -0
- package/packages/build-result/src/index.ts +25 -0
- package/packages/build-result/src/store.ts +505 -0
- package/packages/build-result/src/types.ts +354 -0
- package/packages/build-result/src/writer.ts +184 -0
- package/packages/build-result-fs/README.md +29 -0
- package/packages/build-result-fs/package.json +17 -0
- package/packages/build-result-fs/src/activation.ts +62 -0
- package/packages/build-result-fs/src/index.ts +1 -0
- package/packages/build-result-kit/README.md +10 -0
- package/packages/build-result-kit/package.json +15 -0
- package/packages/build-result-kit/src/index.ts +144 -0
- package/packages/build-result-s3/README.md +49 -0
- package/packages/build-result-s3/package.json +19 -0
- package/packages/build-result-s3/src/activation.ts +71 -0
- package/packages/build-result-s3/src/client.ts +254 -0
- package/packages/build-result-s3/src/index.ts +4 -0
- package/packages/build-result-s3/src/repository.ts +361 -0
- package/packages/caption/README.md +77 -0
- package/packages/caption/package.json +28 -0
- package/packages/caption/src/activation.ts +17 -0
- package/packages/caption/src/component.ts +38 -0
- package/packages/caption/src/display.ts +111 -0
- package/packages/caption/src/error.ts +9 -0
- package/packages/caption/src/fragment.ts +26 -0
- package/packages/caption/src/index.ts +33 -0
- package/packages/caption/src/manifest.ts +97 -0
- package/packages/caption/src/style.ts +170 -0
- package/packages/caption/src/surface.ts +96 -0
- package/packages/caption/src/temporalize.ts +124 -0
- package/packages/caption/src/types.ts +71 -0
- package/packages/caption-fine/README.md +108 -0
- package/packages/caption-fine/package.json +30 -0
- package/packages/caption-fine/preview/Track.png +0 -0
- package/packages/caption-fine/src/activation.ts +32 -0
- package/packages/caption-fine/src/component.ts +58 -0
- package/packages/caption-fine/src/fragment.ts +112 -0
- package/packages/caption-fine/src/index.ts +19 -0
- package/packages/caption-fine/src/manifest.ts +383 -0
- package/packages/caption-fine/src/recipe.ts +120 -0
- package/packages/caption-fine/src/render.ts +1133 -0
- package/packages/caption-fine/src/schedule.ts +126 -0
- package/packages/caption-fine/src/spacing.ts +69 -0
- package/packages/caption-fine/src/style.ts +370 -0
- package/packages/caption-fine/src/surface.ts +152 -0
- package/packages/caption-fine/src/types.ts +191 -0
- package/packages/caption-fine-studio/README.md +3 -0
- package/packages/caption-fine-studio/package.json +15 -0
- package/packages/caption-fine-studio/src/activation.ts +7 -0
- package/packages/caption-fine-studio/src/index.ts +163 -0
- package/packages/cli/README.md +51 -0
- package/packages/cli/package.json +33 -0
- package/packages/cli/src/arguments.ts +605 -0
- package/packages/cli/src/build-planning.ts +460 -0
- package/packages/cli/src/command.ts +202 -0
- package/packages/cli/src/commands/environment.ts +391 -0
- package/packages/cli/src/commands/execution.ts +321 -0
- package/packages/cli/src/commands/results.ts +187 -0
- package/packages/cli/src/commands/types.ts +9 -0
- package/packages/cli/src/distribution.ts +74 -0
- package/packages/cli/src/index.ts +30 -0
- package/packages/cli/src/machine-view.ts +28 -0
- package/packages/cli/src/main.ts +654 -0
- package/packages/cli/src/oauth.ts +228 -0
- package/packages/cli/src/observation.ts +203 -0
- package/packages/cli/src/output.ts +1007 -0
- package/packages/cli/src/paths.ts +7 -0
- package/packages/cli/src/project-context.ts +38 -0
- package/packages/cli/src/reachability.ts +91 -0
- package/packages/cli/src/result-export.ts +148 -0
- package/packages/cli/src/result-query.ts +46 -0
- package/packages/cli/src/run-file.ts +186 -0
- package/packages/cli/src/runtime-port.ts +13 -0
- package/packages/cli/src/runtime-selection.ts +94 -0
- package/packages/cli/src/runtime-view.ts +15 -0
- package/packages/cli/src/source-discovery.ts +150 -0
- package/packages/cli/src/source-packages.ts +91 -0
- package/packages/cli/src/view.ts +228 -0
- package/packages/comment-sticker/README.md +41 -0
- package/packages/comment-sticker/package.json +29 -0
- package/packages/comment-sticker/preview/Track.png +0 -0
- package/packages/comment-sticker/src/activation.ts +32 -0
- package/packages/comment-sticker/src/author.ts +148 -0
- package/packages/comment-sticker/src/component.ts +97 -0
- package/packages/comment-sticker/src/fragment.ts +124 -0
- package/packages/comment-sticker/src/index.ts +8 -0
- package/packages/comment-sticker/src/manifest.ts +373 -0
- package/packages/comment-sticker/src/program.ts +610 -0
- package/packages/comment-sticker/src/surface.ts +172 -0
- package/packages/comment-sticker/src/types.ts +109 -0
- package/packages/comment-sticker-studio/README.md +3 -0
- package/packages/comment-sticker-studio/package.json +14 -0
- package/packages/comment-sticker-studio/src/activation.ts +7 -0
- package/packages/comment-sticker-studio/src/index.ts +132 -0
- package/packages/compiler-markup-node/README.md +12 -0
- package/packages/compiler-markup-node/package.json +22 -0
- package/packages/compiler-markup-node/src/index.ts +59 -0
- package/packages/compiler-node/README.md +60 -0
- package/packages/compiler-node/package.json +25 -0
- package/packages/compiler-node/src/compiler.ts +207 -0
- package/packages/compiler-node/src/error.ts +11 -0
- package/packages/compiler-node/src/graph-query.ts +51 -0
- package/packages/compiler-node/src/index.ts +27 -0
- package/packages/compiler-node/src/modules.ts +107 -0
- package/packages/compiler-node/src/run.ts +355 -0
- package/packages/component-kit/README.md +97 -0
- package/packages/component-kit/package.json +13 -0
- package/packages/component-kit/src/index.ts +155 -0
- package/packages/composition/README.md +53 -0
- package/packages/composition/package.json +29 -0
- package/packages/composition/src/activation.ts +3 -0
- package/packages/composition/src/component.ts +10 -0
- package/packages/composition/src/index.ts +18 -0
- package/packages/composition/src/manifest.ts +13 -0
- package/packages/composition/src/schema.ts +194 -0
- package/packages/composition/src/track.ts +1403 -0
- package/packages/core/README.md +22 -0
- package/packages/core/package.json +13 -0
- package/packages/core/src/error.ts +12 -0
- package/packages/core/src/graph.ts +341 -0
- package/packages/core/src/index.ts +32 -0
- package/packages/core/src/link.ts +240 -0
- package/packages/core/src/machine.ts +60 -0
- package/packages/core/src/plan.ts +504 -0
- package/packages/core/src/reducer.ts +428 -0
- package/packages/core/src/reference.ts +25 -0
- package/packages/core/src/slice.ts +108 -0
- package/packages/credential-store-env/README.md +11 -0
- package/packages/credential-store-env/package.json +17 -0
- package/packages/credential-store-env/src/activation.ts +25 -0
- package/packages/credential-store-env/src/index.ts +23 -0
- package/packages/credential-store-os/README.md +13 -0
- package/packages/credential-store-os/package.json +22 -0
- package/packages/credential-store-os/runtime/windows-credential.ps1 +59 -0
- package/packages/credential-store-os/src/activation.ts +32 -0
- package/packages/credential-store-os/src/index.ts +2 -0
- package/packages/credential-store-os/src/store.ts +196 -0
- package/packages/deck-track/README.md +52 -0
- package/packages/deck-track/package.json +35 -0
- package/packages/deck-track/preview/DepthStack.png +0 -0
- package/packages/deck-track/src/activation.ts +32 -0
- package/packages/deck-track/src/author.ts +217 -0
- package/packages/deck-track/src/component.ts +86 -0
- package/packages/deck-track/src/fragment.ts +148 -0
- package/packages/deck-track/src/index.ts +16 -0
- package/packages/deck-track/src/lower.ts +370 -0
- package/packages/deck-track/src/manifest.ts +438 -0
- package/packages/deck-track/src/program.ts +367 -0
- package/packages/deck-track/src/surface.ts +286 -0
- package/packages/deck-track/src/types.ts +119 -0
- package/packages/deck-track-studio/README.md +3 -0
- package/packages/deck-track-studio/package.json +14 -0
- package/packages/deck-track-studio/src/activation.ts +7 -0
- package/packages/deck-track-studio/src/index.ts +134 -0
- package/packages/driver-node/README.md +23 -0
- package/packages/driver-node/package.json +18 -0
- package/packages/driver-node/src/driver.ts +616 -0
- package/packages/driver-node/src/index.ts +10 -0
- package/packages/driver-node/src/planning.ts +67 -0
- package/packages/driver-node/src/registry.ts +234 -0
- package/packages/driver-node/src/resources.ts +36 -0
- package/packages/driver-node/src/types.ts +69 -0
- package/packages/elaborator/README.md +74 -0
- package/packages/elaborator/package.json +16 -0
- package/packages/elaborator/src/author.ts +308 -0
- package/packages/elaborator/src/fragment.ts +505 -0
- package/packages/elaborator/src/frontend-facet.ts +30 -0
- package/packages/elaborator/src/index.ts +78 -0
- package/packages/elaborator/src/source.ts +608 -0
- package/packages/endpoint-kit/README.md +111 -0
- package/packages/endpoint-kit/package.json +14 -0
- package/packages/endpoint-kit/src/index.ts +488 -0
- package/packages/estimate/README.md +32 -0
- package/packages/estimate/package.json +20 -0
- package/packages/estimate/src/activation.ts +11 -0
- package/packages/estimate/src/index.ts +16 -0
- package/packages/estimate/src/manifest.ts +34 -0
- package/packages/estimate/src/policy.ts +70 -0
- package/packages/estimate/src/program.ts +196 -0
- package/packages/estimate/src/types.ts +15 -0
- package/packages/film/README.md +49 -0
- package/packages/film/package.json +34 -0
- package/packages/film/src/activation.ts +16 -0
- package/packages/film/src/component.ts +61 -0
- package/packages/film/src/fragment.ts +83 -0
- package/packages/film/src/index.ts +11 -0
- package/packages/film/src/manifest.ts +152 -0
- package/packages/film/src/program.ts +110 -0
- package/packages/film/src/recipe.ts +24 -0
- package/packages/film/src/surface.ts +146 -0
- package/packages/film/src/types.ts +26 -0
- package/packages/film-studio/package.json +16 -0
- package/packages/film-studio/src/activation.ts +8 -0
- package/packages/film-studio/src/index.ts +17 -0
- package/packages/fonts-open/README.md +77 -0
- package/packages/fonts-open/package.json +130 -0
- package/packages/fonts-open/src/activation.ts +30 -0
- package/packages/fonts-open/src/catalog.ts +317 -0
- package/packages/fonts-open/src/index.ts +13 -0
- package/packages/fonts-open/src/manifest.ts +83 -0
- package/packages/fonts-open/src/surface.ts +239 -0
- package/packages/generation/README.md +19 -0
- package/packages/generation/package.json +23 -0
- package/packages/generation/src/activation.ts +9 -0
- package/packages/generation/src/component.ts +77 -0
- package/packages/generation/src/identity.ts +80 -0
- package/packages/generation/src/index.ts +79 -0
- package/packages/generation/src/manifest.ts +65 -0
- package/packages/generation/src/mapping.ts +231 -0
- package/packages/generation/src/ports.ts +222 -0
- package/packages/generation/src/request.ts +427 -0
- package/packages/generation/src/schema.ts +62 -0
- package/packages/generation/src/types.ts +17 -0
- package/packages/gpt-image/README.md +54 -0
- package/packages/gpt-image/package.json +34 -0
- package/packages/gpt-image/src/activation.ts +39 -0
- package/packages/gpt-image/src/fragment.ts +101 -0
- package/packages/gpt-image/src/index.ts +203 -0
- package/packages/gpt-image/src/surface.ts +194 -0
- package/packages/gpt-image-kits/README.md +44 -0
- package/packages/gpt-image-kits/kits/phone-ugc-v1.svs +34 -0
- package/packages/gpt-image-kits/package.json +15 -0
- package/packages/grok-imagine/README.md +21 -0
- package/packages/grok-imagine/package.json +21 -0
- package/packages/grok-imagine/src/activation.ts +29 -0
- package/packages/grok-imagine/src/index.ts +174 -0
- package/packages/grok-imagine/src/surface.ts +149 -0
- package/packages/host/README.md +5 -0
- package/packages/host/package.json +10 -0
- package/packages/host/src/facet.ts +6 -0
- package/packages/host/src/frontend.ts +56 -0
- package/packages/host/src/index.ts +9 -0
- package/packages/hyperframes/README.md +69 -0
- package/packages/hyperframes/package.json +36 -0
- package/packages/hyperframes/src/activation.ts +8 -0
- package/packages/hyperframes/src/browser-program.ts +79 -0
- package/packages/hyperframes/src/component.ts +32 -0
- package/packages/hyperframes/src/document.ts +827 -0
- package/packages/hyperframes/src/fragment.ts +32 -0
- package/packages/hyperframes/src/index.ts +13 -0
- package/packages/hyperframes/src/manifest.ts +67 -0
- package/packages/hyperframes/src/project.ts +118 -0
- package/packages/hyperframes/src/text.ts +1179 -0
- package/packages/hyperframes/src/types.ts +38 -0
- package/packages/image-compose/README.md +25 -0
- package/packages/image-compose/package.json +18 -0
- package/packages/image-compose/src/activation.ts +21 -0
- package/packages/image-compose/src/component.ts +100 -0
- package/packages/image-compose/src/fragment.ts +54 -0
- package/packages/image-compose/src/index.ts +10 -0
- package/packages/image-compose/src/manifest.ts +119 -0
- package/packages/image-compose/src/program.ts +75 -0
- package/packages/image-compose/src/surface.ts +83 -0
- package/packages/image-compose/src/types.ts +22 -0
- package/packages/image-transform/README.md +29 -0
- package/packages/image-transform/package.json +21 -0
- package/packages/image-transform/src/activation.ts +33 -0
- package/packages/image-transform/src/component.ts +67 -0
- package/packages/image-transform/src/fragment.ts +25 -0
- package/packages/image-transform/src/index.ts +13 -0
- package/packages/image-transform/src/manifest.ts +209 -0
- package/packages/image-transform/src/program.ts +23 -0
- package/packages/image-transform/src/surface.ts +216 -0
- package/packages/image-transform/src/types.ts +20 -0
- package/packages/interview-emoji-reveal/README.md +39 -0
- package/packages/interview-emoji-reveal/package.json +23 -0
- package/packages/interview-emoji-reveal/preview/Track.png +0 -0
- package/packages/interview-emoji-reveal/src/activation.ts +14 -0
- package/packages/interview-emoji-reveal/src/component.ts +45 -0
- package/packages/interview-emoji-reveal/src/fragment.ts +62 -0
- package/packages/interview-emoji-reveal/src/index.ts +16 -0
- package/packages/interview-emoji-reveal/src/manifest.ts +174 -0
- package/packages/interview-emoji-reveal/src/program.ts +242 -0
- package/packages/interview-emoji-reveal/src/style.ts +47 -0
- package/packages/interview-emoji-reveal/src/surface.ts +110 -0
- package/packages/interview-emoji-reveal/src/types.ts +52 -0
- package/packages/markup/README.md +81 -0
- package/packages/markup/package.json +16 -0
- package/packages/markup/src/element.ts +39 -0
- package/packages/markup/src/error.ts +20 -0
- package/packages/markup/src/frontend.ts +518 -0
- package/packages/markup/src/host-facet.ts +115 -0
- package/packages/markup/src/index.ts +25 -0
- package/packages/markup/src/registry.ts +83 -0
- package/packages/markup/src/syntax.ts +271 -0
- package/packages/markup/src/types.ts +246 -0
- package/packages/media/README.md +37 -0
- package/packages/media/package.json +19 -0
- package/packages/media/src/activation.ts +38 -0
- package/packages/media/src/component.ts +16 -0
- package/packages/media/src/frame-range.ts +33 -0
- package/packages/media/src/identity.ts +227 -0
- package/packages/media/src/index.ts +15 -0
- package/packages/media/src/manifest.ts +122 -0
- package/packages/media/src/render.ts +140 -0
- package/packages/media/src/schema.ts +69 -0
- package/packages/media/src/surface.ts +150 -0
- package/packages/media/src/types.ts +121 -0
- package/packages/media-execution/README.md +28 -0
- package/packages/media-execution/package.json +17 -0
- package/packages/media-execution/src/execute.ts +1322 -0
- package/packages/media-execution/src/index.ts +16 -0
- package/packages/media-execution/src/probe.ts +315 -0
- package/packages/media-execution/src/surface.ts +286 -0
- package/packages/media-execution/src/toolchain.ts +81 -0
- package/packages/media-execution/src/webp.ts +200 -0
- package/packages/media-pipeline/README.md +113 -0
- package/packages/media-pipeline/package.json +27 -0
- package/packages/media-pipeline/src/activation.ts +47 -0
- package/packages/media-pipeline/src/audio-plan.ts +113 -0
- package/packages/media-pipeline/src/component.ts +373 -0
- package/packages/media-pipeline/src/fragment.ts +167 -0
- package/packages/media-pipeline/src/index.ts +46 -0
- package/packages/media-pipeline/src/manifest.ts +653 -0
- package/packages/media-pipeline/src/operations.ts +248 -0
- package/packages/media-pipeline/src/selection.ts +110 -0
- package/packages/media-pipeline/src/surface.ts +389 -0
- package/packages/media-pipeline/src/types.ts +175 -0
- package/packages/media-track/README.md +197 -0
- package/packages/media-track/package.json +29 -0
- package/packages/media-track/preview/Track.png +0 -0
- package/packages/media-track/preview/build.svrun +5 -0
- package/packages/media-track/preview/flush.png +0 -0
- package/packages/media-track/preview/preview.svml +47 -0
- package/packages/media-track/preview/recipes.svs +23 -0
- package/packages/media-track/preview/rounded.png +0 -0
- package/packages/media-track/src/activation.ts +20 -0
- package/packages/media-track/src/author.ts +317 -0
- package/packages/media-track/src/component.ts +162 -0
- package/packages/media-track/src/fragment.ts +57 -0
- package/packages/media-track/src/index.ts +65 -0
- package/packages/media-track/src/layers.ts +308 -0
- package/packages/media-track/src/lower.ts +335 -0
- package/packages/media-track/src/manifest.ts +624 -0
- package/packages/media-track/src/motion.ts +387 -0
- package/packages/media-track/src/performance.ts +37 -0
- package/packages/media-track/src/presentation.ts +35 -0
- package/packages/media-track/src/program.ts +565 -0
- package/packages/media-track/src/sampling.ts +118 -0
- package/packages/media-track/src/sequence.ts +403 -0
- package/packages/media-track/src/sounds.ts +71 -0
- package/packages/media-track/src/surface.ts +668 -0
- package/packages/media-track/src/types.ts +311 -0
- package/packages/media-track-studio/README.md +3 -0
- package/packages/media-track-studio/package.json +15 -0
- package/packages/media-track-studio/src/activation.ts +7 -0
- package/packages/media-track-studio/src/index.ts +235 -0
- package/packages/mimo-speech/README.md +33 -0
- package/packages/mimo-speech/package.json +21 -0
- package/packages/mimo-speech/src/activation.ts +32 -0
- package/packages/mimo-speech/src/fragment.ts +11 -0
- package/packages/mimo-speech/src/index.ts +160 -0
- package/packages/mimo-speech/src/surface.ts +193 -0
- package/packages/minimax-h3/README.md +21 -0
- package/packages/minimax-h3/package.json +21 -0
- package/packages/minimax-h3/src/activation.ts +14 -0
- package/packages/minimax-h3/src/index.ts +188 -0
- package/packages/minimax-h3/src/surface.ts +87 -0
- package/packages/model-kit/README.md +52 -0
- package/packages/model-kit/package.json +19 -0
- package/packages/model-kit/src/index.ts +728 -0
- package/packages/nano-banana/README.md +23 -0
- package/packages/nano-banana/package.json +21 -0
- package/packages/nano-banana/src/activation.ts +14 -0
- package/packages/nano-banana/src/index.ts +172 -0
- package/packages/nano-banana/src/surface.ts +120 -0
- package/packages/narrative/README.md +7 -0
- package/packages/narrative/package.json +17 -0
- package/packages/narrative/src/activation.ts +7 -0
- package/packages/narrative/src/component.ts +33 -0
- package/packages/narrative/src/identity.ts +131 -0
- package/packages/narrative/src/index.ts +11 -0
- package/packages/narrative/src/manifest.ts +30 -0
- package/packages/narrative/src/schema.ts +89 -0
- package/packages/narrative/src/types.ts +141 -0
- package/packages/package-loader-node/README.md +23 -0
- package/packages/package-loader-node/package.json +15 -0
- package/packages/package-loader-node/src/contribution.ts +97 -0
- package/packages/package-loader-node/src/distribution-resolution.ts +146 -0
- package/packages/package-loader-node/src/index.ts +27 -0
- package/packages/package-loader-node/src/loader.ts +301 -0
- package/packages/package-loader-node/src/location.ts +279 -0
- package/packages/package-loader-node/src/types.ts +60 -0
- package/packages/program-space/README.md +20 -0
- package/packages/program-space/package.json +17 -0
- package/packages/program-space/src/activation.ts +19 -0
- package/packages/program-space/src/index.ts +107 -0
- package/packages/program-space/src/surface.ts +55 -0
- package/packages/protocol/README.md +11 -0
- package/packages/protocol/package.json +10 -0
- package/packages/protocol/src/build-id.ts +52 -0
- package/packages/protocol/src/build.ts +265 -0
- package/packages/protocol/src/canonical.ts +37 -0
- package/packages/protocol/src/error.ts +11 -0
- package/packages/protocol/src/identity.ts +59 -0
- package/packages/protocol/src/index.ts +9 -0
- package/packages/protocol/src/module.ts +67 -0
- package/packages/protocol/src/value.ts +88 -0
- package/packages/provider-hyperframes-aws-lambda/README.md +30 -0
- package/packages/provider-hyperframes-aws-lambda/package.json +30 -0
- package/packages/provider-hyperframes-aws-lambda/src/activation.ts +97 -0
- package/packages/provider-hyperframes-aws-lambda/src/client.ts +114 -0
- package/packages/provider-hyperframes-aws-lambda/src/index.ts +21 -0
- package/packages/provider-hyperframes-aws-lambda/src/provider.ts +522 -0
- package/packages/provider-hyperframes-local/README.md +129 -0
- package/packages/provider-hyperframes-local/package.json +34 -0
- package/packages/provider-hyperframes-local/src/activation.ts +107 -0
- package/packages/provider-hyperframes-local/src/capture-process.ts +110 -0
- package/packages/provider-hyperframes-local/src/capture-worker.ts +17 -0
- package/packages/provider-hyperframes-local/src/capture.ts +184 -0
- package/packages/provider-hyperframes-local/src/index.ts +10 -0
- package/packages/provider-hyperframes-local/src/options.ts +19 -0
- package/packages/provider-hyperframes-local/src/output.ts +73 -0
- package/packages/provider-hyperframes-local/src/process.ts +83 -0
- package/packages/provider-hyperframes-local/src/program.ts +58 -0
- package/packages/provider-hyperframes-local/src/provider.ts +62 -0
- package/packages/provider-hyperframes-local/src/render.ts +114 -0
- package/packages/provider-hyperframes-local/src/sampling.ts +89 -0
- package/packages/provider-hypihub/README.md +143 -0
- package/packages/provider-hypihub/package.json +26 -0
- package/packages/provider-hypihub/src/activation.ts +91 -0
- package/packages/provider-hypihub/src/index.ts +2 -0
- package/packages/provider-hypihub/src/mapping.ts +145 -0
- package/packages/provider-hypihub/src/oauth.ts +113 -0
- package/packages/provider-hypihub/src/provider.ts +566 -0
- package/packages/provider-hypihub/src/routes.ts +134 -0
- package/packages/provider-hypihub/src/upload.ts +402 -0
- package/packages/provider-image-opencv-local/README.md +16 -0
- package/packages/provider-image-opencv-local/package.json +27 -0
- package/packages/provider-image-opencv-local/runtime/raster_execute.py +299 -0
- package/packages/provider-image-opencv-local/src/activation.ts +61 -0
- package/packages/provider-image-opencv-local/src/deployment.ts +68 -0
- package/packages/provider-image-opencv-local/src/index.ts +2 -0
- package/packages/provider-image-opencv-local/src/program.ts +60 -0
- package/packages/provider-image-opencv-local/src/provider.ts +155 -0
- package/packages/provider-kie/README.md +134 -0
- package/packages/provider-kie/package.json +43 -0
- package/packages/provider-kie/src/activation.ts +71 -0
- package/packages/provider-kie/src/index.ts +10 -0
- package/packages/provider-kie/src/mapping.ts +182 -0
- package/packages/provider-kie/src/provider.ts +657 -0
- package/packages/provider-kie/src/routes.ts +150 -0
- package/packages/provider-media-local/README.md +58 -0
- package/packages/provider-media-local/package.json +28 -0
- package/packages/provider-media-local/src/activation.ts +65 -0
- package/packages/provider-media-local/src/index.ts +2 -0
- package/packages/provider-media-local/src/program.ts +19 -0
- package/packages/provider-media-local/src/provider.ts +150 -0
- package/packages/provider-whisperx-local/README.md +44 -0
- package/packages/provider-whisperx-local/package.json +27 -0
- package/packages/provider-whisperx-local/src/activation.ts +93 -0
- package/packages/provider-whisperx-local/src/index.ts +5 -0
- package/packages/provider-whisperx-local/src/program.ts +157 -0
- package/packages/provider-whisperx-local/src/provider.ts +191 -0
- package/packages/provider-xiaomi-mimo/README.md +32 -0
- package/packages/provider-xiaomi-mimo/package.json +24 -0
- package/packages/provider-xiaomi-mimo/src/activation.ts +57 -0
- package/packages/provider-xiaomi-mimo/src/index.ts +5 -0
- package/packages/provider-xiaomi-mimo/src/provider.ts +214 -0
- package/packages/ranking/README.md +67 -0
- package/packages/ranking/package.json +33 -0
- package/packages/ranking/preview/Column.svg +29 -0
- package/packages/ranking/preview/TierBoard.png +0 -0
- package/packages/ranking/preview/TierBoard.svg +36 -0
- package/packages/ranking/preview/TopThree.png +0 -0
- package/packages/ranking/src/activation.ts +38 -0
- package/packages/ranking/src/component.ts +271 -0
- package/packages/ranking/src/fragment.ts +206 -0
- package/packages/ranking/src/index.ts +26 -0
- package/packages/ranking/src/manifest.ts +807 -0
- package/packages/ranking/src/render.ts +698 -0
- package/packages/ranking/src/schedule.ts +895 -0
- package/packages/ranking/src/style.ts +272 -0
- package/packages/ranking/src/surface.ts +322 -0
- package/packages/ranking/src/tier.ts +176 -0
- package/packages/ranking/src/types.ts +277 -0
- package/packages/ranking-studio/README.md +3 -0
- package/packages/ranking-studio/package.json +14 -0
- package/packages/ranking-studio/src/activation.ts +7 -0
- package/packages/ranking-studio/src/index.ts +255 -0
- package/packages/raster/README.md +7 -0
- package/packages/raster/package.json +14 -0
- package/packages/raster/src/activation.ts +7 -0
- package/packages/raster/src/index.ts +7 -0
- package/packages/raster/src/manifest.ts +14 -0
- package/packages/raster/src/program.ts +128 -0
- package/packages/raster/src/schema.ts +53 -0
- package/packages/raster/src/types.ts +61 -0
- package/packages/render-hyperframes/README.md +58 -0
- package/packages/render-hyperframes/package.json +33 -0
- package/packages/render-hyperframes/src/activation.ts +18 -0
- package/packages/render-hyperframes/src/component.ts +37 -0
- package/packages/render-hyperframes/src/fragment.ts +73 -0
- package/packages/render-hyperframes/src/index.ts +6 -0
- package/packages/render-hyperframes/src/manifest.ts +100 -0
- package/packages/render-hyperframes/src/product.ts +29 -0
- package/packages/render-hyperframes/src/surface.ts +65 -0
- package/packages/resource-store-fs/README.md +13 -0
- package/packages/resource-store-fs/package.json +14 -0
- package/packages/resource-store-fs/src/index.ts +2 -0
- package/packages/resource-store-fs/src/store.ts +154 -0
- package/packages/resource-store-s3/README.md +15 -0
- package/packages/resource-store-s3/package.json +15 -0
- package/packages/resource-store-s3/src/client.ts +138 -0
- package/packages/resource-store-s3/src/index.ts +10 -0
- package/packages/resource-store-s3/src/store.ts +258 -0
- package/packages/run/README.md +23 -0
- package/packages/run/package.json +16 -0
- package/packages/run/src/candidate.ts +33 -0
- package/packages/run/src/facet.ts +59 -0
- package/packages/run/src/frontend-facet.ts +23 -0
- package/packages/run/src/frontend.ts +62 -0
- package/packages/run/src/graph.ts +65 -0
- package/packages/run/src/index.ts +33 -0
- package/packages/run/src/registry.ts +24 -0
- package/packages/run/src/resolve.ts +213 -0
- package/packages/run/src/types.ts +147 -0
- package/packages/run-markup/README.md +60 -0
- package/packages/run-markup/package.json +22 -0
- package/packages/run-markup/src/activation.ts +10 -0
- package/packages/run-markup/src/frontend.ts +16 -0
- package/packages/run-markup/src/index.ts +5 -0
- package/packages/run-markup/src/syntax.ts +304 -0
- package/packages/runtime/README.md +39 -0
- package/packages/runtime/package.json +15 -0
- package/packages/runtime/src/capacity.ts +51 -0
- package/packages/runtime/src/catalog.ts +30 -0
- package/packages/runtime/src/credentials.ts +124 -0
- package/packages/runtime/src/environment.ts +6 -0
- package/packages/runtime/src/execution.ts +125 -0
- package/packages/runtime/src/index.ts +24 -0
- package/packages/runtime/src/operations.ts +99 -0
- package/packages/runtime/src/scheduler.ts +281 -0
- package/packages/runtime/src/submission.ts +24 -0
- package/packages/runtime/src/types.ts +157 -0
- package/packages/runtime-host-node/README.md +25 -0
- package/packages/runtime-host-node/package.json +19 -0
- package/packages/runtime-host-node/src/index.ts +421 -0
- package/packages/runtime-host-node/src/packages.ts +158 -0
- package/packages/runtime-kit/README.md +42 -0
- package/packages/runtime-kit/package.json +16 -0
- package/packages/runtime-kit/src/index.ts +307 -0
- package/packages/runtime-kit/src/request-deadline.ts +17 -0
- package/packages/runtime-local/README.md +119 -0
- package/packages/runtime-local/package.json +33 -0
- package/packages/runtime-local/src/actions.ts +20 -0
- package/packages/runtime-local/src/config.ts +1229 -0
- package/packages/runtime-local/src/control.ts +120 -0
- package/packages/runtime-local/src/credentials.ts +61 -0
- package/packages/runtime-local/src/host.ts +174 -0
- package/packages/runtime-local/src/index.ts +36 -0
- package/packages/runtime-local/src/process-control.ts +59 -0
- package/packages/runtime-local/src/process-logs.ts +33 -0
- package/packages/runtime-local/src/programs.ts +441 -0
- package/packages/runtime-local/src/result-writer.ts +246 -0
- package/packages/runtime-local/src/runtime.ts +342 -0
- package/packages/runtime-local/src/types.ts +100 -0
- package/packages/runtime-local/src/worker-process.ts +343 -0
- package/packages/runtime-local/src/worker.ts +449 -0
- package/packages/screen-overlay/README.md +17 -0
- package/packages/screen-overlay/package.json +31 -0
- package/packages/screen-overlay/preview/Track.png +0 -0
- package/packages/screen-overlay/src/activation.ts +15 -0
- package/packages/screen-overlay/src/component.ts +20 -0
- package/packages/screen-overlay/src/fragment.ts +40 -0
- package/packages/screen-overlay/src/index.ts +7 -0
- package/packages/screen-overlay/src/manifest.ts +305 -0
- package/packages/screen-overlay/src/program.ts +321 -0
- package/packages/screen-overlay/src/surface.ts +90 -0
- package/packages/screen-overlay/src/types.ts +69 -0
- package/packages/screen-overlay-studio/README.md +3 -0
- package/packages/screen-overlay-studio/package.json +14 -0
- package/packages/screen-overlay-studio/src/activation.ts +7 -0
- package/packages/screen-overlay-studio/src/index.ts +80 -0
- package/packages/script/README.md +137 -0
- package/packages/script/package.json +22 -0
- package/packages/script/src/activation.ts +20 -0
- package/packages/script/src/edit.ts +174 -0
- package/packages/script/src/error.ts +13 -0
- package/packages/script/src/format.ts +83 -0
- package/packages/script/src/index.ts +20 -0
- package/packages/script/src/lexical.ts +133 -0
- package/packages/script/src/manifest.ts +95 -0
- package/packages/script/src/narrative.ts +232 -0
- package/packages/script/src/parser.ts +850 -0
- package/packages/script/src/surface.ts +132 -0
- package/packages/script/src/types.ts +125 -0
- package/packages/script-studio/package.json +13 -0
- package/packages/script-studio/src/activation.ts +8 -0
- package/packages/script-studio/src/index.ts +61 -0
- package/packages/seedance/README.md +19 -0
- package/packages/seedance/package.json +22 -0
- package/packages/seedance/src/activation.ts +38 -0
- package/packages/seedance/src/fragment.ts +46 -0
- package/packages/seedance/src/index.ts +329 -0
- package/packages/seedance/src/surface.ts +355 -0
- package/packages/seedance-kits/README.md +153 -0
- package/packages/seedance-kits/kits/broll-v1.svs +52 -0
- package/packages/seedance-kits/kits/call-v1.svs +55 -0
- package/packages/seedance-kits/kits/camera-reference-v1.svs +9 -0
- package/packages/seedance-kits/kits/motion-reference-v1.svs +9 -0
- package/packages/seedance-kits/kits/podcast-v1.svs +55 -0
- package/packages/seedance-kits/kits/speaker-v1.svs +136 -0
- package/packages/seedance-kits/kits/street-interview-v1.svs +49 -0
- package/packages/seedance-kits/package.json +24 -0
- package/packages/seedream/README.md +21 -0
- package/packages/seedream/package.json +21 -0
- package/packages/seedream/src/activation.ts +12 -0
- package/packages/seedream/src/index.ts +162 -0
- package/packages/seedream/src/surface.ts +84 -0
- package/packages/semantic-take-adjust/package.json +21 -0
- package/packages/semantic-take-adjust/src/activation.ts +22 -0
- package/packages/semantic-take-adjust/src/component.ts +31 -0
- package/packages/semantic-take-adjust/src/fragment.ts +24 -0
- package/packages/semantic-take-adjust/src/index.ts +12 -0
- package/packages/semantic-take-adjust/src/manifest.ts +57 -0
- package/packages/semantic-take-adjust/src/program.ts +49 -0
- package/packages/semantic-take-adjust/src/surface.ts +96 -0
- package/packages/semantic-take-adjust/src/types.ts +9 -0
- package/packages/semantic-track/README.md +21 -0
- package/packages/semantic-track/package.json +22 -0
- package/packages/semantic-track/src/activation.ts +8 -0
- package/packages/semantic-track/src/component.ts +24 -0
- package/packages/semantic-track/src/identity.ts +58 -0
- package/packages/semantic-track/src/index.ts +6 -0
- package/packages/semantic-track/src/location.ts +81 -0
- package/packages/semantic-track/src/manifest.ts +38 -0
- package/packages/semantic-track/src/projection.ts +71 -0
- package/packages/semantic-track/src/types.ts +26 -0
- package/packages/source/README.md +13 -0
- package/packages/source/package.json +13 -0
- package/packages/source/src/header.ts +80 -0
- package/packages/source/src/index.ts +17 -0
- package/packages/source/src/unit.ts +38 -0
- package/packages/spatial/README.md +77 -0
- package/packages/spatial/package.json +24 -0
- package/packages/spatial/src/activation.ts +43 -0
- package/packages/spatial/src/author.ts +59 -0
- package/packages/spatial/src/component.ts +45 -0
- package/packages/spatial/src/fragment.ts +36 -0
- package/packages/spatial/src/geometry.ts +238 -0
- package/packages/spatial/src/index.ts +37 -0
- package/packages/spatial/src/manifest.ts +341 -0
- package/packages/spatial/src/region-timeline.ts +69 -0
- package/packages/spatial/src/schema.ts +47 -0
- package/packages/spatial/src/surface.ts +319 -0
- package/packages/spatial/src/types.ts +101 -0
- package/packages/speech/README.md +16 -0
- package/packages/speech/package.json +19 -0
- package/packages/speech/src/activation.ts +7 -0
- package/packages/speech/src/component.ts +43 -0
- package/packages/speech/src/identity.ts +73 -0
- package/packages/speech/src/index.ts +6 -0
- package/packages/speech/src/manifest.ts +30 -0
- package/packages/speech/src/materialize.ts +103 -0
- package/packages/speech/src/schema.ts +42 -0
- package/packages/speech/src/types.ts +54 -0
- package/packages/speech-alignment/README.md +29 -0
- package/packages/speech-alignment/package.json +25 -0
- package/packages/speech-alignment/src/activation.ts +8 -0
- package/packages/speech-alignment/src/align.ts +235 -0
- package/packages/speech-alignment/src/component.ts +37 -0
- package/packages/speech-alignment/src/error.ts +9 -0
- package/packages/speech-alignment/src/index.ts +7 -0
- package/packages/speech-alignment/src/local.ts +64 -0
- package/packages/speech-alignment/src/locate.ts +473 -0
- package/packages/speech-alignment/src/manifest.ts +37 -0
- package/packages/speech-alignment/src/normalize.ts +79 -0
- package/packages/speech-alignment/src/types.ts +30 -0
- package/packages/speech-evidence/README.md +3 -0
- package/packages/speech-evidence/package.json +16 -0
- package/packages/speech-evidence/src/activation.ts +3 -0
- package/packages/speech-evidence/src/index.ts +102 -0
- package/packages/speech-track/README.md +51 -0
- package/packages/speech-track/package.json +28 -0
- package/packages/speech-track/preview/Track.png +0 -0
- package/packages/speech-track/src/activation.ts +19 -0
- package/packages/speech-track/src/component.ts +45 -0
- package/packages/speech-track/src/fragment.ts +74 -0
- package/packages/speech-track/src/index.ts +7 -0
- package/packages/speech-track/src/manifest.ts +73 -0
- package/packages/speech-track/src/program.ts +64 -0
- package/packages/speech-track/src/surface.ts +35 -0
- package/packages/speech-track/src/types.ts +6 -0
- package/packages/speech-track-studio/README.md +3 -0
- package/packages/speech-track-studio/package.json +14 -0
- package/packages/speech-track-studio/src/activation.ts +7 -0
- package/packages/speech-track-studio/src/index.ts +40 -0
- package/packages/store-sqlite/README.md +14 -0
- package/packages/store-sqlite/package.json +18 -0
- package/packages/store-sqlite/src/index.ts +2 -0
- package/packages/store-sqlite/src/store.ts +1101 -0
- package/packages/studio/README.md +125 -0
- package/packages/studio/index.html +10 -0
- package/packages/studio/package.json +50 -0
- package/packages/studio/src/build-library.ts +281 -0
- package/packages/studio/src/companion-assembly.ts +39 -0
- package/packages/studio/src/compile.ts +166 -0
- package/packages/studio/src/domain.ts +139 -0
- package/packages/studio/src/execute.ts +57 -0
- package/packages/studio/src/fallback-companions.ts +98 -0
- package/packages/studio/src/observe.ts +202 -0
- package/packages/studio/src/parameter-values.ts +81 -0
- package/packages/studio/src/parameters.ts +550 -0
- package/packages/studio/src/preview/render.ts +51 -0
- package/packages/studio/src/preview/runtime-shim.ts +184 -0
- package/packages/studio/src/programme.ts +276 -0
- package/packages/studio/src/run.ts +85 -0
- package/packages/studio/src/server.ts +725 -0
- package/packages/studio/src/session.ts +111 -0
- package/packages/studio/src/shared.ts +315 -0
- package/packages/studio/src/snapshot.ts +454 -0
- package/packages/studio/src/source-transaction.ts +57 -0
- package/packages/studio/src/storyboard.ts +133 -0
- package/packages/studio/src/studio-preflight.ts +198 -0
- package/packages/studio/src/studio-registry.ts +406 -0
- package/packages/studio/src/studio-trace.ts +136 -0
- package/packages/studio/src/style.css +1525 -0
- package/packages/studio/src/surface-preview.ts +35 -0
- package/packages/studio/src/temporal-graph.ts +227 -0
- package/packages/studio/src/ui/code.ts +450 -0
- package/packages/studio/src/ui/icons.ts +51 -0
- package/packages/studio/src/ui/library.ts +378 -0
- package/packages/studio/src/ui/main.ts +1001 -0
- package/packages/studio/src/ui/markers.ts +152 -0
- package/packages/studio/src/ui/material-preview.ts +176 -0
- package/packages/studio/src/ui/overlay.ts +144 -0
- package/packages/studio/src/ui/resize.ts +74 -0
- package/packages/studio/src/ui/selection.ts +178 -0
- package/packages/studio/src/ui/stage.ts +231 -0
- package/packages/studio/src/ui/syntax.ts +195 -0
- package/packages/studio/src/ui/timeline.ts +1041 -0
- package/packages/studio/src/ui/writeback.ts +10 -0
- package/packages/studio/src/ui/zoom.ts +129 -0
- package/packages/studio/start.ts +143 -0
- package/packages/studio-adapter/README.md +186 -0
- package/packages/studio-adapter/package.json +14 -0
- package/packages/studio-adapter/src/index.ts +850 -0
- package/packages/svs/README.md +37 -0
- package/packages/svs/package.json +21 -0
- package/packages/svs/src/activation.ts +11 -0
- package/packages/svs/src/format.ts +16 -0
- package/packages/svs/src/frontend.ts +33 -0
- package/packages/svs/src/index.ts +5 -0
- package/packages/svs/src/manifest.ts +17 -0
- package/packages/svs/src/parser.ts +279 -0
- package/packages/svs/src/types.ts +26 -0
- package/packages/temporal/README.md +31 -0
- package/packages/temporal/package.json +20 -0
- package/packages/temporal/src/activation.ts +9 -0
- package/packages/temporal/src/component.ts +68 -0
- package/packages/temporal/src/index.ts +110 -0
- package/packages/temporal/src/location.ts +67 -0
- package/packages/temporal/src/projection.ts +280 -0
- package/packages/temporal/src/rational.ts +80 -0
- package/packages/temporal/src/sample.ts +43 -0
- package/packages/temporal/src/schedule.ts +52 -0
- package/packages/temporal/src/types.ts +124 -0
- package/packages/temporal-markup/README.md +75 -0
- package/packages/temporal-markup/package.json +18 -0
- package/packages/temporal-markup/src/index.ts +537 -0
- package/packages/temporal-markup/src/space.ts +59 -0
- package/packages/text/README.md +59 -0
- package/packages/text/package.json +21 -0
- package/packages/text/src/activation.ts +33 -0
- package/packages/text/src/component.ts +72 -0
- package/packages/text/src/fragment.ts +57 -0
- package/packages/text/src/frontend.ts +39 -0
- package/packages/text/src/index.ts +27 -0
- package/packages/text/src/manifest.ts +170 -0
- package/packages/text/src/program.ts +418 -0
- package/packages/text/src/surface.ts +212 -0
- package/packages/text/src/svs.ts +189 -0
- package/packages/text/src/types.ts +82 -0
- package/packages/transport-aws-lambda/README.md +20 -0
- package/packages/transport-aws-lambda/package.json +14 -0
- package/packages/transport-aws-lambda/src/index.ts +131 -0
- package/packages/typography-track/README.md +50 -0
- package/packages/typography-track/package.json +34 -0
- package/packages/typography-track/preview/Mask.png +0 -0
- package/packages/typography-track/preview/Track.png +0 -0
- package/packages/typography-track/src/activation.ts +36 -0
- package/packages/typography-track/src/component.ts +93 -0
- package/packages/typography-track/src/fragment.ts +30 -0
- package/packages/typography-track/src/index.ts +11 -0
- package/packages/typography-track/src/manifest.ts +556 -0
- package/packages/typography-track/src/program.ts +622 -0
- package/packages/typography-track/src/surface.ts +842 -0
- package/packages/typography-track/src/types.ts +109 -0
- package/packages/typography-track-studio/README.md +3 -0
- package/packages/typography-track-studio/package.json +14 -0
- package/packages/typography-track-studio/src/activation.ts +7 -0
- package/packages/typography-track-studio/src/index.ts +116 -0
- package/packages/validation/README.md +11 -0
- package/packages/validation/package.json +15 -0
- package/packages/validation/src/index.ts +100 -0
- package/packages/video-cli/README.md +181 -0
- package/packages/video-cli/package.json +37 -0
- package/packages/video-cli/src/capture.ts +174 -0
- package/packages/video-cli/src/cli.ts +109 -0
- package/packages/video-cli/src/compiler.ts +32 -0
- package/packages/video-cli/src/creation.ts +449 -0
- package/packages/video-cli/src/distribution.ts +88 -0
- package/packages/video-cli/src/index.ts +50 -0
- package/packages/video-cli/src/media.ts +701 -0
- package/packages/video-cli/src/package-selection.ts +34 -0
- package/packages/video-cli/src/process.ts +71 -0
- package/packages/video-cli/src/studio-distribution.ts +19 -0
- package/packages/video-cli/src/transcript.ts +71 -0
- package/packages/video-cli/src/vocabulary.ts +386 -0
- package/packages/visual-ir/README.md +36 -0
- package/packages/visual-ir/package.json +16 -0
- package/packages/visual-ir/src/activation.ts +3 -0
- package/packages/visual-ir/src/index.ts +7 -0
- package/packages/visual-ir/src/style.ts +222 -0
- package/packages/volcengine-matting/README.md +89 -0
- package/packages/volcengine-matting/package.json +16 -0
- package/packages/volcengine-matting/src/activation.ts +13 -0
- package/packages/volcengine-matting/src/index.ts +45 -0
- package/packages/volcengine-matting/src/surface.ts +48 -0
- package/packages/whisperx/README.md +34 -0
- package/packages/whisperx/package.json +28 -0
- package/packages/whisperx/src/activation.ts +18 -0
- package/packages/whisperx/src/component.ts +64 -0
- package/packages/whisperx/src/evidence.ts +69 -0
- package/packages/whisperx/src/fragment.ts +76 -0
- package/packages/whisperx/src/index.ts +14 -0
- package/packages/whisperx/src/manifest.ts +92 -0
- package/packages/whisperx/src/surface.ts +90 -0
- package/packages/whisperx/src/transcript.ts +97 -0
- package/packages/whisperx/src/types.ts +9 -0
- package/packages/workspace/README.md +4 -0
- package/packages/workspace/package.json +14 -0
- package/packages/workspace/src/index.ts +38 -0
- package/packages/workspace-fs-node/README.md +13 -0
- package/packages/workspace-fs-node/package.json +15 -0
- package/packages/workspace-fs-node/src/index.ts +6 -0
- package/packages/workspace-fs-node/src/workspace.ts +226 -0
- package/packages/yt-dlp/README.md +31 -0
- package/packages/yt-dlp/package.json +10 -0
- package/packages/yt-dlp/src/download.ts +104 -0
- package/packages/yt-dlp/src/index.ts +1 -0
- package/services/image-opencv/README.md +33 -0
- package/services/image-opencv/package.json +14 -0
- package/services/image-opencv/pyproject.toml +13 -0
- package/services/image-opencv/uv.lock +56 -0
- package/services/whisperx/README.md +82 -0
- package/services/whisperx/package.json +15 -0
- package/services/whisperx/pyproject.toml +26 -0
- package/services/whisperx/src/hypit_whisperx_service/__init__.py +6 -0
- package/services/whisperx/src/hypit_whisperx_service/__main__.py +29 -0
- package/services/whisperx/src/hypit_whisperx_service/application.py +88 -0
- package/services/whisperx/src/hypit_whisperx_service/audio.py +66 -0
- package/services/whisperx/src/hypit_whisperx_service/check.py +35 -0
- package/services/whisperx/src/hypit_whisperx_service/config.py +81 -0
- package/services/whisperx/src/hypit_whisperx_service/engine.py +173 -0
- package/services/whisperx/src/hypit_whisperx_service/prepare.py +19 -0
- package/services/whisperx/src/hypit_whisperx_service/resources.py +41 -0
- package/services/whisperx/src/hypit_whisperx_service/server.py +101 -0
- package/services/whisperx/uv.lock +3381 -0
- package/services/yt-dlp/README.md +19 -0
- package/services/yt-dlp/package.json +14 -0
- package/services/yt-dlp/pyproject.toml +13 -0
- package/services/yt-dlp/uv.lock +23 -0
- package/index.js +0 -1
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { spawn } from "node:child_process";
|
|
2
|
+
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
3
|
+
import { join, resolve } from "node:path";
|
|
4
|
+
|
|
5
|
+
export type RegistryPackageSpec = {
|
|
6
|
+
readonly name: string;
|
|
7
|
+
readonly version: string;
|
|
8
|
+
readonly specifier: string;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export type HostPackageReport = RegistryPackageSpec & {
|
|
12
|
+
readonly root: string;
|
|
13
|
+
readonly action: "already-installed" | "installed";
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export type HostPackageProgress = RegistryPackageSpec & {
|
|
17
|
+
readonly phase: "checking" | "installing" | "ready";
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
function exactVersion(value: string): boolean {
|
|
21
|
+
return /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/u.test(value);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** Registry packages are pinned by version; npm owns their files and dependency graph. */
|
|
25
|
+
export function parseRegistryPackageSpec(specifier: string): RegistryPackageSpec {
|
|
26
|
+
const value = specifier.trim();
|
|
27
|
+
const slash = value.startsWith("@") ? value.indexOf("/", 1) : -1;
|
|
28
|
+
const at = value.lastIndexOf("@");
|
|
29
|
+
const split = value.startsWith("@") ? (at > slash ? at : -1) : at;
|
|
30
|
+
const name = split > 0 ? value.slice(0, split) : "";
|
|
31
|
+
const version = split > 0 ? value.slice(split + 1) : "";
|
|
32
|
+
if (name.length === 0 || name.startsWith("@hypit/") || !exactVersion(version)) {
|
|
33
|
+
throw new Error(
|
|
34
|
+
`${specifier} must name one external npm registry package at an exact version, for example hyperframes@0.7.101`,
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
if (name.startsWith("@") && (slash < 2 || slash >= name.length - 1)) {
|
|
38
|
+
throw new Error(`${specifier} is not a valid scoped npm package specifier`);
|
|
39
|
+
}
|
|
40
|
+
if (!name.startsWith("@") && !/^[a-z0-9][a-z0-9._-]*$/u.test(name)) {
|
|
41
|
+
throw new Error(`${specifier} is not a valid npm package specifier`);
|
|
42
|
+
}
|
|
43
|
+
return { name, version, specifier: `${name}@${version}` };
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
async function installedVersion(root: string, name: string): Promise<string | undefined> {
|
|
47
|
+
try {
|
|
48
|
+
const manifest = JSON.parse(await readFile(
|
|
49
|
+
join(root, "node_modules", ...name.split("/"), "package.json"),
|
|
50
|
+
"utf8",
|
|
51
|
+
)) as { readonly name?: unknown; readonly version?: unknown };
|
|
52
|
+
return manifest.name === name && typeof manifest.version === "string"
|
|
53
|
+
? manifest.version
|
|
54
|
+
: undefined;
|
|
55
|
+
} catch (error) {
|
|
56
|
+
if (error instanceof Error && "code" in error && error.code === "ENOENT") return undefined;
|
|
57
|
+
throw error;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export async function inspectHostPackage(
|
|
62
|
+
specifier: string,
|
|
63
|
+
root: string,
|
|
64
|
+
): Promise<HostPackageReport | undefined> {
|
|
65
|
+
const required = parseRegistryPackageSpec(specifier);
|
|
66
|
+
const version = await installedVersion(resolve(root), required.name);
|
|
67
|
+
return version === required.version
|
|
68
|
+
? { ...required, root: resolve(root), action: "already-installed" }
|
|
69
|
+
: undefined;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function runNpm(root: string, specifiers: readonly string[]): Promise<void> {
|
|
73
|
+
const npmArgs = [
|
|
74
|
+
"install",
|
|
75
|
+
"--prefix", root,
|
|
76
|
+
"--save-exact",
|
|
77
|
+
"--package-lock=false",
|
|
78
|
+
"--no-audit",
|
|
79
|
+
"--no-fund",
|
|
80
|
+
"--omit=dev",
|
|
81
|
+
...specifiers,
|
|
82
|
+
];
|
|
83
|
+
const windows = process.platform === "win32";
|
|
84
|
+
const command = windows ? (process.env.ComSpec ?? "cmd.exe") : "npm";
|
|
85
|
+
const args = windows ? ["/d", "/s", "/c", "npm.cmd", ...npmArgs] : npmArgs;
|
|
86
|
+
return new Promise((done, reject) => {
|
|
87
|
+
const child = spawn(command, args, {
|
|
88
|
+
shell: false,
|
|
89
|
+
windowsHide: true,
|
|
90
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
91
|
+
});
|
|
92
|
+
let output = "";
|
|
93
|
+
child.stdout.on("data", (chunk: Buffer) => { output = `${output}${chunk.toString()}`.slice(-32_000); });
|
|
94
|
+
child.stderr.on("data", (chunk: Buffer) => { output = `${output}${chunk.toString()}`.slice(-32_000); });
|
|
95
|
+
child.on("error", reject);
|
|
96
|
+
child.on("close", (code) => {
|
|
97
|
+
if (code === 0) done();
|
|
98
|
+
else reject(new Error(`npm install failed${output.trim().length === 0 ? "" : `: ${output.trim().split("\n").at(-1)}`}`));
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Install missing upstream packages into one user/machine npm home.
|
|
105
|
+
* npm's ordinary package.json is the only persistent package-set record; Hypit
|
|
106
|
+
* creates no lock, receipt, hash inventory or project-local copy.
|
|
107
|
+
*/
|
|
108
|
+
export async function prepareHostPackages(
|
|
109
|
+
specifiers: readonly string[],
|
|
110
|
+
options: {
|
|
111
|
+
readonly root: string;
|
|
112
|
+
readonly onProgress?: (event: HostPackageProgress) => void;
|
|
113
|
+
},
|
|
114
|
+
): Promise<readonly HostPackageReport[]> {
|
|
115
|
+
const root = resolve(options.root);
|
|
116
|
+
const byName = new Map<string, RegistryPackageSpec>();
|
|
117
|
+
for (const specifier of specifiers) {
|
|
118
|
+
const parsed = parseRegistryPackageSpec(specifier);
|
|
119
|
+
const previous = byName.get(parsed.name);
|
|
120
|
+
if (previous !== undefined && previous.version !== parsed.version) {
|
|
121
|
+
throw new Error(`${parsed.name} is required at both ${previous.version} and ${parsed.version}`);
|
|
122
|
+
}
|
|
123
|
+
byName.set(parsed.name, parsed);
|
|
124
|
+
}
|
|
125
|
+
const required = [...byName.values()].sort((left, right) => left.name.localeCompare(right.name));
|
|
126
|
+
const missing: RegistryPackageSpec[] = [];
|
|
127
|
+
for (const item of required) {
|
|
128
|
+
options.onProgress?.({ ...item, phase: "checking" });
|
|
129
|
+
if (await installedVersion(root, item.name) !== item.version) missing.push(item);
|
|
130
|
+
}
|
|
131
|
+
if (missing.length > 0) {
|
|
132
|
+
await mkdir(root, { recursive: true });
|
|
133
|
+
try {
|
|
134
|
+
await readFile(join(root, "package.json"), "utf8");
|
|
135
|
+
} catch (error) {
|
|
136
|
+
if (!(error instanceof Error && "code" in error && error.code === "ENOENT")) throw error;
|
|
137
|
+
await writeFile(join(root, "package.json"), `${JSON.stringify({
|
|
138
|
+
name: "hypit-machine-packages",
|
|
139
|
+
private: true,
|
|
140
|
+
description: "Upstream npm packages used on demand by Hypit",
|
|
141
|
+
dependencies: {},
|
|
142
|
+
}, null, 2)}\n`, "utf8");
|
|
143
|
+
}
|
|
144
|
+
for (const item of missing) options.onProgress?.({ ...item, phase: "installing" });
|
|
145
|
+
await runNpm(root, missing.map((item) => item.specifier));
|
|
146
|
+
}
|
|
147
|
+
const installed = new Set(missing.map((item) => item.name));
|
|
148
|
+
const reports: HostPackageReport[] = [];
|
|
149
|
+
for (const item of required) {
|
|
150
|
+
const version = await installedVersion(root, item.name);
|
|
151
|
+
if (version !== item.version) {
|
|
152
|
+
throw new Error(`npm did not install ${item.specifier} into ${root}`);
|
|
153
|
+
}
|
|
154
|
+
options.onProgress?.({ ...item, phase: "ready" });
|
|
155
|
+
reports.push({ ...item, root, action: installed.has(item.name) ? "installed" : "already-installed" });
|
|
156
|
+
}
|
|
157
|
+
return reports;
|
|
158
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# `@hypit/hypit/runtime-kit`
|
|
2
|
+
|
|
3
|
+
Host facets for the two environmental choices a Local Runtime Profile may select:
|
|
4
|
+
|
|
5
|
+
* an Endpoint implements external capabilities;
|
|
6
|
+
* a Credential Store resolves explicit credential references.
|
|
7
|
+
|
|
8
|
+
External packages use this public subpath from their `@hypit/hypit` development dependency. The built
|
|
9
|
+
package's `hypit.activation` entry exports a default package contribution with
|
|
10
|
+
`format: "hypit.node-package@1"` and the declared `hostFacets`.
|
|
11
|
+
|
|
12
|
+
For a Provider, `createRuntimeEndpointAdapterFacet({ use, activate })` advertises its owner-scoped
|
|
13
|
+
package name. `activate(context)` reads `instance`, `pool`, and the package's own `config`, then
|
|
14
|
+
returns `{ endpoint }` from `defineEndpointPackage`; it can also return `program` and `diagnose`.
|
|
15
|
+
The configuration helpers parse values and CredentialRefs. Activation describes the deployment;
|
|
16
|
+
credential resolution, remote invocation, and Managed Program startup happen through their Runtime
|
|
17
|
+
operations. Installing the same package in another project preserves its `use` name.
|
|
18
|
+
|
|
19
|
+
```json
|
|
20
|
+
{
|
|
21
|
+
"endpoints": {
|
|
22
|
+
"art.personal": {
|
|
23
|
+
"use": "@studio/provider-art",
|
|
24
|
+
"config": { "apiKey": { "store": "os", "key": "art.personal" } }
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
This is a Profile fragment: the Provider defines its actual config fields, and the complete Profile
|
|
31
|
+
selects the `os` Credential Store as well. Separate instances can use separate accounts. A binding
|
|
32
|
+
names the chosen instance when several offer the same capability. The default pool identity is the
|
|
33
|
+
instance; declare a shared pool only for a real shared account, deployment, or compute quota.
|
|
34
|
+
|
|
35
|
+
Each adapter is addressed by its kind and `use` name. A package advertises that name through a Host
|
|
36
|
+
facet; the Runtime Profile selects it explicitly. Installing a package does not activate it.
|
|
37
|
+
|
|
38
|
+
Endpoint activation returns one Endpoint and may also describe a Managed Program such as a warm local
|
|
39
|
+
WhisperX process. Credential adapters validate configuration before opening a store. Active Resource
|
|
40
|
+
storage belongs to the Runtime implementation, while project Build Result repositories use the
|
|
41
|
+
separate `@hypit/build-result-kit` boundary. Runtime Kit knows no Provider, filesystem, database or
|
|
42
|
+
video package by name.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hypit/runtime-kit",
|
|
3
|
+
"version": "0.0.0-dev",
|
|
4
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
5
|
+
"private": true,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./src/index.ts"
|
|
9
|
+
},
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@hypit/endpoint-kit": "workspace:*",
|
|
12
|
+
"@hypit/host": "workspace:*",
|
|
13
|
+
"@hypit/protocol": "workspace:*",
|
|
14
|
+
"@hypit/runtime": "workspace:*"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
import { endpointActions } from "@hypit/endpoint-kit";
|
|
2
|
+
import type { EndpointPackage } from "@hypit/endpoint-kit";
|
|
3
|
+
import type { HostFacet } from "@hypit/host";
|
|
4
|
+
import type { CanonicalValue } from "@hypit/protocol";
|
|
5
|
+
import { credentialRef } from "@hypit/runtime";
|
|
6
|
+
import type { CredentialRef, CredentialStore, CredentialValue } from "@hypit/runtime";
|
|
7
|
+
|
|
8
|
+
export const runtimeEndpointAdapterHostAbi = "hypit.runtime-endpoint-adapter-host@1";
|
|
9
|
+
export const runtimeCredentialStoreAdapterHostAbi = "hypit.runtime-credential-store-adapter-host@1";
|
|
10
|
+
|
|
11
|
+
export type RuntimeAdapterKind = "endpoint" | "credential-store";
|
|
12
|
+
|
|
13
|
+
type RuntimeAdapterAddress = {
|
|
14
|
+
readonly use: string;
|
|
15
|
+
readonly kind: RuntimeAdapterKind;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export type RuntimeAdapterFactoryContext = {
|
|
19
|
+
/** Persistent machine/user state supplied by the Host, outside every author project. */
|
|
20
|
+
readonly hostStateRoot: string;
|
|
21
|
+
/** Runtime/Profile state belonging to this project. */
|
|
22
|
+
readonly dataRoot: string;
|
|
23
|
+
readonly instance: string;
|
|
24
|
+
readonly pool?: string;
|
|
25
|
+
readonly config: CanonicalValue;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export type RuntimeDoctorDiagnostic = {
|
|
29
|
+
readonly severity: "error" | "warning" | "info";
|
|
30
|
+
readonly code: string;
|
|
31
|
+
readonly message: string;
|
|
32
|
+
readonly subject?: string;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export type ManagedProgramCommand = {
|
|
36
|
+
readonly command: string;
|
|
37
|
+
readonly args: readonly string[];
|
|
38
|
+
readonly cwd?: string;
|
|
39
|
+
readonly env?: Readonly<Record<string, string>>;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export type ManagedProgramInstallation = {
|
|
43
|
+
/** Truthful inspection of the installed program; no installer-owned receipt. */
|
|
44
|
+
probe(): Promise<ManagedProgramState>;
|
|
45
|
+
/** Commands run only when the installation probe is not ready. */
|
|
46
|
+
readonly commands: readonly ManagedProgramCommand[];
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export type ManagedProgramState =
|
|
50
|
+
| { readonly state: "ready" }
|
|
51
|
+
| { readonly state: "down"; readonly detail: string }
|
|
52
|
+
| { readonly state: "mismatch"; readonly detail: string };
|
|
53
|
+
|
|
54
|
+
export type ManagedProgram = {
|
|
55
|
+
readonly id: string;
|
|
56
|
+
/** Shared lifecycle files live here; absent means this Runtime owns them. */
|
|
57
|
+
readonly stateRoot?: string;
|
|
58
|
+
/** Installation and runtime readiness are deliberately separate states. */
|
|
59
|
+
readonly installation?: ManagedProgramInstallation;
|
|
60
|
+
probe(): Promise<ManagedProgramState>;
|
|
61
|
+
readonly start?: ManagedProgramCommand;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export type RuntimeEndpointActivation = {
|
|
65
|
+
readonly endpoint: EndpointPackage;
|
|
66
|
+
readonly program?: ManagedProgram;
|
|
67
|
+
readonly diagnose?: (context: {
|
|
68
|
+
readonly credentials: Readonly<Record<string, CredentialValue>>;
|
|
69
|
+
readonly capabilities?: readonly import("@hypit/protocol").CapabilityRef[];
|
|
70
|
+
}) => readonly RuntimeDoctorDiagnostic[] | Promise<readonly RuntimeDoctorDiagnostic[]>;
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
export type RuntimeOpened<T> = {
|
|
74
|
+
readonly value: T;
|
|
75
|
+
readonly close?: () => void | Promise<void>;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export type RuntimeEndpointAdapterImplementation = {
|
|
79
|
+
activate(context: RuntimeAdapterFactoryContext): RuntimeEndpointActivation | Promise<RuntimeEndpointActivation>;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
type RuntimeStoreAdapterImplementation<T> = {
|
|
83
|
+
validate(context: RuntimeAdapterFactoryContext): void;
|
|
84
|
+
open(context: RuntimeAdapterFactoryContext): RuntimeOpened<T> | Promise<RuntimeOpened<T>>;
|
|
85
|
+
doctor?(context: RuntimeAdapterFactoryContext): readonly RuntimeDoctorDiagnostic[] | Promise<readonly RuntimeDoctorDiagnostic[]>;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
type RuntimeAdapterImplementation =
|
|
89
|
+
| RuntimeEndpointAdapterImplementation
|
|
90
|
+
| RuntimeStoreAdapterImplementation<CredentialStore>;
|
|
91
|
+
|
|
92
|
+
export type RuntimeAdapterHostFacet = HostFacet & {
|
|
93
|
+
readonly abi:
|
|
94
|
+
| typeof runtimeEndpointAdapterHostAbi
|
|
95
|
+
| typeof runtimeCredentialStoreAdapterHostAbi;
|
|
96
|
+
readonly implementation: RuntimeAdapterImplementation;
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
function assert(condition: unknown, message: string): asserts condition {
|
|
100
|
+
if (!condition) throw new Error(message);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
function abiFor(kind: RuntimeAdapterKind): RuntimeAdapterHostFacet["abi"] {
|
|
104
|
+
if (kind === "endpoint") return runtimeEndpointAdapterHostAbi;
|
|
105
|
+
return runtimeCredentialStoreAdapterHostAbi;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
function address(facet: RuntimeAdapterHostFacet): RuntimeAdapterAddress {
|
|
109
|
+
const kind = facet.abi === runtimeEndpointAdapterHostAbi
|
|
110
|
+
? "endpoint"
|
|
111
|
+
: facet.abi === runtimeCredentialStoreAdapterHostAbi ? "credential-store" : undefined;
|
|
112
|
+
assert(kind !== undefined, `Runtime Adapter ${facet.abi} ABI is unsupported`);
|
|
113
|
+
assert(facet.offers?.length === 1 && facet.offers[0]!.trim().length > 0,
|
|
114
|
+
"Runtime Adapter must offer exactly one non-empty use name");
|
|
115
|
+
return { use: facet.offers[0]!, kind };
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
function verifyImplementation(value: unknown, subject: string, kind: RuntimeAdapterKind): RuntimeAdapterImplementation {
|
|
119
|
+
assert(value !== null && typeof value === "object", `${subject} implementation is not an object`);
|
|
120
|
+
if (kind === "endpoint") {
|
|
121
|
+
assert(typeof (value as { activate?: unknown }).activate === "function", `${subject} does not implement activate()`);
|
|
122
|
+
return value as RuntimeEndpointAdapterImplementation;
|
|
123
|
+
}
|
|
124
|
+
assert(typeof (value as { validate?: unknown }).validate === "function", `${subject} does not implement validate()`);
|
|
125
|
+
assert(typeof (value as { open?: unknown }).open === "function", `${subject} does not implement open()`);
|
|
126
|
+
const doctor = (value as { doctor?: unknown }).doctor;
|
|
127
|
+
assert(doctor === undefined || typeof doctor === "function", `${subject}.doctor must be a function`);
|
|
128
|
+
return value as RuntimeAdapterImplementation;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
function storeFacet<T>(kind: "credential-store", options: {
|
|
132
|
+
readonly use: string;
|
|
133
|
+
readonly validate: RuntimeStoreAdapterImplementation<T>["validate"];
|
|
134
|
+
readonly open: RuntimeStoreAdapterImplementation<T>["open"];
|
|
135
|
+
readonly doctor?: RuntimeStoreAdapterImplementation<T>["doctor"];
|
|
136
|
+
}): RuntimeAdapterHostFacet {
|
|
137
|
+
assert(options.use.trim().length > 0, "Runtime Adapter use name is empty");
|
|
138
|
+
const implementation = {
|
|
139
|
+
validate: options.validate,
|
|
140
|
+
open: options.open,
|
|
141
|
+
...(options.doctor === undefined ? {} : { doctor: options.doctor }),
|
|
142
|
+
};
|
|
143
|
+
return {
|
|
144
|
+
abi: abiFor(kind),
|
|
145
|
+
offers: [options.use],
|
|
146
|
+
implementation: verifyImplementation(implementation, `Runtime Adapter ${options.use}`, kind),
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export function createRuntimeEndpointAdapterFacet(options: {
|
|
151
|
+
readonly use: string;
|
|
152
|
+
readonly activate: RuntimeEndpointAdapterImplementation["activate"];
|
|
153
|
+
}): RuntimeAdapterHostFacet {
|
|
154
|
+
assert(options.use.trim().length > 0, "Runtime Adapter use name is empty");
|
|
155
|
+
return {
|
|
156
|
+
abi: runtimeEndpointAdapterHostAbi,
|
|
157
|
+
offers: [options.use],
|
|
158
|
+
implementation: verifyImplementation({ activate: options.activate }, `Runtime Adapter ${options.use}`, "endpoint"),
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export function createRuntimeCredentialStoreAdapterFacet(options: {
|
|
163
|
+
readonly use: string;
|
|
164
|
+
readonly validate: RuntimeStoreAdapterImplementation<CredentialStore>["validate"];
|
|
165
|
+
readonly open: RuntimeStoreAdapterImplementation<CredentialStore>["open"];
|
|
166
|
+
readonly doctor?: RuntimeStoreAdapterImplementation<CredentialStore>["doctor"];
|
|
167
|
+
}): RuntimeAdapterHostFacet {
|
|
168
|
+
return storeFacet("credential-store", options);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export function isRuntimeAdapterHostFacet(value: HostFacet): value is RuntimeAdapterHostFacet {
|
|
172
|
+
try {
|
|
173
|
+
const resolved = address(value as RuntimeAdapterHostFacet);
|
|
174
|
+
verifyImplementation(value.implementation, "Runtime Adapter", resolved.kind);
|
|
175
|
+
return true;
|
|
176
|
+
} catch {
|
|
177
|
+
return false;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export class RuntimeAdapterRegistry {
|
|
182
|
+
readonly #registrations = new Map<string, RuntimeAdapterImplementation>();
|
|
183
|
+
|
|
184
|
+
#key(use: string, kind: RuntimeAdapterKind): string {
|
|
185
|
+
return `${kind}\u0000${use}`;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
registerFacet(facet: HostFacet): void {
|
|
189
|
+
assert(isRuntimeAdapterHostFacet(facet), `Host facet ${facet.abi} is not a valid Runtime Adapter`);
|
|
190
|
+
const resolved = address(facet);
|
|
191
|
+
const key = this.#key(resolved.use, resolved.kind);
|
|
192
|
+
assert(!this.#registrations.has(key), `Runtime ${resolved.kind} Adapter ${resolved.use} is already registered`);
|
|
193
|
+
this.#registrations.set(key, facet.implementation);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
has(use: string, kind: RuntimeAdapterKind): boolean {
|
|
197
|
+
return this.#registrations.has(this.#key(use, kind));
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
async activateEndpoint(use: string, context: RuntimeAdapterFactoryContext): Promise<RuntimeEndpointActivation> {
|
|
201
|
+
const implementation = this.#registrations.get(this.#key(use, "endpoint")) as RuntimeEndpointAdapterImplementation | undefined;
|
|
202
|
+
assert(implementation !== undefined, `Runtime Endpoint adapter ${use} is not registered`);
|
|
203
|
+
const activation = await implementation.activate(context);
|
|
204
|
+
assert(activation.endpoint.instance.id === context.instance,
|
|
205
|
+
`Runtime Endpoint adapter ${use} created Endpoint ${activation.endpoint.instance.id} outside configured instance ${context.instance}`);
|
|
206
|
+
return activation;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
async createEndpoint(use: string, context: RuntimeAdapterFactoryContext): Promise<EndpointPackage> {
|
|
210
|
+
return (await this.activateEndpoint(use, context)).endpoint;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
async #openStore<T>(use: string, kind: "credential-store", context: RuntimeAdapterFactoryContext): Promise<RuntimeOpened<T>> {
|
|
214
|
+
const implementation = this.#registrations.get(this.#key(use, kind)) as RuntimeStoreAdapterImplementation<T> | undefined;
|
|
215
|
+
assert(implementation !== undefined, `Runtime ${kind} adapter ${use} is not registered`);
|
|
216
|
+
implementation.validate(context);
|
|
217
|
+
const opened = await implementation.open(context);
|
|
218
|
+
assert(opened.value !== null && typeof opened.value === "object", `Runtime ${kind} adapter ${use} returned no value`);
|
|
219
|
+
return opened;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
async openCredentialStore(use: string, context: RuntimeAdapterFactoryContext): Promise<RuntimeOpened<CredentialStore>> {
|
|
223
|
+
return await this.#openStore(use, "credential-store", context);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
validate(use: string, kind: Exclude<RuntimeAdapterKind, "endpoint">, context: RuntimeAdapterFactoryContext): readonly RuntimeDoctorDiagnostic[] {
|
|
227
|
+
const implementation = this.#registrations.get(this.#key(use, kind)) as RuntimeStoreAdapterImplementation<unknown> | undefined;
|
|
228
|
+
if (implementation === undefined) return [{
|
|
229
|
+
severity: "error", code: "RUNTIME_ADAPTER_MISSING", message: `Runtime Adapter ${use} is not registered`, subject: use,
|
|
230
|
+
}];
|
|
231
|
+
implementation.validate(context);
|
|
232
|
+
return [];
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
async doctor(use: string, kind: Exclude<RuntimeAdapterKind, "endpoint">, context: RuntimeAdapterFactoryContext): Promise<readonly RuntimeDoctorDiagnostic[]> {
|
|
236
|
+
const implementation = this.#registrations.get(this.#key(use, kind)) as RuntimeStoreAdapterImplementation<unknown> | undefined;
|
|
237
|
+
if (implementation === undefined) return [{
|
|
238
|
+
severity: "error", code: "RUNTIME_ADAPTER_MISSING", message: `Runtime Adapter ${use} is not registered`, subject: use,
|
|
239
|
+
}];
|
|
240
|
+
return implementation.doctor === undefined ? [] : await implementation.doctor(context);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export function runtimeConfigObject(value: CanonicalValue, subject: string): Record<string, CanonicalValue> {
|
|
245
|
+
assert(value !== null && typeof value === "object" && !Array.isArray(value), `${subject} config must be an object`);
|
|
246
|
+
return value as Record<string, CanonicalValue>;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export function runtimeConfigExact(value: Record<string, CanonicalValue>, allowed: readonly string[], subject: string): void {
|
|
250
|
+
const unknown = Object.keys(value).filter((key) => !allowed.includes(key));
|
|
251
|
+
assert(unknown.length === 0, `${subject} config does not accept ${unknown[0]}`);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export function runtimeConfigString(value: CanonicalValue | undefined, subject: string): string | undefined {
|
|
255
|
+
if (value === undefined) return undefined;
|
|
256
|
+
assert(typeof value === "string" && value.trim().length > 0, `${subject} must be a non-empty string`);
|
|
257
|
+
return value;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export function runtimeConfigPositiveInteger(value: CanonicalValue | undefined, subject: string): number | undefined {
|
|
261
|
+
if (value === undefined) return undefined;
|
|
262
|
+
assert(typeof value === "number" && Number.isSafeInteger(value) && value > 0, `${subject} must be a positive integer`);
|
|
263
|
+
return value;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export function runtimeConfigBoolean(value: CanonicalValue | undefined, subject: string): boolean | undefined {
|
|
267
|
+
if (value === undefined) return undefined;
|
|
268
|
+
assert(typeof value === "boolean", `${subject} must be a boolean`);
|
|
269
|
+
return value;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export function runtimeConfigCredentialRef(
|
|
273
|
+
value: CanonicalValue | undefined,
|
|
274
|
+
subject: string,
|
|
275
|
+
): CredentialRef | undefined {
|
|
276
|
+
if (value === undefined) return undefined;
|
|
277
|
+
const object = runtimeConfigObject(value, subject);
|
|
278
|
+
runtimeConfigExact(object, ["store", "key"], subject);
|
|
279
|
+
const store = runtimeConfigString(object.store, `${subject}.store`);
|
|
280
|
+
const key = runtimeConfigString(object.key, `${subject}.key`);
|
|
281
|
+
assert(store !== undefined && key !== undefined, `${subject} requires store and key`);
|
|
282
|
+
return credentialRef(store, key);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/** Common Profile representation for short action occupancy and rate budgets. */
|
|
286
|
+
export function runtimeConfigActionLimits(value: CanonicalValue | undefined): import("@hypit/endpoint-kit").EndpointActionLimits | undefined {
|
|
287
|
+
if (value === undefined) return undefined;
|
|
288
|
+
const actions = runtimeConfigObject(value, "actionLimits");
|
|
289
|
+
runtimeConfigExact(actions, endpointActions, "actionLimits");
|
|
290
|
+
return Object.fromEntries(Object.entries(actions).map(([action, raw]) => {
|
|
291
|
+
const limit = runtimeConfigObject(raw, `actionLimits.${action}`);
|
|
292
|
+
runtimeConfigExact(limit, ["concurrency", "rate"], `actionLimits.${action}`);
|
|
293
|
+
const concurrency = runtimeConfigPositiveInteger(limit.concurrency, `${action} concurrency`);
|
|
294
|
+
let rate: { limit: number; periodMs: number } | undefined;
|
|
295
|
+
if (limit.rate !== undefined) {
|
|
296
|
+
const item = runtimeConfigObject(limit.rate, `${action} rate`);
|
|
297
|
+
runtimeConfigExact(item, ["limit", "periodMs"], `${action} rate`);
|
|
298
|
+
const units = runtimeConfigPositiveInteger(item.limit, `${action} rate.limit`);
|
|
299
|
+
const periodMs = runtimeConfigPositiveInteger(item.periodMs, `${action} rate.periodMs`);
|
|
300
|
+
if (units === undefined || periodMs === undefined) throw new Error(`${action} rate requires limit and periodMs`);
|
|
301
|
+
rate = { limit: units, periodMs };
|
|
302
|
+
}
|
|
303
|
+
return [action, { ...(concurrency === undefined ? {} : { concurrency }), ...(rate === undefined ? {} : { rate }) }];
|
|
304
|
+
}));
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export { requestDeadline } from "./request-deadline.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** A deadline covers headers and body consumption even when a transport ignores abort. */
|
|
2
|
+
export function requestDeadline(timeoutMs: number, error: () => Error = () => new Error("Request timed out")) {
|
|
3
|
+
if (!Number.isSafeInteger(timeoutMs) || timeoutMs < 1) throw new Error("Request timeout must be a positive integer");
|
|
4
|
+
const controller = new AbortController();
|
|
5
|
+
let reject!: (reason: Error) => void;
|
|
6
|
+
const expired = new Promise<never>((_resolve, fail) => { reject = fail; });
|
|
7
|
+
const timer = setTimeout(() => {
|
|
8
|
+
const reason = error();
|
|
9
|
+
reject(reason);
|
|
10
|
+
controller.abort(reason);
|
|
11
|
+
}, timeoutMs);
|
|
12
|
+
return {
|
|
13
|
+
signal: controller.signal,
|
|
14
|
+
wait: async <T>(work: Promise<T>): Promise<T> => await Promise.race([work, expired]),
|
|
15
|
+
finish: (): void => clearTimeout(timer),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# `@hypit/runtime-local`
|
|
2
|
+
|
|
3
|
+
The default local Runtime for Hypit. It owns the Worker, scheduler and active SQLite execution
|
|
4
|
+
worklist. Project-owned Build Results hold finished public Outputs.
|
|
5
|
+
|
|
6
|
+
A Runtime Profile selects only the environmental parts that genuinely vary:
|
|
7
|
+
|
|
8
|
+
```json
|
|
9
|
+
{
|
|
10
|
+
"format": "hypit.runtime-local@1",
|
|
11
|
+
"dataRoot": ".hypit/runtimes/local",
|
|
12
|
+
"credentials": {
|
|
13
|
+
"env": { "use": "@hypit/credential-store-env" }
|
|
14
|
+
},
|
|
15
|
+
"endpoints": {},
|
|
16
|
+
"bindings": {}
|
|
17
|
+
}
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
The official video Distribution selects this Runtime implementation before it opens the file. The
|
|
21
|
+
Profile therefore describes only local execution and does not repeat a fake Runtime Host selector.
|
|
22
|
+
|
|
23
|
+
Providers declare everything they can do and never hide a capability. When two selected Endpoints
|
|
24
|
+
offer the same capability, `bindings` says which one serves it, keyed by the capability
|
|
25
|
+
(`name@version#capability`) and naming an Endpoint instance of this Profile:
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
"bindings": {
|
|
29
|
+
"@hypit/whisperx@1#whisperx-alignment": "whisperx.local"
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
A capability offered by exactly one Endpoint needs no binding. A contested capability without one is
|
|
34
|
+
reported by `doctor` and `plan` and blocks the Need at Build time; a binding to an Endpoint that does
|
|
35
|
+
not offer the capability is an error. `plan`, creation-time tools and the Build resolve Endpoints
|
|
36
|
+
through the same registry with the same bindings.
|
|
37
|
+
|
|
38
|
+
Disposable authoring clients may open one transient execution. It installs only immediate capabilities
|
|
39
|
+
whose Provider explicitly declares `transient: true`, keeps the same Profile bindings and resolves each
|
|
40
|
+
complete Need through its ordinary `supports` predicate. Pricing is informational and is never used as
|
|
41
|
+
an execution permission. The Runtime retains Endpoint handlers, credentials and Program readiness; the
|
|
42
|
+
client supplies its temporary Resources and receives no Endpoint registry. Declared concurrency is shared
|
|
43
|
+
inside that one disposable session only. A Provider that needs durable or cross-Build quota admission must
|
|
44
|
+
not opt that capability into transient execution.
|
|
45
|
+
|
|
46
|
+
A project that wants a non-default Result repository owns a separate `hypit.results.json`:
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"format": "hypit.build-results@1",
|
|
51
|
+
"use": "@hypit/build-result-s3",
|
|
52
|
+
"config": { "bucket": "team-results", "prefix": "projects/episode-12" }
|
|
53
|
+
}
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Submitting a Build stores it and returns. The Worker may advance unrelated Builds together; only the
|
|
57
|
+
resources declared by their Commands constrain execution. An Endpoint instance owns its capacity by
|
|
58
|
+
default. A Profile `pool` is only for instances that really share one account, deployment or compute
|
|
59
|
+
quota; exact-model limits may narrow it further. Build identity is not a capacity resource and creates
|
|
60
|
+
no second queue.
|
|
61
|
+
Claims may carry `units` (default 1): one render Need can occupy one request slot and four browser
|
|
62
|
+
slots at once. The same admission rule applies to total Provider capacity, exact models, and local
|
|
63
|
+
compute resources. SQLite retains the weighted reservation across Worker turns and restarts. This
|
|
64
|
+
coordinates Builds sharing this Runtime's Execution Store; it does not enforce a service's quotas
|
|
65
|
+
across other machines. Short-action limits are described below.
|
|
66
|
+
|
|
67
|
+
A failed request ends that Build's execution attempt. Runtime saves completed public Outputs and
|
|
68
|
+
non-secret Operation receipts with the failed Result, including any remote status still unknown.
|
|
69
|
+
It accepts results from calls already in progress before finalizing, without starting further work
|
|
70
|
+
or polling unfinished remote jobs.
|
|
71
|
+
It then releases local reservations. Submission timeouts with no receipt remain recorded failures;
|
|
72
|
+
a new Run and Build can request the remaining work. No original-Build reconciliation is required.
|
|
73
|
+
An explicit cancellation stops new work and makes one best-effort remote cancellation call when
|
|
74
|
+
supported; its acknowledgement is recorded separately from the local cancelled outcome.
|
|
75
|
+
|
|
76
|
+
`defaultConcurrency` and exact-model limits govern managed Need occupancy. Asynchronous Providers can
|
|
77
|
+
also expose `actionLimits` for `submit`, `poll` and `collect`; each action supports `concurrency` and
|
|
78
|
+
`rate: { limit, periodMs }`. These action budgets share the same Runtime store and real `pool` identity.
|
|
79
|
+
Rate permits replenish with time and are not returned when an action finishes. Rate counts admitted
|
|
80
|
+
actions, not every HTTP request a Provider may make inside one action. Cloud services own their actual
|
|
81
|
+
account-wide limits, including tasks submitted elsewhere or still running after a local failure.
|
|
82
|
+
|
|
83
|
+
The Worker yields to sockets and timers between graph reads. Resource waiters are awakened as capacity
|
|
84
|
+
becomes available; known Operations are polled from their own lightweight records. Graph hydration is
|
|
85
|
+
serialized, while network actions and local work remain concurrent under their declared limits.
|
|
86
|
+
|
|
87
|
+
HypiHub can be the explicitly selected gateway for users without their own service keys. A bound
|
|
88
|
+
Provider's authentication, quota or transport error never changes that selection. Separate Kie and
|
|
89
|
+
HypiHub accounts use separate pools even when they implement the same model.
|
|
90
|
+
|
|
91
|
+
Without `hypit.results.json`, the official video Distribution selects the filesystem adapter at the
|
|
92
|
+
project's `.hypit/results` directory, with no cloud account or service. Runtime Local opens that default
|
|
93
|
+
through the same adapter registry as an explicit `@hypit/build-result-s3` selection; it contains no
|
|
94
|
+
filesystem Repository shortcut.
|
|
95
|
+
Runtime working Resources remain internal and Build-local; there is no ResourceStore selector. After
|
|
96
|
+
a Result has an outcome, history is read from the selected repository, not Runtime SQLite.
|
|
97
|
+
|
|
98
|
+
Saving a finished Result is a separate, idempotent storage action. If that write is interrupted, the
|
|
99
|
+
Build keeps its already-decided outcome and reports exact operator attention. `hypit result finish
|
|
100
|
+
<build-id>` performs only that pending write and active-state cleanup; it does not run the execution
|
|
101
|
+
Worker, call a Producer or load Provider Endpoint packages. `hypit result discard <build-id>` is only
|
|
102
|
+
for a submission that never became active and therefore has no Result to save.
|
|
103
|
+
|
|
104
|
+
Source imports select author packages. Runtime Profile entries select only code allowed to access files,
|
|
105
|
+
credentials, processes or networks. Installing a package changes neither selection.
|
|
106
|
+
|
|
107
|
+
The lifecycle commands have deliberately narrow meanings:
|
|
108
|
+
|
|
109
|
+
- `hypit runtime init` writes and selects the Distribution's starter Profile; it performs no setup or
|
|
110
|
+
network access and never overwrites an existing Profile.
|
|
111
|
+
- `hypit runtime up` prepares selected local dependencies, starts declared local Programs and starts
|
|
112
|
+
the Worker. `hypit runtime down` stops the Worker; `hypit programs down` stops the Programs.
|
|
113
|
+
Remote services have no lifecycle for Hypit to start or stop.
|
|
114
|
+
- `hypit runtime logs` reads the Worker's output, including separately redirected standard errors
|
|
115
|
+
on Windows. The files are `worker.log` and `worker.err.log` under the Runtime data directory's
|
|
116
|
+
`worker/`. Separate error output is labeled `[stderr]`; the files do not establish an interleaved
|
|
117
|
+
event order. A failure before readiness also includes the recorded error in its startup message.
|
|
118
|
+
- `hypit doctor` is the active, read-only check. Endpoint-owned diagnostics may authenticate and read a
|
|
119
|
+
remote capability catalog; normal preflight never does.
|